Failed
simulation_libraries_msl32.Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint ... execution failed ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.mos_temp5127/log-Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.mos "true " "" OpenModelicaModelTesting.Kind.VerifiedSimulation Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint {"bodyOfJoint.v_0[2]","bodyOfJoint.v_0[3]","bodyOfJoint.body.frame_a.r_0[2]","bodyOfJoint.body.frame_a.r_0[3]","bodyOfConstraint.v_0[2]","bodyOfConstraint.v_0[3]","bodyOfConstraint.body.frame_a.r_0[2]","bodyOfConstraint.body.frame_a.r_0[3]"} Simulation options: startTime = 0.0, stopTime = 10.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint', options = '', outputFormat = 'mat', variableFilter = 'time|bodyOfJoint.v_0.2.|bodyOfJoint.v_0.3.|bodyOfJoint.body.frame_a.r_0.2.|bodyOfJoint.body.frame_a.r_0.3.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|bodyOfConstraint.body.frame_a.r_0.2.|bodyOfConstraint.body.frame_a.r_0.3.', cflags = '', simflags = ' -abortSlowSimulation -alarm=360 -emit_protected' Error: Simulation did not produce a result-file Errors: Failed to build model: Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraintWarning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Warning: The linear system: 1 : bodyOfConstraint.v_0[1] = 0.21486551488510403 * freeMotionScalarInit.v_rel_a_1 + (-0.5318108111446445) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 2 : 0.0 = 0.8191520442889918 * bodyOfConstraint.v_0[1] + (-0.0996005029250512) * bodyOfConstraint.v_0[2] + 0.5648625214636234 * bodyOfConstraint.v_0[3] 3 : bodyOfConstraint.v_0[3] = (-0.14119408087712543) * freeMotionScalarInit.v_rel_a_1 + 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636234 * freeMotionScalarInit.v_rel_a_3 4 : bodyOfConstraint.v_0[2] = 0.9663834860128886 * freeMotionScalarInit.v_rel_a_1 + 0.23702889650558212 * freeMotionScalarInit.v_rel_a_2 + (-0.0996005029250512) * freeMotionScalarInit.v_rel_a_3 [ 0.0 , -0.21486551488510403 , 0.0 , 1.0 ; 0.0996005029250512 , 0.0 , -0.5648625214636234 , -0.8191520442889918 ; 0.0 , 0.14119408087712543 , 1.0 , 0.0 ; 1.0 , -0.9663834860128886 , 0.0 , 0.0 ] * [ bodyOfConstraint.v_0[2] ; freeMotionScalarInit.v_rel_a_1 ; bodyOfConstraint.v_0[3] ; bodyOfConstraint.v_0[1] ] = [ (-0.5318108111446445) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 ; -0.0 ; 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636234 * freeMotionScalarInit.v_rel_a_3 ; 0.23702889650558212 * freeMotionScalarInit.v_rel_a_2 + (-0.0996005029250512) * freeMotionScalarInit.v_rel_a_3 ] might be structurally or numerically singular for variable bodyOfConstraint.v_0[1] since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/msl32/MOB5BB~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_MultiBody_Examples_Constraints_PrismaticConstraint -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.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_MultiBody_Examples_Constraints_PrismaticConstraint -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_functions.o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_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_MultiBody_Examples_Constraints_PrismaticConstraint -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_records.o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_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_MultiBody_Examples_Constraints_PrismaticConstraint -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_01exo.o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_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_MultiBody_Examples_Constraints_PrismaticConstraint -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_02nls.o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_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_MultiBody_Examples_Constraints_PrismaticConstraint -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_03lsy.o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_03lsy.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_MultiBody_Examples_Constraints_PrismaticConstraint -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_04set.o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_04set.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_MultiBody_Examples_Constraints_PrismaticConstraint -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_05evt.o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_05evt.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_MultiBody_Examples_Constraints_PrismaticConstraint -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_06inz.o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_06inz.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_MultiBody_Examples_Constraints_PrismaticConstraint -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_06inz.o Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_06inz.c 1.C:/OMDevUCRT/tools/msys/ucrt64/include/winuser.h:4621:2: current parser token 'define' 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 0x00007ffb494c7962 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libLLVM-17.dll+0x447962) #5 0x00007ffb6a3e1f4c (C:\OMDevUCRT\tools\msys\ucrt64\bin\libstdc++-6.dll+0x131f4c) #6 0x00007ffb50898be2 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x718be2) #7 0x00007ffb5093fe31 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x7bfe31) #8 0x00007ffb52807dfe (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x2687dfe) #9 0x00007ffb51f365ab (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1db65ab) #10 0x00007ffb51f32349 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1db2349) #11 0x00007ffb509f1048 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x871048) #12 0x00007ffb509d0b45 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x850b45) #13 0x00007ffb509dcda0 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x85cda0) #14 0x00007ffb509d468a (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x85468a) #15 0x00007ffb51f3212a (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1db212a) #16 0x00007ffb509f1048 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x871048) #17 0x00007ffb51f8b292 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e0b292) #18 0x00007ffb51f5fefc (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1ddfefc) #19 0x00007ffb51fe7d6d (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e67d6d) #20 0x00007ffb520035d1 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e835d1) #21 0x00007ffb51fb2943 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e32943) #22 0x00007ffb51f708a8 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1df08a8) #23 0x00007ffb52571d4e (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x23f1d4e) #24 0x00007ffb50e0d078 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0xc8d078) #25 0x00007ffb50f2f0c4 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0xdaf0c4) #26 0x00007ffb51b5247c (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x19d247c) #27 0x00007ff710d2f4a8 (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0xf4a8) #28 0x00007ff710d2fada (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0xfada) #29 0x00007ffb507fed4d (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x67ed4d) #30 0x00007ffb4af30154 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libLLVM-17.dll+0x1eb0154) #31 0x00007ffb5293b954 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x27bb954) #32 0x00007ffb52978ab5 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x27f8ab5) #33 0x00007ffb5297876f (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x27f876f) #34 0x00007ffb520a729b (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1f2729b) #35 0x00007ff710d2c1b8 (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0xc1b8) #36 0x00007ff710d34eb9 (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0x14eb9) #37 0x00007ff710d212ee (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0x12ee) #38 0x00007ff710d21406 (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0x1406) #39 0x00007ffb8b30257d (C:\Windows\System32\KERNEL32.DLL+0x1257d) #40 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-e7060d.c clang: note: diagnostic msg: C:/Windows/TEMP/Modelica-e7060d.sh clang: note: diagnostic msg: ******************** make: *** [<builtin>: Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_06inz.o] Error 1 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/msl32/MOB5BB~1.MOS' RESULT: 2 == 1 out of 1 tests failed [simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.mos_temp5127, time: 14]