Skip to content

Regression

simulation_libraries_msl32.Modelica.Mechanics.Rotational.Examples.First.mos (from (result.xml))

Failing for the past 1 build (Since #3809 )
Took 9 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Modelica.Mechanics.Rotational.Examples.First                                      ... execution failed

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/libraries/msl32/Modelica.Mechanics.Rotational.Examples.First.mos_temp4667/log-Modelica.Mechanics.Rotational.Examples.First.mos
"true
"
""
OpenModelicaModelTesting.Kind.VerifiedSimulation
Modelica.Mechanics.Rotational.Examples.First
{"inertia3.phi","inertia3.w","damper.phi_rel","damper.w_rel","der(inertia3.phi)","der(inertia3.w)","der(damper.phi_rel)","der(damper.w_rel)"}
Simulation options: startTime = 0.0, stopTime = 1.0, numberOfIntervals = 1000, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Modelica.Mechanics.Rotational.Examples.First', options = '', outputFormat = 'mat', variableFilter = 'time|inertia3.phi|inertia3.w|damper.phi_rel|damper.w_rel|der[(]inertia3.phi[)]|der[(]inertia3.w[)]|der[(]damper.phi_rel[)]|der[(]damper.w_rel[)]', cflags = '', simflags = ' -abortSlowSimulation -alarm=360 -emit_protected'
Error: Simulation did not produce a result-file
Errors: Failed to build model: Modelica.Mechanics.Rotational.Examples.FirstError: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/msl32/MOB5E2~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=Modelica_Mechanics_Rotational_Examples_First -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Mechanics.Rotational.Examples.First.o Modelica.Mechanics.Rotational.Examples.First.c
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=Modelica_Mechanics_Rotational_Examples_First -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Mechanics.Rotational.Examples.First_functions.o Modelica.Mechanics.Rotational.Examples.First_functions.c
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=Modelica_Mechanics_Rotational_Examples_First -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Mechanics.Rotational.Examples.First_records.o Modelica.Mechanics.Rotational.Examples.First_records.c
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=Modelica_Mechanics_Rotational_Examples_First -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Mechanics.Rotational.Examples.First_01exo.o Modelica.Mechanics.Rotational.Examples.First_01exo.c
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=Modelica_Mechanics_Rotational_Examples_First -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Mechanics.Rotational.Examples.First_02nls.o Modelica.Mechanics.Rotational.Examples.First_02nls.c
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=Modelica_Mechanics_Rotational_Examples_First -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Mechanics.Rotational.Examples.First_03lsy.o Modelica.Mechanics.Rotational.Examples.First_03lsy.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=Modelica_Mechanics_Rotational_Examples_First -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Mechanics.Rotational.Examples.First_03lsy.o Modelica.Mechanics.Rotational.Examples.First_03lsy.c
1.C:/OMDevUCRT/tools/msys/ucrt64/include/winuser.h:983:2: current parser token 'undef'
Exception Code: 0xC000001D
 #0 0x00007ffb4909b736 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libLLVM-17.dll+0x1b736)
 #1 0x00007ffb89b3e6d5 (C:\Windows\System32\ucrtbase.dll+0x7e6d5)
 #2 0x00007ffb89b3f6e1 (C:\Windows\System32\ucrtbase.dll+0x7f6e1)
 #3 0x00007ffb4b058d08 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libLLVM-17.dll+0x1fd8d08)
 #4 0x00007ffb4a93fa56 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libLLVM-17.dll+0x18bfa56)
 #5 0x00007ffb5201924f (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e9924f)
 #6 0x00007ffb52854dc3 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x26d4dc3)
 #7 0x00007ffb5285547b (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x26d547b)
 #8 0x00007ffb5032f33a (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1af33a)
 #9 0x00007ffb509db2bd (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x85b2bd)
#10 0x00007ffb509d4697 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x854697)
#11 0x00007ffb51f3212a (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1db212a)
#12 0x00007ffb509f1048 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x871048)
#13 0x00007ffb51f8b292 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e0b292)
#14 0x00007ffb51f5fefc (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1ddfefc)
#15 0x00007ffb51fa2388 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e22388)
#16 0x00007ffb51f66e3c (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1de6e3c)
#17 0x00007ffb51fb2249 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e32249)
#18 0x00007ffb51f708a8 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1df08a8)
#19 0x00007ffb52571d4e (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x23f1d4e)
#20 0x00007ffb50e0d078 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0xc8d078)
#21 0x00007ffb50f2f0c4 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0xdaf0c4)
#22 0x00007ffb51b5247c (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x19d247c)
#23 0x00007ff710d2f4a8 (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0xf4a8)
#24 0x00007ff710d2fada (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0xfada)
#25 0x00007ffb507fed4d (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x67ed4d)
#26 0x00007ffb4af30154 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libLLVM-17.dll+0x1eb0154)
#27 0x00007ffb5293b954 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x27bb954)
#28 0x00007ffb52978ab5 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x27f8ab5)
#29 0x00007ffb5297876f (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x27f876f)
#30 0x00007ffb520a729b (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1f2729b)
#31 0x00007ff710d2c1b8 (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0xc1b8)
#32 0x00007ff710d34eb9 (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0x14eb9)
#33 0x00007ff710d212ee (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0x12ee)
#34 0x00007ff710d21406 (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0x1406)
#35 0x00007ffb8b30257d (C:\Windows\System32\KERNEL32.DLL+0x1257d)
#36 0x00007ffb8c50af28 (C:\Windows\SYSTEM32\ntdll.dll+0x5af28)
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/Modelica-591f1e.c
clang: note: diagnostic msg: C:/Windows/TEMP/Modelica-591f1e.sh
clang: note: diagnostic msg: 

********************
make: *** [<builtin>: Modelica.Mechanics.Rotational.Examples.First_03lsy.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/msl32/MOB5E2~1.MOS'
RESULT: 2


== 1 out of 1 tests failed [simulation/libraries/msl32/Modelica.Mechanics.Rotational.Examples.First.mos_temp4667, time: 9]