Skip to content

Regression

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + clockedSolverTest                                                                 ... equation mismatch [time: 2]

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






"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/CL8D8D~1.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 OMCppSolverMethodCalcHelperMain.o OMCppSolverMethodCalcHelperMain.cpp
LLVM ERROR: out of memory
Allocation failed
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang++.exe -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. -IC:\\\\dev\\\\jenkins\\\\ws\\\\Windows\\\\OM_Win\\\\build/include/omc/cpp/ -I. -IC:/OMDevUCRT/tools/msys/ucrt64/include/ -I. -IC:\\\\dev\\\\jenkins\\\\ws\\\\Windows\\\\OM_Win\\\\build/include/omc/cpp/sundials -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppSolverMethodCalcHelperMain.o OMCppSolverMethodCalcHelperMain.cpp
1.C:/OMDevUCRT/tools/msys/ucrt64/include/boost/lambda/detail/member_ptr.hpp:167:26: current parser token ','
2.C:/OMDevUCRT/tools/msys/ucrt64/include/boost/lambda/detail/member_ptr.hpp:17:1: parsing namespace 'boost'
3.C:/OMDevUCRT/tools/msys/ucrt64/include/boost/lambda/detail/member_ptr.hpp:18:1: parsing namespace 'boost::lambda'
4.C:/OMDevUCRT/tools/msys/ucrt64/include/boost/lambda/detail/member_ptr.hpp:24:1: parsing namespace 'boost::lambda::detail'
Exception Code: 0xC000001D
0x00007FFB4909B736 <unknown module>
0x00007FFB89B3E6D5 <unknown module>
0x0000000000000003 <unknown module>
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 17.0.6
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin
clang++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:/Windows/TEMP/OMCppSolverMethodCalcHelperMain-ccb1bc.cpp
clang++: note: diagnostic msg: C:/Windows/TEMP/OMCppSolverMethodCalcHelperMain-ccb1bc.sh
clang++: note: diagnostic msg: 

********************
make: *** [<builtin>: OMCppSolverMethodCalcHelperMain.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/CL8D8D~1.MOS'
RESULT: 2
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/clockedSolverTest.mos_temp1329/equations-expected"2024-06-13 15:32:47.351462000 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/clockedSolverTest.mos_temp1329/equations-got"2024-06-13 15:32:49.875747600 +0200
@@ -1,15 +1,48 @@
 true
 true
 ""
 record SimulationResult
-resultFile = "SolverMethod_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-006, method = 'dassl', fileNamePrefix = 'SolverMethod', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = ""
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'SolverMethod', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: SolverMethod"
 end SimulationResult;
-0.0
-1.120803833007813
-0.9988845212685719
-0.0
-0.09336471557617204
--0.0007381858367627922
-""
+
+
+
+
+
+
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/CL8D8D~1.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 OMCppSolverMethodCalcHelperMain.o OMCppSolverMethodCalcHelperMain.cpp
+LLVM ERROR: out of memory
+Allocation failed
+PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
+Stack dump:
+0. Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang++.exe -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. -IC:\\\\dev\\\\jenkins\\\\ws\\\\Windows\\\\OM_Win\\\\build/include/omc/cpp/ -I. -IC:/OMDevUCRT/tools/msys/ucrt64/include/ -I. -IC:\\\\dev\\\\jenkins\\\\ws\\\\Windows\\\\OM_Win\\\\build/include/omc/cpp/sundials -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppSolverMethodCalcHelperMain.o OMCppSolverMethodCalcHelperMain.cpp
+1. C:/OMDevUCRT/tools/msys/ucrt64/include/boost/lambda/detail/member_ptr.hpp:167:26: current parser token ','
+2. C:/OMDevUCRT/tools/msys/ucrt64/include/boost/lambda/detail/member_ptr.hpp:17:1: parsing namespace 'boost'
+3. C:/OMDevUCRT/tools/msys/ucrt64/include/boost/lambda/detail/member_ptr.hpp:18:1: parsing namespace 'boost::lambda'
+4. C:/OMDevUCRT/tools/msys/ucrt64/include/boost/lambda/detail/member_ptr.hpp:24:1: parsing namespace 'boost::lambda::detail'
+Exception Code: 0xC000001D
+0x00007FFB4909B736 <unknown module>
+0x00007FFB89B3E6D5 <unknown module>
+0x0000000000000003 <unknown module>
+clang++: error: clang frontend command failed due to signal (use -v to see invocation)
+clang version 17.0.6
+Target: x86_64-w64-windows-gnu
+Thread model: posix
+InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin
+clang++: note: diagnostic msg: 
+********************
+
+PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
+Preprocessed source(s) and associated run script(s) are located at:
+clang++: note: diagnostic msg: C:/Windows/TEMP/OMCppSolverMethodCalcHelperMain-ccb1bc.cpp
+clang++: note: diagnostic msg: C:/Windows/TEMP/OMCppSolverMethodCalcHelperMain-ccb1bc.sh
+clang++: note: diagnostic msg: 
+
+********************
+make: *** [<builtin>: OMCppSolverMethodCalcHelperMain.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/CL8D8D~1.MOS'
+RESULT: 2
+"
'' 
Equation mismatch: omc-diff says: 
Failed 'S' '"'
Line 5: Text differs:
expected: resultFile = "SolverMethod_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cppruntime/clockedSolverTest.mos_temp1329, time: 17]