Skip to content

Regression

openmodelica_cppruntime.recordTupleReturnTest.mos (from (result.xml))

Failing for the past 1 build (Since #3812 )
Took 24 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + recordTupleReturnTest                                                             ... equation mismatch [time: 12]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/recordTupleReturnTest.mos_temp7805/log-recordTupleReturnTest.mos
true
true
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'RecordTupleReturn.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: RecordTupleReturn.Test"
end SimulationResult;


"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/RECORD~2.MOS'
clang++  -fopenmp=libomp  -Winvalid-pch -O3 -DNDEBUG  -std=c++11 -DBOOST_ALL_DYN_LINK   -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_PUGI_XML -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/\" -I.  -I\"C:/OMDevUCRT/tools/msys/ucrt64/include/\" -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/sundials\"     -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER  -c -o OMCppRecordTupleReturn.TestCalcHelperMain.o OMCppRecordTupleReturn.TestCalcHelperMain.cpp
clang++ -fopenmp=libomp -shared -o OMCppRecordTupleReturn.Test.dll OMCppRecordTupleReturn.TestCalcHelperMain.o    -lOMCppSystem -lOMCppModelicaUtilities -lOMCppDataExchange -lOMCppMath -lOMCppExtensionUtilities -lOMCppOMCFactory -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\"    -Wl,-rpath,\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\"  -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin\" -lboost_filesystem-mt -lboost_system-mt -lboost_serialization-mt -lboost_program_options-mt   -LC:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin -lopenblas -lz -lhdf5 
clang++ -fopenmp=libomp  -Winvalid-pch -O3 -DNDEBUG  -std=c++11 -DBOOST_ALL_DYN_LINK   -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_PUGI_XML -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/\" -I.  -I\"C:/OMDevUCRT/tools/msys/ucrt64/include/\" -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/sundials\"     -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -I. -o RecordTupleReturn.Test.exe OMCppRecordTupleReturn.TestMain.cpp -lOMCppOMCFactory -lOMCppModelicaUtilities -lOMCppExtensionUtilities -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\" -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin\" -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin\" -lboost_filesystem-mt -lboost_system-mt -lboost_serialization-mt -lboost_program_options-mt     -Wl,-rpath,\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\"  -lwsock32 -lws2_32 
C:/OMDevUCRT/tools/msys/ucrt64/bin/ld: i386 architecture of input file `RecordTupleReturn_Test_exe_rtr000123.o' is incompatible with i386:x86-64 output
C:/OMDevUCRT/tools/msys/ucrt64/bin/ld: i386 architecture of input file `RecordTupleReturn_Test_exe_rtr000124.o' is incompatible with i386:x86-64 output
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [RecordTupleReturn.Test.makefile:84: RecordTupleReturn.Test] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/RECORD~2.MOS'
RESULT: 2
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/recordTupleReturnTest.mos_temp7805/equations-expected"2024-06-13 15:34:12.747870000 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/recordTupleReturnTest.mos_temp7805/equations-got"2024-06-13 15:34:24.596524200 +0200
@@ -1,12 +1,22 @@
 true
 true
 true
 ""
 record SimulationResult
-resultFile = "RecordTupleReturn.Test_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'RecordTupleReturn.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = ""
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'RecordTupleReturn.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: RecordTupleReturn.Test"
 end SimulationResult;
-2.0
-3.0
-""
+
+
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/RECORD~2.MOS'
+clang++ -fopenmp=libomp  -Winvalid-pch -O3 -DNDEBUG  -std=c++11 -DBOOST_ALL_DYN_LINK   -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_PUGI_XML -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/\" -I.  -I\"C:/OMDevUCRT/tools/msys/ucrt64/include/\" -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/sundials\"     -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER  -c -o OMCppRecordTupleReturn.TestCalcHelperMain.o OMCppRecordTupleReturn.TestCalcHelperMain.cpp
+clang++ -fopenmp=libomp -shared -o OMCppRecordTupleReturn.Test.dll OMCppRecordTupleReturn.TestCalcHelperMain.o    -lOMCppSystem -lOMCppModelicaUtilities -lOMCppDataExchange -lOMCppMath -lOMCppExtensionUtilities -lOMCppOMCFactory -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\"    -Wl,-rpath,\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\"  -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin\" -lboost_filesystem-mt -lboost_system-mt -lboost_serialization-mt -lboost_program_options-mt   -LC:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin -lopenblas -lz -lhdf5 
+clang++ -fopenmp=libomp  -Winvalid-pch -O3 -DNDEBUG  -std=c++11 -DBOOST_ALL_DYN_LINK   -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_PUGI_XML -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/\" -I.  -I\"C:/OMDevUCRT/tools/msys/ucrt64/include/\" -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/sundials\"     -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -I. -o RecordTupleReturn.Test.exe OMCppRecordTupleReturn.TestMain.cpp -lOMCppOMCFactory -lOMCppModelicaUtilities -lOMCppExtensionUtilities -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\" -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin\" -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin\" -lboost_filesystem-mt -lboost_system-mt -lboost_serialization-mt -lboost_program_options-mt     -Wl,-rpath,\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\"  -lwsock32 -lws2_32 
+C:/OMDevUCRT/tools/msys/ucrt64/bin/ld: i386 architecture of input file `RecordTupleReturn_Test_exe_rtr000123.o' is incompatible with i386:x86-64 output
+C:/OMDevUCRT/tools/msys/ucrt64/bin/ld: i386 architecture of input file `RecordTupleReturn_Test_exe_rtr000124.o' is incompatible with i386:x86-64 output
+clang++: error: linker command failed with exit code 1 (use -v to see invocation)
+make: *** [RecordTupleReturn.Test.makefile:84: RecordTupleReturn.Test] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/RECORD~2.MOS'
+RESULT: 2
+"
'' 
Equation mismatch: omc-diff says: 
Failed 'R' '"'
Line 6: Text differs:
expected: resultFile = "RecordTupleReturn.Test_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cppruntime/recordTupleReturnTest.mos_temp7805, time: 24]