Skip to content

Regression

openmodelica_cppruntime_libraries_msl32.Modelica.StateGraph.Examples.FirstExample.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Modelica.StateGraph.Examples.FirstExample                                         ... equation mismatch [time: 5]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/libraries/msl32/Modelica.StateGraph.Examples.FirstExample.mos_temp1257/log-Modelica.StateGraph.Examples.FirstExample.mos
true
""
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Modelica.StateGraph.Examples.FirstExample', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: Modelica.StateGraph.Examples.FirstExample"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/LIBRAR~1/msl32/MO0F7D~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 OMCppModelica.StateGraph.Examples.FirstExampleCalcHelperMain.o OMCppModelica.StateGraph.Examples.FirstExampleCalcHelperMain.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 OMCppModelica.StateGraph.Examples.FirstExampleCalcHelperMain.o OMCppModelica.StateGraph.Examples.FirstExampleCalcHelperMain.cpp
1.C:/OMDevUCRT/tools/msys/ucrt64/include/c++/13.2.0/x86_64-w64-mingw32/bits/ctype_base.h:56:29: current parser token '='
2.C:/OMDevUCRT/tools/msys/ucrt64/include/c++/13.2.0/x86_64-w64-mingw32/bits/ctype_base.h:37:1: parsing namespace 'std'
3.C:/OMDevUCRT/tools/msys/ucrt64/include/c++/13.2.0/x86_64-w64-mingw32/bits/ctype_base.h:42:3: parsing struct/union/class body 'std::ctype_base'
Exception Code: 0xC000001D
#0 0x00007ffb4909b736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
#1 0x00007ffb89b3e6d5 (C:\\Windows\\System32\\ucrtbase.dll+0x7e6d5)
#2 0x000000dd00000003 
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/OMCppModelica-ee1531.cpp
clang++: note: diagnostic msg: C:/Windows/TEMP/OMCppModelica-ee1531.sh
clang++: note: diagnostic msg: 

********************
make: *** [<builtin>: OMCppModelica.StateGraph.Examples.FirstExampleCalcHelperMain.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/LIBRAR~1/msl32/MO0F7D~1.MOS'
RESULT: 2
"
"Error in compareSimulationResults"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/libraries/msl32/Modelica.StateGraph.Examples.FirstExample.mos_temp1257/equations-expected"2024-06-13 15:19:41.179510900 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/libraries/msl32/Modelica.StateGraph.Examples.FirstExample.mos_temp1257/equations-got"2024-06-13 15:19:46.274429300 +0200
@@ -3,11 +3,43 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "Modelica.StateGraph.Examples.FirstExample_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 500, tolerance = 0.000001, method = 'dassl', fileNamePrefix = 'Modelica.StateGraph.Examples.FirstExample', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = ""
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Modelica.StateGraph.Examples.FirstExample', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: Modelica.StateGraph.Examples.FirstExample"
 end SimulationResult;
-""
-{"Files Equal!"}
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/LIBRAR~1/msl32/MO0F7D~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 OMCppModelica.StateGraph.Examples.FirstExampleCalcHelperMain.o OMCppModelica.StateGraph.Examples.FirstExampleCalcHelperMain.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 OMCppModelica.StateGraph.Examples.FirstExampleCalcHelperMain.o OMCppModelica.StateGraph.Examples.FirstExampleCalcHelperMain.cpp
+1. C:/OMDevUCRT/tools/msys/ucrt64/include/c++/13.2.0/x86_64-w64-mingw32/bits/ctype_base.h:56:29: current parser token '='
+2. C:/OMDevUCRT/tools/msys/ucrt64/include/c++/13.2.0/x86_64-w64-mingw32/bits/ctype_base.h:37:1: parsing namespace 'std'
+3. C:/OMDevUCRT/tools/msys/ucrt64/include/c++/13.2.0/x86_64-w64-mingw32/bits/ctype_base.h:42:3: parsing struct/union/class body 'std::ctype_base'
+Exception Code: 0xC000001D
+#0 0x00007ffb4909b736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
+#1 0x00007ffb89b3e6d5 (C:\\Windows\\System32\\ucrtbase.dll+0x7e6d5)
+#2 0x000000dd00000003 
+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/OMCppModelica-ee1531.cpp
+clang++: note: diagnostic msg: C:/Windows/TEMP/OMCppModelica-ee1531.sh
+clang++: note: diagnostic msg: 
+
+********************
+make: *** [<builtin>: OMCppModelica.StateGraph.Examples.FirstExampleCalcHelperMain.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/LIBRAR~1/msl32/MO0F7D~1.MOS'
+RESULT: 2
+"
+"Error in compareSimulationResults"
'' 
Equation mismatch: omc-diff says: 
Failed 'M' '"'
Line 8: Text differs:
expected: resultFile = "Modelica.StateGraph.Examples.FirstExample_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cppruntime/libraries/msl32/Modelica.StateGraph.Examples.FirstExample.mos_temp1257, time: 18]