Failed
openmodelica_bootstrapping.ExpressionTest.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ SimplifyOperator ... equation mismatch [time: 24] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/bootstrapping/ExpressionTest.mos_temp3012/log-ExpressionTest.mos " " "" true "" true "Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/BOOTST~1/EXPRES~2.MOS' clang -g -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse \"-IC:/dev/jenkins/ws/Windows/OM_Win/OMCompiler/Compiler/Util/\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -c -o ExpressionTest_test.o ExpressionTest_test.c ExpressionTest_test.c:16224:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16224 | omc_File_File_destructor(threadData,_file); | ^ ExpressionTest_test.c:16224:3: note: did you mean 'omc_File_File_constructor'? ./ExpressionTest_test.h:1972:18: note: 'omc_File_File_constructor' declared here 1972 | modelica_complex omc_File_File_constructor(threadData_t *threadData, modelica_metatype _fromID); | ^ ExpressionTest_test.c:16477:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16477 | omc_File_File_destructor(threadData,_file); | ^ ExpressionTest_test.c:18347:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18347 | omc_File_File_destructor(threadData,_file); | ^ ExpressionTest_test.c:19500:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19500 | omc_File_File_destructor(threadData,_file); | ^ ExpressionTest_test.c:43752:3: error: call to undeclared function 'omc_System_StringAllocator_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43752 | omc_System_StringAllocator_destructor(threadData,_sb); | ^ ExpressionTest_test.c:43752:3: note: did you mean 'omc_System_StringAllocator_constructor'? ./ExpressionTest_test.h:3459:18: note: 'omc_System_StringAllocator_constructor' declared here 3459 | modelica_complex omc_System_StringAllocator_constructor(threadData_t *threadData, modelica_integer _sz); | ^ ExpressionTest_test.c:86144:16: warning: absolute value function 'labs' given an argument of type 'modelica_integer' (aka 'long long') but has parameter of type 'long' which may cause truncation of value [-Wabsolute-value] 86144 | _i = labs(_i); | ^ ExpressionTest_test.c:86144:16: note: use function 'llabs' instead 86144 | _i = labs(_i); | ^~~~ | llabs 1 warning and 5 errors generated. make: *** [ExpressionTest_test.makefile:25: ExpressionTest_test] Error 1 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/BOOTST~1/EXPRES~2.MOS' RESULT: 2 " '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/bootstrapping/ExpressionTest.mos_temp3012/equations-expected"2024-04-28 16:36:53.336559700 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/bootstrapping/ExpressionTest.mos_temp3012/equations-got"2024-04-28 16:37:17.145560900 +0200 @@ -2,32 +2,43 @@ " "" true "" true -1.0 * x == x -x * 1.0 == x -0.0 / x == 0.0 -x * 1.0 == x -x + (-y) == x - y -(-y) + x == x - y -x - (-y) == x + y -x + (-y) * z == x - y * z -x + (-y) / z == x - y / z -(-y) * z + x == x - y * z -(-y) / z + x == x - y / z -0.0 / 0.0 == 0.0 / 0.0 -x / 1.0 == x -x - (-y) * z == x + y * z -x - (-y) / z == x + y / z -x ^ 1.0 == x -x ^ 0.0 == 1.0 -0.0 ^ 0.0 == 1.0 -0.0 ^ x == 0.0 ^ x -(-x) ^ 4.0 == x ^ 4.0 -(x / y) ^ (-z) == (y / x) ^ z -(x / y) ^ (-7.0) == (y / x) ^ 7.0 -(-1.0) * x + (-x) * 1.0 + 0.0 + x / 1.0 + (x / y) ^ (-7.0) == (-1.0) * x + (-x) * 1.0 + 0.0 / x + x / 1.0 + (x / y) ^ (-7.0) -(-1.0) * x + (-x) * 1.0 + 0.0 + x / 1.0 + (x / y) ^ (-7.0) == (-1.0) * x + (-x) * 1.0 + 0.0 / x + x / 1.0 + (x / y) ^ (-7.0) -(-1.0) * x * (-x) * 1.0 * 0.0 / x * x / 1.0 * (x / y) ^ (-7.0) == (-1.0) * x * (-x) * 1.0 * 0.0 / x * x / 1.0 * (x / y) ^ (-7.0) -"" +"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/BOOTST~1/EXPRES~2.MOS' +clang -g -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse \"-IC:/dev/jenkins/ws/Windows/OM_Win/OMCompiler/Compiler/Util/\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -c -o ExpressionTest_test.o ExpressionTest_test.c +ExpressionTest_test.c:16224:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +16224 | omc_File_File_destructor(threadData,_file); +| ^ +ExpressionTest_test.c:16224:3: note: did you mean 'omc_File_File_constructor'? +./ExpressionTest_test.h:1972:18: note: 'omc_File_File_constructor' declared here +1972 | modelica_complex omc_File_File_constructor(threadData_t *threadData, modelica_metatype _fromID); +| ^ +ExpressionTest_test.c:16477:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +16477 | omc_File_File_destructor(threadData,_file); +| ^ +ExpressionTest_test.c:18347:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +18347 | omc_File_File_destructor(threadData,_file); +| ^ +ExpressionTest_test.c:19500:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +19500 | omc_File_File_destructor(threadData,_file); +| ^ +ExpressionTest_test.c:43752:3: error: call to undeclared function 'omc_System_StringAllocator_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +43752 | omc_System_StringAllocator_destructor(threadData,_sb); +| ^ +ExpressionTest_test.c:43752:3: note: did you mean 'omc_System_StringAllocator_constructor'? +./ExpressionTest_test.h:3459:18: note: 'omc_System_StringAllocator_constructor' declared here +3459 | modelica_complex omc_System_StringAllocator_constructor(threadData_t *threadData, modelica_integer _sz); +| ^ +ExpressionTest_test.c:86144:16: warning: absolute value function 'labs' given an argument of type 'modelica_integer' (aka 'long long') but has parameter of type 'long' which may cause truncation of value [-Wabsolute-value] +86144 | _i = labs(_i); +| ^ +ExpressionTest_test.c:86144:16: note: use function 'llabs' instead +86144 | _i = labs(_i); +| ^~~~ +| llabs +1 warning and 5 errors generated. +make: *** [ExpressionTest_test.makefile:25: ExpressionTest_test] Error 1 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/BOOTST~1/EXPRES~2.MOS' +RESULT: 2 +" '' Equation mismatch: omc-diff says: Line 7: Lexical token differs: expected: 1.0 got: == 1 out of 1 tests failed [openmodelica/bootstrapping/ExpressionTest.mos_temp3012, time: 24]