Skip to content

Regression

simulation_modelica_others.TestSolve15.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/others/TestSolve15.mos_temp8750/log-TestSolve15.mos
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'ModelTestSolve15', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_NLS_V'",
    messages = "Failed to build model: ModelTestSolve15"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/others/TE0D58~1.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelTestSolve15 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o ModelTestSolve15.o ModelTestSolve15.c
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 -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelTestSolve15 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelTestSolve15.o ModelTestSolve15.c
1.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/xmmintrin.h:2256:38: current parser token '('
2.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/xmmintrin.h:2255:1: parsing function body '_mm_max_pu8'
3.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/xmmintrin.h:2255:1: in compound statement ('{}')
Exception Code: 0xC000001D
#0 0x00007ff9fe97b736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
#1 0x00007ffa8954e695 (C:\\Windows\\System32\\ucrtbase.dll+0x7e695)
#2 0x00007ffa8954f6a1 (C:\\Windows\\System32\\ucrtbase.dll+0x7f6a1)
#3 0x00007ffa00938d08 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1fd8d08)
#4 0x0000000000000003 
#5 0x0000000000000003 
#6 0x00007ffa895d0e10 (C:\\Windows\\System32\\ucrtbase.dll+0x100e10)
#7 0x00007ffa8952fc87 (C:\\Windows\\System32\\ucrtbase.dll+0x5fc87)
#8 0x00007ff9feda7962 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x447962)
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/ModelTestSolve15-f0bf72.c
clang: note: diagnostic msg: C:/Windows/TEMP/ModelTestSolve15-f0bf72.sh
clang: note: diagnostic msg: 

********************
make: *** [<builtin>: ModelTestSolve15.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/others/TE0D58~1.MOS'
RESULT: 2
"





'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/others/TestSolve15.mos_temp8750/equations-expected"2024-05-08 15:10:29.473935700 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/others/TestSolve15.mos_temp8750/equations-got"2024-05-08 15:10:31.141935500 +0200
@@ -1,19 +1,51 @@
 true
 ""
 record SimulationResult
-resultFile = "ModelTestSolve15_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'ModelTestSolve15', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_NLS_V'",
-messages = "LOG_NLS           | info    | initialize non-linear system solvers
-|                 | |       | | 0 non-linear systems
-LOG_NLS           | info    | update static data of non-linear system solvers
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-LOG_NLS           | info    | free non-linear system solvers
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'ModelTestSolve15', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_NLS_V'",
+messages = "Failed to build model: ModelTestSolve15"
 end SimulationResult;
-""
--1.085543757874853
-1.151917842006256
-1.284025416687741
-2.849653908226362
--4.812245717390759
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/others/TE0D58~1.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelTestSolve15 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o ModelTestSolve15.o ModelTestSolve15.c
+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 -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelTestSolve15 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelTestSolve15.o ModelTestSolve15.c
+1. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/xmmintrin.h:2256:38: current parser token '('
+2. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/xmmintrin.h:2255:1: parsing function body '_mm_max_pu8'
+3. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/xmmintrin.h:2255:1: in compound statement ('{}')
+Exception Code: 0xC000001D
+#0 0x00007ff9fe97b736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
+#1 0x00007ffa8954e695 (C:\\Windows\\System32\\ucrtbase.dll+0x7e695)
+#2 0x00007ffa8954f6a1 (C:\\Windows\\System32\\ucrtbase.dll+0x7f6a1)
+#3 0x00007ffa00938d08 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1fd8d08)
+#4 0x0000000000000003 
+#5 0x0000000000000003 
+#6 0x00007ffa895d0e10 (C:\\Windows\\System32\\ucrtbase.dll+0x100e10)
+#7 0x00007ffa8952fc87 (C:\\Windows\\System32\\ucrtbase.dll+0x5fc87)
+#8 0x00007ff9feda7962 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x447962)
+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/ModelTestSolve15-f0bf72.c
+clang: note: diagnostic msg: C:/Windows/TEMP/ModelTestSolve15-f0bf72.sh
+clang: note: diagnostic msg: 
+
+********************
+make: *** [<builtin>: ModelTestSolve15.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/others/TE0D58~1.MOS'
+RESULT: 2
+"
+
+
+
+
+
'' 
Equation mismatch: omc-diff says: 
Failed 'M' '"'
Line 4: Text differs:
expected: resultFile = "ModelTestSolve
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/others/TestSolve15.mos_temp8750, time: 24]