Skip to content

Regression

simulation_modelica_algorithms_functions.WhenPriority.mos (from (result.xml))

Failing for the past 1 build (Since #3850 )
Took 22 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/WhenPriority.mos_temp25/log-WhenPriority.mos
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 2, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'algorithms_functions.WhenPriority', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: algorithms_functions.WhenPriority"
end SimulationResult;
"Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/WHENPR~2.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=algorithms_functions_WhenPriority -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 algorithms_functions.WhenPriority.o algorithms_functions.WhenPriority.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=algorithms_functions_WhenPriority -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 algorithms_functions.WhenPriority.o algorithms_functions.WhenPriority.c
1.C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/util/../meta/meta_modelica_data.h:216:2: current parser token 'define'
Exception Code: 0xC000001D
 #0 0x00007fff95ffb736 
 #1 0x00007ff830eae6d5 
 #2 0x00007ff830eaf6e1 
 #3 0x00007fff97fb8d08 
 #4 0x00007fff96427962 
 #5 0x00007ff8193d1f4c 
 #6 0x00007fff9d7f8be2 
 #7 0x00007fff9d950a17 
 #8 0x00007fff9d93ce21 
 #9 0x00007fff9d93468a 
#10 0x00007fff9ee9212a 
#11 0x00007fff9d951048 
#12 0x00007fff9eeeb292 
#13 0x00007fff9eebfefc 
#14 0x00007fff9ef47d6d 
#15 0x00007fff9ef635d1 
#16 0x00007fff9ef12943 
#17 0x00007fff9eed08a8 
#18 0x00007fff9f4d1d4e 
#19 0x00007fff9dd6d078 
#20 0x00007fff9de8f0c4 
#21 0x00007fff9eab247c 
#22 0x00007ff7e910f4a8 
#23 0x00007ff7e910fada 
#24 0x00007fff9d75ed4d 
#25 0x00007fff97e90154 
#26 0x00007fff9f89b954 
#27 0x00007fff9f8d8ab5 
#28 0x00007fff9f8d876f 
#29 0x00007fff9f00729b 
#30 0x00007ff7e910c1b8 
#31 0x00007ff7e9114eb9 
#32 0x00007ff7e91012ee 
#33 0x00007ff7e9101406 
#34 0x00007ff83263257d 
#35 0x00007ff83342af28 
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:/Users/OPENMO~1/AppData/Local/Temp/algorithms_functions-20a958.c
clang: note: diagnostic msg: C:/Users/OPENMO~1/AppData/Local/Temp/algorithms_functions-20a958.sh
clang: note: diagnostic msg: 

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


'' 
Equation mismatch: diff says: 
--- "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/WhenPriority.mos_temp25/equations-expected"2024-07-01 14:48:42.416464900 +0200
+++ "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/WhenPriority.mos_temp25/equations-got"2024-07-01 14:48:44.275464200 +0200
@@ -1,13 +1,74 @@
 true
 ""
 record SimulationResult
-resultFile = "algorithms_functions.WhenPriority_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 2, tolerance = 1e-05, method = 'dassl', fileNamePrefix = 'algorithms_functions.WhenPriority', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 2, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'algorithms_functions.WhenPriority', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: algorithms_functions.WhenPriority"
 end SimulationResult;
 "Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
+Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/WHENPR~2.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=algorithms_functions_WhenPriority -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 algorithms_functions.WhenPriority.o algorithms_functions.WhenPriority.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=algorithms_functions_WhenPriority -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 algorithms_functions.WhenPriority.o algorithms_functions.WhenPriority.c
+1. C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/util/../meta/meta_modelica_data.h:216:2: current parser token 'define'
+Exception Code: 0xC000001D
+#0 0x00007fff95ffb736 
+#1 0x00007ff830eae6d5 
+#2 0x00007ff830eaf6e1 
+#3 0x00007fff97fb8d08 
+#4 0x00007fff96427962 
+#5 0x00007ff8193d1f4c 
+#6 0x00007fff9d7f8be2 
+#7 0x00007fff9d950a17 
+#8 0x00007fff9d93ce21 
+#9 0x00007fff9d93468a 
+#10 0x00007fff9ee9212a 
+#11 0x00007fff9d951048 
+#12 0x00007fff9eeeb292 
+#13 0x00007fff9eebfefc 
+#14 0x00007fff9ef47d6d 
+#15 0x00007fff9ef635d1 
+#16 0x00007fff9ef12943 
+#17 0x00007fff9eed08a8 
+#18 0x00007fff9f4d1d4e 
+#19 0x00007fff9dd6d078 
+#20 0x00007fff9de8f0c4 
+#21 0x00007fff9eab247c 
+#22 0x00007ff7e910f4a8 
+#23 0x00007ff7e910fada 
+#24 0x00007fff9d75ed4d 
+#25 0x00007fff97e90154 
+#26 0x00007fff9f89b954 
+#27 0x00007fff9f8d8ab5 
+#28 0x00007fff9f8d876f 
+#29 0x00007fff9f00729b 
+#30 0x00007ff7e910c1b8 
+#31 0x00007ff7e9114eb9 
+#32 0x00007ff7e91012ee 
+#33 0x00007ff7e9101406 
+#34 0x00007ff83263257d 
+#35 0x00007ff83342af28 
+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:/Users/OPENMO~1/AppData/Local/Temp/algorithms_functions-20a958.c
+clang: note: diagnostic msg: C:/Users/OPENMO~1/AppData/Local/Temp/algorithms_functions-20a958.sh
+clang: note: diagnostic msg: 
+
+********************
+make: *** [<builtin>: algorithms_functions.WhenPriority.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/WHENPR~2.MOS'
+RESULT: 2
 "
-0.0
-1.0
+
+
'' 
Equation mismatch: omc-diff says: 
Failed 'a' '"'
Line 4: Text differs:
expected: resultFile = "algorithms_functions.WhenPriority_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/algorithms_functions/WhenPriority.mos_temp25, time: 22]