Skip to content

Failed

tests / 05 testsuite-clang 2/3 / openmodelica_bootstrapping.ExpressionTest.mos (from (result.xml))

Failing for the past 1 build (Since #8 )
Took 38 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + SimplifyOperator                                                                  ... equation mismatch [time: 38]

==== Log /tmp/omc-rtest-omtmpuser/openmodelica/bootstrapping/ExpressionTest.mos_temp995/log-ExpressionTest.mos
"
"
""
true
""
true

"Error: Error building simulator. Build log: clang -g -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality   \"-I/var/lib/jenkins2/ws/OpenModelica_PR-12404/OMCompiler/Compiler/Util/\" -I\"/var/lib/jenkins2/ws/OpenModelica_PR-12404/build/bin/../include/omc/c\" -I\"/var/lib/jenkins2/ws/OpenModelica_PR-12404/build/bin/../include/omc\"  -c -o ExpressionTest_test.o ExpressionTest_test.c
/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:17537:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 17537 |   omc_File_File_destructor(threadData,_file);
       |   ^
/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:17537: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);
      |                  ^
/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:17824:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 17824 |   omc_File_File_destructor(threadData,_file);
       |   ^
/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:20020:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 20020 |   omc_File_File_destructor(threadData,_file);
       |   ^
/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:21337:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 21337 |   omc_File_File_destructor(threadData,_file);
       |   ^
/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:48477:3: error: call to undeclared function 'omc_System_StringAllocator_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 48477 |   omc_System_StringAllocator_destructor(threadData,_sb);
       |   ^
/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:48477: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);
      |                  ^
5 errors generated.
make: *** [ExpressionTest_test.makefile:25: ExpressionTest_test] Error 1
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/openmodelica/bootstrapping/ExpressionTest.mos_temp995/equations-expected2024-06-15 01:57:11.417784465 +0000
+++ /tmp/omc-rtest-omtmpuser/openmodelica/bootstrapping/ExpressionTest.mos_temp995/equations-got2024-06-15 01:57:49.118623801 +0000
@@ -2,32 +2,33 @@
 "
 ""
 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: clang -g -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality   \"-I/var/lib/jenkins2/ws/OpenModelica_PR-12404/OMCompiler/Compiler/Util/\" -I\"/var/lib/jenkins2/ws/OpenModelica_PR-12404/build/bin/../include/omc/c\" -I\"/var/lib/jenkins2/ws/OpenModelica_PR-12404/build/bin/../include/omc\"  -c -o ExpressionTest_test.o ExpressionTest_test.c
+/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:17537:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
+17537 |   omc_File_File_destructor(threadData,_file);
+| ^
+/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:17537: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);
+| ^
+/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:17824:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
+17824 |   omc_File_File_destructor(threadData,_file);
+| ^
+/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:20020:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
+20020 |   omc_File_File_destructor(threadData,_file);
+| ^
+/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:21337:3: error: call to undeclared function 'omc_File_File_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
+21337 |   omc_File_File_destructor(threadData,_file);
+| ^
+/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:48477:3: error: call to undeclared function 'omc_System_StringAllocator_destructor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
+48477 |   omc_System_StringAllocator_destructor(threadData,_sb);
+| ^
+/var/lib/jenkins2/ws/OpenModelica_PR-12404/testsuite/openmodelica/bootstrapping/ExpressionTest.mos_temp995/ExpressionTest_test.c:48477: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);
+| ^
+5 errors generated.
+make: *** [ExpressionTest_test.makefile:25: ExpressionTest_test] Error 1
+"

Equation mismatch: omc-diff says:
Line 7: Lexical token differs:
expected: 1.0
got:      


== 1 out of 1 tests failed [openmodelica/bootstrapping/ExpressionTest.mos_temp995, time: 38]