Failedsimulation_modelica_external_functions.ModelicaUtilities.mos
(from (result.xml))
Failing for the past 3,440 builds
(Since
#7821
)
StacktraceOutput mismatch (see stdout for details) Standard Output + ModelicaUtilities ... equation mismatch [time: 16]
==== Log /tmp/omc-rtest-adrpo33/simulation/modelica/external_functions/ModelicaUtilities.mos_temp5096/log-ModelicaUtilities.mos
true
0
true
"Error: Error building simulator. Build log: gcc -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" -c -o ModelicaUtilities_myExtFunction.o ModelicaUtilities_myExtFunction.c
ModelicaUtilities_myExtFunction.c: In function 'in_ModelicaUtilities_myExtFunction':
ModelicaUtilities_myExtFunction.c:26:37: warning: passing argument 2 of 'read_modelica_string' from incompatible pointer type [-Wincompatible-pointer-types]
if (read_modelica_string(&inArgs, (char**) &_str)) return 1;
^
In file included from C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c/util/modelica.h:62:0,
from ModelicaUtilities_myExtFunction.h:4,
from ModelicaUtilities_myExtFunction.c:2:
C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c/util/read_write.h:65:12: note: expected 'void **' but argument is of type 'char **'
extern int read_modelica_string(type_description **descptr, modelica_string *str);
^
gcc -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" -c -o ModelicaUtilities_myExtFunction_records.o ModelicaUtilities_myExtFunction_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o ModelicaUtilities_myExtFunction.dll ModelicaUtilities_myExtFunction.o ModelicaUtilities_myExtFunction_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/ModelicaUtilities" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/simulation/modelica/external_functions/ModelicaUtilities.mos_temp5096/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/simulation/modelica/external_functions/ModelicaUtilities.mos_temp5096/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/simulation/modelica/external_functions/ModelicaUtilities.mos_temp5096/Resources/Library" ModelicaUtilities.myExtFunction.c -lModelicaExternalC -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" -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' -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
ModelicaUtilities.myExtFunction.c:1:0: warning: -fPIC ignored for target (all code is position independent)
#ifdef __cplusplus
^
C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc/libOpenModelicaRuntimeC.a(omc_gc.o):omc_gc.c:(.rdata$.refptr.omc_assert_warning[.refptr.omc_assert_warning]+0x0): undefined reference to `omc_assert_warning'
C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc/libOpenModelicaRuntimeC.a(base_array.o):base_array.c:(.rdata$.refptr.omc_assert[.refptr.omc_assert]+0x0): undefined reference to `omc_assert'
collect2.exe: error: ld returned 1 exit status
ModelicaUtilities_myExtFunction.makefile:20: recipe for target 'ModelicaUtilities_myExtFunction' failed
make: *** [ModelicaUtilities_myExtFunction] Error 1
RESULT: 2
"
"Error: Error building simulator. Build log: gcc -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" -c -o ModelicaUtilities_myExtFunctionError.o ModelicaUtilities_myExtFunctionError.c
ModelicaUtilities_myExtFunctionError.c: In function 'in_ModelicaUtilities_myExtFunctionError':
ModelicaUtilities_myExtFunctionError.c:26:37: warning: passing argument 2 of 'read_modelica_string' from incompatible pointer type [-Wincompatible-pointer-types]
if (read_modelica_string(&inArgs, (char**) &_str)) return 1;
^
In file included from C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c/util/modelica.h:62:0,
from ModelicaUtilities_myExtFunctionError.h:4,
from ModelicaUtilities_myExtFunctionError.c:2:
C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c/util/read_write.h:65:12: note: expected 'void **' but argument is of type 'char **'
extern int read_modelica_string(type_description **descptr, modelica_string *str);
^
gcc -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" -c -o ModelicaUtilities_myExtFunctionError_records.o ModelicaUtilities_myExtFunctionError_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o ModelicaUtilities_myExtFunctionError.dll ModelicaUtilities_myExtFunctionError.o ModelicaUtilities_myExtFunctionError_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/ModelicaUtilities" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/simulation/modelica/external_functions/ModelicaUtilities.mos_temp5096/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/simulation/modelica/external_functions/ModelicaUtilities.mos_temp5096/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/simulation/modelica/external_functions/ModelicaUtilities.mos_temp5096/Resources/Library" ModelicaUtilities.myExtFunction.c -lModelicaExternalC -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" -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' -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
ModelicaUtilities.myExtFunction.c:1:0: warning: -fPIC ignored for target (all code is position independent)
#ifdef __cplusplus
^
C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc/libOpenModelicaRuntimeC.a(omc_gc.o):omc_gc.c:(.rdata$.refptr.omc_assert_warning[.refptr.omc_assert_warning]+0x0): undefined reference to `omc_assert_warning'
C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc/libOpenModelicaRuntimeC.a(base_array.o):base_array.c:(.rdata$.refptr.omc_assert[.refptr.omc_assert]+0x0): undefined reference to `omc_assert'
collect2.exe: error: ld returned 1 exit status
ModelicaUtilities_myExtFunctionError.makefile:20: recipe for target 'ModelicaUtilities_myExtFunctionError' failed
make: *** [ModelicaUtilities_myExtFunctionError] Error 1
RESULT: 2
"
record SimulationResult
resultFile = "ModelicaUtilities_res.mat",
simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-006, method = 'dassl', fileNamePrefix = 'ModelicaUtilities', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
messages = "stdout | info | abc
stdout | info | was normal - this is formatted abc
LOG_SUCCESS | info | The initialization finished successfully without homotopy method.
LOG_SUCCESS | info | The simulation finished successfully.
"
end SimulationResult;
Equation mismatch: diff says:
--- /tmp/omc-rtest-adrpo33/simulation/modelica/external_functions/ModelicaUtilities.mos_temp5096/equations-expected2019-05-06 21:19:05.021685000 +0200
+++ /tmp/omc-rtest-adrpo33/simulation/modelica/external_functions/ModelicaUtilities.mos_temp5096/equations-got2019-05-06 21:19:21.643700400 +0200
@@ -1,17 +1,59 @@
true
0
true
-"OK
+
+"Error: Error building simulator. Build log: gcc -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" -c -o ModelicaUtilities_myExtFunction.o ModelicaUtilities_myExtFunction.c
+ModelicaUtilities_myExtFunction.c: In function 'in_ModelicaUtilities_myExtFunction':
+ModelicaUtilities_myExtFunction.c:26:37: warning: passing argument 2 of 'read_modelica_string' from incompatible pointer type [-Wincompatible-pointer-types]
+if (read_modelica_string(&inArgs, (char**) &_str)) return 1;
+^
+In file included from C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c/util/modelica.h:62:0,
+from ModelicaUtilities_myExtFunction.h:4,
+from ModelicaUtilities_myExtFunction.c:2:
+C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c/util/read_write.h:65:12: note: expected 'void **' but argument is of type 'char **'
+extern int read_modelica_string(type_description **descptr, modelica_string *str);
+^
+gcc -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" -c -o ModelicaUtilities_myExtFunction_records.o ModelicaUtilities_myExtFunction_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o ModelicaUtilities_myExtFunction.dll ModelicaUtilities_myExtFunction.o ModelicaUtilities_myExtFunction_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/ModelicaUtilities" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/simulation/modelica/external_functions/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/simulation/modelica/external_functions/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/simulation/modelica/external_functions/Resources/Library" ModelicaUtilities.myExtFunction.c -lModelicaExternalC -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" -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' -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
+ModelicaUtilities.myExtFunction.c:1:0: warning: -fPIC ignored for target (all code is position independent)
+#ifdef __cplusplus
+^
+C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc/libOpenModelicaRuntimeC.a(omc_gc.o):omc_gc.c:(.rdata$.refptr.omc_assert_warning[.refptr.omc_assert_warning]+0x0): undefined reference to `omc_assert_warning'
+C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc/libOpenModelicaRuntimeC.a(base_array.o):base_array.c:(.rdata$.refptr.omc_assert[.refptr.omc_assert]+0x0): undefined reference to `omc_assert'
+collect2.exe: error: ld returned 1 exit status
+ModelicaUtilities_myExtFunction.makefile:20: recipe for target 'ModelicaUtilities_myExtFunction' failed
+make: *** [ModelicaUtilities_myExtFunction] Error 1
+RESULT: 2
"
-""
-fail()
-"Error: this is formatted error abc 123
+
+"Error: Error building simulator. Build log: gcc -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" -c -o ModelicaUtilities_myExtFunctionError.o ModelicaUtilities_myExtFunctionError.c
+ModelicaUtilities_myExtFunctionError.c: In function 'in_ModelicaUtilities_myExtFunctionError':
+ModelicaUtilities_myExtFunctionError.c:26:37: warning: passing argument 2 of 'read_modelica_string' from incompatible pointer type [-Wincompatible-pointer-types]
+if (read_modelica_string(&inArgs, (char**) &_str)) return 1;
+^
+In file included from C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c/util/modelica.h:62:0,
+from ModelicaUtilities_myExtFunctionError.h:4,
+from ModelicaUtilities_myExtFunctionError.c:2:
+C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c/util/read_write.h:65:12: note: expected 'void **' but argument is of type 'char **'
+extern int read_modelica_string(type_description **descptr, modelica_string *str);
+^
+gcc -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" -c -o ModelicaUtilities_myExtFunctionError_records.o ModelicaUtilities_myExtFunctionError_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o ModelicaUtilities_myExtFunctionError.dll ModelicaUtilities_myExtFunctionError.o ModelicaUtilities_myExtFunctionError_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/ModelicaUtilities" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/simulation/modelica/external_functions/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/simulation/modelica/external_functions/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/simulation/modelica/external_functions/Resources/Library" ModelicaUtilities.myExtFunction.c -lModelicaExternalC -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c" -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' -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
+ModelicaUtilities.myExtFunction.c:1:0: warning: -fPIC ignored for target (all code is position independent)
+#ifdef __cplusplus
+^
+C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc/libOpenModelicaRuntimeC.a(omc_gc.o):omc_gc.c:(.rdata$.refptr.omc_assert_warning[.refptr.omc_assert_warning]+0x0): undefined reference to `omc_assert_warning'
+C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc/libOpenModelicaRuntimeC.a(base_array.o):base_array.c:(.rdata$.refptr.omc_assert[.refptr.omc_assert]+0x0): undefined reference to `omc_assert'
+collect2.exe: error: ld returned 1 exit status
+ModelicaUtilities_myExtFunctionError.makefile:20: recipe for target 'ModelicaUtilities_myExtFunctionError' failed
+make: *** [ModelicaUtilities_myExtFunctionError] Error 1
+RESULT: 2
"
record SimulationResult
resultFile = "ModelicaUtilities_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'ModelicaUtilities', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-006, method = 'dassl', fileNamePrefix = 'ModelicaUtilities', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
messages = "stdout | info | abc
stdout | info | was normal - this is formatted abc
LOG_SUCCESS | info | The initialization finished successfully without homotopy method.
LOG_SUCCESS | info | The simulation finished successfully.
"
Equation mismatch: omc-diff says:
Line 4: Lexical token differs:
expected: "OK
got:
== 1 out of 1 tests failed [simulation/modelica/external_functions/ModelicaUtilities.mos_temp5096, time: 17]
|