Hudson logo

Failed

openmodelica_bootstrapping.SimplifyTest.mos (from (result.xml))

Failing for the past 3,443 builds (Since #7821 )

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + SimplifyTest                                                                      ... equation mismatch [time: 42]

==== Log /tmp/omc-rtest-adrpo33/openmodelica/bootstrapping/SimplifyTest.mos_temp2790/log-SimplifyTest.mos
"
"
""
true
""
true

"Error: Error building simulator. Build log: gcc -g -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse   -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" "-IC:/dev/hudson/workspace/OM_Win/OM/OMCompiler/Compiler/Util/" -c -o SimplifyTest_test.o SimplifyTest_test.c
SimplifyTest_test.c: In function 'omc_Tpl_stringFile':
SimplifyTest_test.c:15796:3: warning: implicit declaration of function 'omc_File_File_destructor' [-Wimplicit-function-declaration]
   omc_File_File_destructor(threadData,_file);
   ^
SimplifyTest_test.c: In function 'omc_Absyn_pathStringWork':
SimplifyTest_test.c:40181:3: warning: implicit declaration of function 'omc_System_StringAllocator_destructor' [-Wimplicit-function-declaration]
   omc_System_StringAllocator_destructor(threadData,_sb);
   ^
gcc -g -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse   -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" "-IC:/dev/hudson/workspace/OM_Win/OM/OMCompiler/Compiler/Util/" -c -o SimplifyTest_test_records.o SimplifyTest_test_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o SimplifyTest_test.dll SimplifyTest_test.o SimplifyTest_test_records.o "-LC:/dev/hudson/workspace/OM_Win/OM/build/lib//omc" "-LC:/dev/hudson/workspace/OM_Win/OM/build/lib/" "-L%APPDATA%/.openmodelica/binaries/ErrorExt" "-LC:/dev/hudson/workspace/OM_Win/OM/OMCompiler/Compiler/Util/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/OMCompiler/Compiler/Util/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/OMCompiler/Compiler/Util/Resources/Library" -lomcruntime -lintl -liconv -lexpat -lsqlite3 -llpsolve55 -ltre -lomniORB420_rt -lomnithread40_rt -lws2_32 -lRpcrt4 -lregex "-L%APPDATA%/.openmodelica/binaries/System" "-L%APPDATA%/.openmodelica/binaries/Print" -g -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse   -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" "-IC:/dev/hudson/workspace/OM_Win/OM/OMCompiler/Compiler/Util/" -L"C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc" -Wl,--stack,16777216,-rpath,'C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc'  -lOpenModelicaCompiler -fopenmp -Wl,-Bstatic -lregex -ltre -lintl -liconv -lexpat -lomcgc -lpthread -loleaut32 -limagehlp -lhdf5 -lz -lszip -Wl,-Bdynamic  -lOpenModelicaRuntimeC -Wl,-Bstatic -lomcgc -lregex -ltre -lintl -liconv -lexpat -static-libgcc -luuid -loleaut32 -lole32 -limagehlp -lws2_32 -llis -lumfpack -lklu -lcolamd -lbtf -lamd  -lsundials_idas -lsundials_kinsol -lsundials_nvecserial -lipopt -lcoinmumps -lpthread -lm -lgfortranbegin -lgfortran -lquadmath -lmingw32 -lgcc_eh -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lopenblas -lcminpack -Wl,-Bdynamic -lm
C:/OMDev/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../lib\libregex.a(systre.o):(.text+0x0): multiple definition of `regcomp'
C:/OMDev/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../lib/libregex.dll.a(d000001.o):(.text+0x0): first defined here
C:/OMDev/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../lib\libregex.a(systre.o):(.text+0x10): multiple definition of `regfree'
C:/OMDev/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../lib/libregex.dll.a(d000004.o):(.text+0x0): first defined here
C:/OMDev/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../lib\libregex.a(systre.o):(.text+0x30): multiple definition of `regexec'
C:/OMDev/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../lib/libregex.dll.a(d000003.o):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
SimplifyTest_test.makefile:20: recipe for target 'SimplifyTest_test' failed
make: *** [SimplifyTest_test] Error 1
RESULT: 2
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-adrpo33/openmodelica/bootstrapping/SimplifyTest.mos_temp2790/equations-expected2019-05-07 12:53:10.696923800 +0200
+++ /tmp/omc-rtest-adrpo33/openmodelica/bootstrapping/SimplifyTest.mos_temp2790/equations-got2019-05-07 12:53:52.689509700 +0200
@@ -2,181 +2,28 @@
 "
 ""
 true
 ""
 true
-simplify(1) = 1
-simplify(2) = 2
-simplify(3) = 3
-simplify(1 + 2) = 3
-simplify(1.0) = 1.0
-simplify(x) = x
-simplify(x * 1.0) = x
-simplify(1.0 * x) = x
-simplify(x * 1.0 + 1.0 * x) = 2.0 * x
-simplify((x * 1.0 + 1.0 * x) * x) = 2.0 * x ^ 2.0
-simplify(1.0 + 1.0) = 2.0
-simplify(1.0 + 1.0 + 1.0) = 3.0
-simplify(1.0 + 1.0 + 1.0 + 1.0) = 4.0
-simplify(1.0 + 1.0 + 1.0 + 1.0 + 1.0) = 5.0
-simplify(x * x) = x ^ 2.0
-simplify(x * x * 1.0) = x ^ 2.0
-simplify(x * 1.0 + 1.0 * x + 1.0 + 1.0 + 1.0 + 1.0 + 1.0 + x * 1.0 + 1.0 * x + x * x * 1.0 + (x * 1.0 + 1.0 * x) * x + 1.0 + 1.0 + 1.0) = 2.0 * x + 5.0 + 2.0 * x + x ^ 2.0 + 2.0 * x ^ 2.0 + 3.0
-simplify((-x) / y - x / z) = (-x) * (1.0 / y + 1.0 / z)
-simplify(x * y + x * z) = x * (y + z)
-simplify(x * y + z * x) = x * (y + z)
-simplify(y * x + z * x) = x * (y + z)
-simplify(y * x + x * z) = x * (y + z)
-simplify(y ^ x * z ^ x) = (y * z) ^ x
-simplify(x ^ y * x ^ z) = x ^ (y + z)
-simplify(x ^ y / x ^ z) = x ^ (y - z)
-simplify(y / x + z / x) = (y + z) / x
-simplify(y * x + z * x) = x * (y + z)
-simplify(y * x - z * x) = (y - z) * x
-simplify(y / x - z / x) = (y - z) / x
-simplify(x * y - x / z) = (y - 1.0 / z) * x
-simplify(x * y + x / z) = (y + 1.0 / z) * x
-simplify(x / y - x * z) = (1.0 / y - z) * x
-simplify(x / y + x * z) = (1.0 / y + z) * x
-simplify(x * z + y * z) = z * (x + y)
-simplify(x * z - y * z) = (x - y) * z
-simplify(x / z + y / z) = (x + y) / z
-simplify(x / z - y / z) = (x - y) / z
-simplify(y / x * z - w / x) = (y * z - w) / x
-simplify(y / x * z + w / x) = (y * z + w) / x
-simplify(y * x * z - w * x) = (y * z - w) * x
-simplify(y * x * z + w * x) = (y * z + w) * x
-simplify(y * x * z + w * x * v) = (y * z + w * v) * x
-simplify(y * x * z - w * x * v) = (y * z - w * v) * x
-simplify(y / x * z + w / x * v) = (y * z + w * v) / x
-simplify(y / x * z - w / x * v) = (y * z - w * v) / x
-simplify(y * x - z * x * w) = (y - z * w) * x
-simplify(y * x + z * x * w) = (y + z * w) * x
-simplify(y / x - z / x * w) = (y - z * w) / x
-simplify(y / x + z / x * w) = (y + z * w) / x
-simplify(x * y - x * z) = x * (y - z)
-simplify(x * y - z * y) = (x - z) * y
-simplify(y * x * z - w * x) = (y * z - w) * x
-simplify(y * x * z + w * x) = (y * z + w) * x
-simplify(y * x / z - w * x) = x * (y / z - w)
-simplify(y * x / z + w * x) = x * (y / z + w)
-simplify(y * x * z - x * w) = x * (y * z - w)
-simplify(y * x * z + x * w) = x * (y * z + w)
-simplify(y * x / z - x * w) = x * (y / z - w)
-simplify(y * x / z + x * w) = x * (y / z + w)
-simplify(y * x * z - w * x) = x * (y * z - w)
-simplify(y * x * z + w * x) = x * (y * z + w)
-simplify(y * x / z - w * x) = x * (y / z - w)
-simplify(y * x / z + w * x) = x * (y / z + w)
-simplify(y * x * z - x * w) = x * (y * z - w)
-simplify(y * x * z + x * w) = x * (y * z + w)
-simplify(y * x / z - x * w) = x * (y / z - w)
-simplify(y * x / z + x * w) = x * (y / z + w)
-simplify(y * x * z - w * x * v) = x * (y * z - w * v)
-simplify(y * x * z + w * x * v) = x * (y * z + w * v)
-simplify(y * x * z + w * x * v) = x * (y * z + w * v)
-simplify(y * x / z - w * x * v) = x * (y / z - w * v)
-simplify(y * x / z + w * x * v) = x * (y / z + w * v)
-simplify(y * x * z - w * x / v) = x * (y * z - w / v)
-simplify(y * x * z + w * x / v) = x * (y * z + w / v)
-simplify(y * x / z - w * x / v) = x * (y / z - w / v)
-simplify(y * x / z + w * x / v) = x * (y / z + w / v)
-simplify(y * x - z * x * w) = x * (y - z * w)
-simplify(y * x + z * x * w) = x * (y + z * w)
-simplify(y * x - z * x / w) = x * (y - z / w)
-simplify(y * x + z * x / w) = x * (y + z / w)
-simplify(x / y ^ (-z)) = x * y ^ z
-simplify((y * x + z) / x) = y + z / x
-simplify((y * x - z) / x) = y - z / x
-simplify((y + z * x) / x) = y / x + z
-simplify((y - z * x) / x) = y / x - z
-simplify(abs(x) * abs(y)) = abs(x * y)
-simplify(abs(x) / abs(y)) = abs(x / y)
-simplify(y / exp(x)) = y * exp(-x)
-simplify(exp(x) * exp(y)) = exp(x + y)
-simplify(exp(x) / exp(y)) = exp(x - y)
-simplify(x - x) = 0.0
-simplify(x + x) = 2.0 * x
-simplify(x * x) = x ^ 2.0
-simplify(x / x) = 1.0
-simplify(0.0 / 0.0) = 0.0 / 0.0
-simplify(sqrt(x) * x) = x ^ 1.5
-simplify(x / sqrt(x)) = sqrt(x)
-simplify(x / abs(x)) = sign(x)
-simplify(abs(x) / x) = sign(x)
-simplify(x / abs(x) * abs(x) / x) = sign(x) ^ 2.0
-simplify(sin(x) * cos(x)) = 0.5 * sin(2.0 * x)
-simplify(sin(x) * cos(x)) = 0.5 * sin(2.0 * x)
-simplify(sin(x) ^ 2.0 + cos(x) ^ 2.0) = 1.0
-simplify(cos(x) ^ 2.0 + sin(x) ^ 2.0) = 1.0
-simplify(cos(x) * tan(x)) = sin(x)
-simplify(tan(x) * cos(x)) = sin(x)
-simplify(cosh(x) ^ 2.0 + (-sinh(x) ^ 2.0)) = 1.0
-simplify((-sinh(x) ^ 2.0) + cosh(x) ^ 2.0) = 1.0
-simplify(cos(x) * tan(x)) = sin(x)
-simplify(tan(x) * cos(x)) = sin(x)
-simplify(x + (-y)) = x - y
-simplify((-y) + x) = x - y
-simplify(x + (-y) * z) = x - y * z
-simplify(x + (-y) / z) = x - y / z
-simplify(x * y * x) = y * x ^ 2.0
-simplify(x * x * y) = y * x ^ 2.0
-simplify(y + x * y) = y * (1.0 + x)
-simplify(y + y * x) = y * (1.0 + x)
-simplify(x * y + y) = y * (1.0 + x)
-simplify(y * x + y) = y * (1.0 + x)
-simplify(x * x ^ y) = x ^ (1.0 + y)
-simplify(x ^ y * x) = x ^ (1.0 + y)
-simplify(x * sqrt(x)) = x ^ 1.5
-simplify(sqrt(x) * x) = x ^ 1.5
-simplify((y * z * x + w) / x) = y * z + w / x
-simplify((y * z * x - w) / x) = y * z - w / x
-simplify(x - (-y) * z) = x + y * z
-simplify(x - (-y) / z) = x + y / z
-simplify((-x) * (x - z)) = x * (z - x)
-simplify((-x) / (x - z)) = x / (z - x)
-simplify((-x) ^ 2.0) = x ^ 2.0
-simplify(sqrt(x) ^ 2.0) = x
-simplify(sqrt(x) ^ y) = x ^ (0.5 * y)
-simplify(x / x ^ y) = x ^ (1.0 - y)
-simplify(log(1.0 / x) + log(x)) = 0.0
-simplify(log(1.0 / x)) = -log(x)
-simplify(log(sqrt(x))) = 0.5 * log(x)
-simplify(log(1.0 / x) - log(x) + 4.0 * log(sqrt(x))) = (-log(x)) - log(x) + 2.0 * log(x)
-simplify(exp(log(x) * y)) = x ^ y
-simplify(exp(z * log(x) * y)) = x ^ (y * z)
-simplify(exp(log(x) / y)) = x ^ (1.0 / y)
-simplify(exp(z * log(x) * y) * exp(log(x) * y)) = x ^ (y * (1.0 + z))
-simplify(exp(z * log(x) * y / w)) = x ^ (y * z / w)
-simplify(exp(z * log(x) * y) * exp(log(x) * y) * exp(z * log(x) * y / w)) = x ^ (y * (1.0 + z) + y * z / w)
-simplify(exp(z * (-log(x) * y) / w)) = x ^ ((-y) * z / w)
-simplify(exp(z * (-log(x) * y) / w) ^ exp(z * (-log(x) * y) / w)) = x ^ ((-y) * z / w * x ^ ((-y) * z / w))
-simplify(if abs(x) <= 0.0 then x else y) = if abs(x) <= 0.0 then x else y
-simplify(if 0.0 < abs(x) then x else y) = if 0.0 < abs(x) then x else y
-simplify(if abs(x) >= 0.0 then x else y) = x
-simplify(if 0.0 > abs(x) then x else y) = y
-simplify(if exp(x) + abs(x) <= 0.0 then x else y) = if exp(x) + abs(x) <= 0.0 then x else y
-simplify(if 0.0 < exp(x) + abs(x) then x else y) = if 0.0 < exp(x) + abs(x) then x else y
-simplify(if exp(x) + abs(x) >= 0.0 then x else y) = x
-simplify(if 0.0 > exp(x) + abs(x) then x else y) = y
-simplify(if exp(x) <= abs(x) then x else y) = if exp(x) <= abs(x) then x else y
-simplify(if abs(x) < exp(x) then x else y) = if abs(x) < exp(x) then x else y
-simplify(if abs(x) >= exp(x) then x else y) = if abs(x) >= exp(x) then x else y
-simplify(if abs(x) > exp(x) then x else y) = if abs(x) > exp(x) then x else y
-simplify(if (-y) + abs(x) <= 0.0 then x else y) = if abs(x) - y <= 0.0 then x else y
-simplify(if 0.0 < (-y) + abs(x) then x else y) = if 0.0 < abs(x) - y then x else y
-simplify(if (-y) + abs(x) >= 0.0 then x else y) = if abs(x) - y >= 0.0 then x else y
-simplify(if 0.0 > (-y) + abs(x) then x else y) = if 0.0 > abs(x) - y then x else y
-simplify(if x + 1.0 <= x then x else y) = if x + 1.0 <= x then x else y
-simplify(if x < x + 1.0 then x else y) = if x < x + 1.0 then x else y
-simplify(if x + 1.0 >= x then x else y) = x
-simplify(if x > x + 1.0 then x else y) = y
-simplify(if (-exp(x)) * abs(x) * cosh(x) <= 0.0 then x else y) = x
-simplify(if 0.0 < (-exp(x)) * abs(x) * cosh(x) then x else y) = y
-simplify(if (-exp(x)) * abs(x) * cosh(x) >= 0.0 then x else y) = if (-exp(x)) * abs(x) * cosh(x) >= 0.0 then x else y
-simplify(if 0.0 > (-exp(x)) * abs(x) * cosh(x) then x else y) = if 0.0 > (-exp(x)) * abs(x) * cosh(x) then x else y
-simplify(if 0.0 <= (-exp(x)) * abs(x) * cosh(x) then x else y) = if 0.0 <= (-exp(x)) * abs(x) * cosh(x) then x else y
-simplify(if (-exp(x)) * abs(x) * cosh(x) < 0.0 then x else y) = if (-exp(x)) * abs(x) * cosh(x) < 0.0 then x else y
-simplify(if 0.0 >= (-exp(x)) * abs(x) * cosh(x) then x else y) = x
-simplify(if (-exp(x)) * abs(x) * cosh(x) > 0.0 then x else y) = y
 
-""
+"Error: Error building simulator. Build log: gcc -g -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse   -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" "-IC:/dev/hudson/workspace/OM_Win/OM/OMCompiler/Compiler/Util/" -c -o SimplifyTest_test.o SimplifyTest_test.c
+SimplifyTest_test.c: In function 'omc_Tpl_stringFile':
+SimplifyTest_test.c:15796:3: warning: implicit declaration of function 'omc_File_File_destructor' [-Wimplicit-function-declaration]
+omc_File_File_destructor(threadData,_file);
+^
+SimplifyTest_test.c: In function 'omc_Absyn_pathStringWork':
+SimplifyTest_test.c:40181:3: warning: implicit declaration of function 'omc_System_StringAllocator_destructor' [-Wimplicit-function-declaration]
+omc_System_StringAllocator_destructor(threadData,_sb);
+^
+gcc -g -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse   -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" "-IC:/dev/hudson/workspace/OM_Win/OM/OMCompiler/Compiler/Util/" -c -o SimplifyTest_test_records.o SimplifyTest_test_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o SimplifyTest_test.dll SimplifyTest_test.o SimplifyTest_test_records.o "-LC:/dev/hudson/workspace/OM_Win/OM/build/lib//omc" "-LC:/dev/hudson/workspace/OM_Win/OM/build/lib/" "-L%APPDATA%/.openmodelica/binaries/ErrorExt" "-LC:/dev/hudson/workspace/OM_Win/OM/OMCompiler/Compiler/Util/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/OMCompiler/Compiler/Util/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/OMCompiler/Compiler/Util/Resources/Library" -lomcruntime -lintl -liconv -lexpat -lsqlite3 -llpsolve55 -ltre -lomniORB420_rt -lomnithread40_rt -lws2_32 -lRpcrt4 -lregex "-L%APPDATA%/.openmodelica/binaries/System" "-L%APPDATA%/.openmodelica/binaries/Print" -g -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse   -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" "-IC:/dev/hudson/workspace/OM_Win/OM/OMCompiler/Compiler/Util/" -L"C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc" -Wl,--stack,16777216,-rpath,'C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc'  -lOpenModelicaCompiler -fopenmp -Wl,-Bstatic -lregex -ltre -lintl -liconv -lexpat -lomcgc -lpthread -loleaut32 -limagehlp -lhdf5 -lz -lszip -Wl,-Bdynamic  -lOpenModelicaRuntimeC -Wl,-Bstatic -lomcgc -lregex -ltre -lintl -liconv -lexpat -static-libgcc -luuid -loleaut32 -lole32 -limagehlp -lws2_32 -llis -lumfpack -lklu -lcolamd -lbtf -lamd  -lsundials_idas -lsundials_kinsol -lsundials_nvecserial -lipopt -lcoinmumps -lpthread -lm -lgfortranbegin -lgfortran -lquadmath -lmingw32 -lgcc_eh -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lopenblas -lcminpack -Wl,-Bdynamic -lm
+C:/OMDev/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../lib\libregex.a(systre.o):(.text+0x0): multiple definition of `regcomp'
+C:/OMDev/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../lib/libregex.dll.a(d000001.o):(.text+0x0): first defined here
+C:/OMDev/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../lib\libregex.a(systre.o):(.text+0x10): multiple definition of `regfree'
+C:/OMDev/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../lib/libregex.dll.a(d000004.o):(.text+0x0): first defined here
+C:/OMDev/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../lib\libregex.a(systre.o):(.text+0x30): multiple definition of `regexec'
+C:/OMDev/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../lib/libregex.dll.a(d000003.o):(.text+0x0): first defined here
+collect2.exe: error: ld returned 1 exit status
+SimplifyTest_test.makefile:20: recipe for target 'SimplifyTest_test' failed
+make: *** [SimplifyTest_test] Error 1
+RESULT: 2
+"

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


== 1 out of 1 tests failed [openmodelica/bootstrapping/SimplifyTest.mos_temp2790, time: 43]

Powered by Hudson Open Source Continuous Integration Server from the Eclipse Foundation