Regression
simulation_modelica_nonlinear_system.problem11.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ problem11 ... equation mismatch [time: 20] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/problem11.mos_temp9540/log-problem11.mos true "" true record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'euler', fileNamePrefix = 'nonlinear_system.problem11', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: nonlinear_system.problem11" end SimulationResult; "Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRF116~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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11.o nonlinear_system.problem11.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_functions.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_records.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_01exo.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_02nls.o nonlinear_system.problem11_02nls.c Mingw-w64 runtime failure: VirtualProtect failed with code 0x5afmake: *** [<builtin>: nonlinear_system.problem11_02nls.o] Error 127 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRF116~1.MOS' RESULT: 2 " true START: simplifyLoops ------ Tearing ------ ------ loop-vars ------ x[3] x[1] x[2] ------------ update eqn[6] x[1] = b * (x[2] ^ 2.0 + x[3] + cos(time))--old-- => b * (cos(time) + x[2] ^ 2.0 + x[3]) - x[1] = 0.0--new-- update eqn[5] x[2] ^ 2.0 = b + x[1] / b + a - a * x[2] ^ 2.0--old-- => x[1] - b * x[2] ^ 2.0 * (1.0 + a) = ((-b) - a) * b--new-- update eqn[4] x[3] / a = (a ^ 2.0 + b ^ 2.0) * x[2] / a + log(1.0 + time) + ((-a ^ 2.0) - b ^ 2.0) * x[1] / a + 1.0 / a + (-a) - b--old-- => (a ^ 2.0 + b ^ 2.0) * x[2] + ((-a ^ 2.0) - b ^ 2.0) * x[1] - x[3] = -1.0 + a ^ 2.0 + (b - log(1.0 + time)) * a--new-- END: simplifyLoops START: simplifyLoops ------ Tearing ------ ------ loop-vars ------ x[3] x[1] x[2] ------------ update eqn[2] x[1] = b * (x[2] ^ 2.0 + x[3] + $cse1)--old-- => b * ($cse1 + x[2] ^ 2.0 + x[3]) - x[1] = 0.0--new-- update eqn[3] x[2] ^ 2.0 = b + x[1] / b + a - a * x[2] ^ 2.0--old-- => x[1] - b * x[2] ^ 2.0 * (1.0 + a) = ((-b) - a) * b--new-- update eqn[4] x[3] / a = (a ^ 2.0 + b ^ 2.0) * x[2] / a + $cse2 + ((-a ^ 2.0) - b ^ 2.0) * x[1] / a + 1.0 / a + (-a) - b--old-- => (a ^ 2.0 + b ^ 2.0) * x[2] + ((-a ^ 2.0) - b ^ 2.0) * x[1] - x[3] = -1.0 + a ^ 2.0 + (b - $cse2) * a--new-- END: simplifyLoops record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'euler', fileNamePrefix = 'nonlinear_system.problem11', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: nonlinear_system.problem11" end SimulationResult; "Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRF116~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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11.o nonlinear_system.problem11.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_functions.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_records.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_01exo.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_02nls.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_03lsy.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_04set.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_05evt.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_06inz.o nonlinear_system.problem11_06inz.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_07dly.o nonlinear_system.problem11_07dly.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_08bnd.o nonlinear_system.problem11_08bnd.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_09alg.o nonlinear_system.problem11_09alg.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_09alg.o nonlinear_system.problem11_09alg.c 1.C:/OMDevUCRT/tools/msys/ucrt64/include/winerror.h:1616:2: current parser token 'define' 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 0x00007ff9feda7962 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x447962) #5 0x00007ffa3d9d1f4c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libstdc++-6.dll+0x131f4c) #6 0x00007ffa0e338be2 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x718be2) #7 0x00007ffa0e490a17 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x870a17) #8 0x00007ffa0e47ce21 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x85ce21) #9 0x00007ffa0e47468a (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x85468a) #10 0x00007ffa0f9d212a (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db212a) #11 0x00007ffa0e491048 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x871048) #12 0x00007ffa0fa2b292 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e0b292) #13 0x00007ffa0f9ffefc (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1ddfefc) #14 0x00007ffa0fa87d6d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e67d6d) #15 0x00007ffa0faa35d1 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e835d1) #16 0x00007ffa0fa52943 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32943) #17 0x00007ffa0fa108a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8) #18 0x00007ffa10011d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e) #19 0x00007ffa0e8ad078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078) #20 0x00007ffa0e9cf0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4) #21 0x00007ffa0f5f247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c) #22 0x00007ff7fc13f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8) #23 0x00007ff7fc13fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada) #24 0x00007ffa0e29ed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d) #25 0x00007ffa00810154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154) #26 0x00007ffa103db954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954) #27 0x00007ffa10418ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5) #28 0x00007ffa1041876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f) #29 0x00007ffa0fb4729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b) #30 0x00007ff7fc13c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8) #31 0x00007ff7fc144eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9) #32 0x00007ff7fc1312ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee) #33 0x00007ff7fc131406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406) #34 0x00007ffa8a39257d (C:\\Windows\\System32\\KERNEL32.DLL+0x1257d) #35 0x00007ffa8c20aa48 (C:\\Windows\\SYSTEM32\\ntdll.dll+0x5aa48) 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/nonlinear_system-6745e5.c clang: note: diagnostic msg: C:/Windows/TEMP/nonlinear_system-6745e5.sh clang: note: diagnostic msg: ******************** make: *** [<builtin>: nonlinear_system.problem11_09alg.o] Error 1 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRF116~1.MOS' RESULT: 2 " true START: simplifyLoops ------ Tearing ------ ------ loop-vars ------ x[3] x[1] x[2] ------------ update eqn[6] x[1] = b * (x[2] ^ 2.0 + x[3] + cos(time))--old-- __OMC__2$LOOPT = cos(time) -- new eqn-- => b * (__OMC__2$LOOPT + x[2] ^ 2.0 + x[3]) - x[1] = 0.0--new-- update eqn[5] x[2] ^ 2.0 = b + x[1] / b + a - a * x[2] ^ 2.0--old-- __OMC__5$LOOPT = ((-b) - a) * b -- new eqn-- => x[1] - b * x[2] ^ 2.0 * (1.0 + a) = __OMC__5$LOOPT--new-- update eqn[4] x[3] / a = (a ^ 2.0 + b ^ 2.0) * x[2] / a + log(1.0 + time) + ((-a ^ 2.0) - b ^ 2.0) * x[1] / a + 1.0 / a + (-a) - b--old-- __OMC__10$LOOPT = -1.0 + a ^ 2.0 + (b - log(1.0 + time)) * a -- new eqn-- __OMC__4$LOOPF = (-a ^ 2.0) - b ^ 2.0 -- new eqn-- __OMC__5$LOOPF = a ^ 2.0 + b ^ 2.0 -- new eqn-- => __OMC__5$LOOPF * x[2] + __OMC__4$LOOPF * x[1] - x[3] = __OMC__10$LOOPT--new-- END: simplifyLoops START: simplifyLoops ------ Tearing ------ ------ loop-vars ------ x[3] x[1] x[2] ------------ update eqn[2] x[1] = b * (x[2] ^ 2.0 + x[3] + $cse1)--old-- => b * ($cse1 + x[2] ^ 2.0 + x[3]) - x[1] = 0.0--new-- update eqn[3] x[2] ^ 2.0 = b + x[1] / b + a - a * x[2] ^ 2.0--old-- __OMC__17$LOOPT = ((-b) - a) * b -- new eqn-- => x[1] - b * x[2] ^ 2.0 * (1.0 + a) = __OMC__17$LOOPT--new-- update eqn[4] x[3] / a = (a ^ 2.0 + b ^ 2.0) * x[2] / a + $cse2 + ((-a ^ 2.0) - b ^ 2.0) * x[1] / a + 1.0 / a + (-a) - b--old-- __OMC__22$LOOPT = -1.0 + a ^ 2.0 + (b - $cse2) * a -- new eqn-- __OMC__3$LOOPF = (-a ^ 2.0) - b ^ 2.0 -- new eqn-- __OMC__4$LOOPF = a ^ 2.0 + b ^ 2.0 -- new eqn-- => __OMC__4$LOOPF * x[2] + __OMC__3$LOOPF * x[1] - x[3] = __OMC__22$LOOPT--new-- END: simplifyLoops record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'euler', fileNamePrefix = 'nonlinear_system.problem11', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: nonlinear_system.problem11" end SimulationResult; "Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRF116~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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11.o nonlinear_system.problem11.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_functions.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_records.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_01exo.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_02nls.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_03lsy.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_04set.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_05evt.o nonlinear_system.problem11_05evt.c Mingw-w64 runtime failure: VirtualProtect failed with code 0x5afmake: *** [<builtin>: nonlinear_system.problem11_05evt.o] Error 127 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRF116~1.MOS' RESULT: 2 " '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/problem11.mos_temp9540/equations-expected"2024-05-08 14:57:19.482677600 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/nonlinear_system/problem11.mos_temp9540/equations-got"2024-05-08 14:57:39.084322900 +0200 @@ -1,18 +1,26 @@ true "" true record SimulationResult -resultFile = "nonlinear_system.problem11_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'euler', fileNamePrefix = 'nonlinear_system.problem11', 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 = 5.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'euler', fileNamePrefix = 'nonlinear_system.problem11', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: nonlinear_system.problem11" end SimulationResult; -"" -{0.0,1.980033630575271,3.843762461008664,5.502132988123644,14.04466540545848} -{0.0,0.0,0.0,0.0,0.0} +"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRF116~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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11.o nonlinear_system.problem11.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_functions.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_records.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_01exo.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_02nls.o nonlinear_system.problem11_02nls.c +Mingw-w64 runtime failure: +VirtualProtect failed with code 0x5afmake: *** [<builtin>: nonlinear_system.problem11_02nls.o] Error 127 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRF116~1.MOS' +RESULT: 2 +" + + true START: simplifyLoops ------ Tearing ------ ------ loop-vars ------ x[3] @@ -45,19 +53,91 @@ update eqn[4] x[3] / a = (a ^ 2.0 + b ^ 2.0) * x[2] / a + $cse2 + ((-a ^ 2.0) - b ^ 2.0) * x[1] / a + 1.0 / a + (-a) - b--old-- => (a ^ 2.0 + b ^ 2.0) * x[2] + ((-a ^ 2.0) - b ^ 2.0) * x[1] - x[3] = -1.0 + a ^ 2.0 + (b - $cse2) * a--new-- END: simplifyLoops record SimulationResult -resultFile = "nonlinear_system.problem11_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'euler', fileNamePrefix = 'nonlinear_system.problem11', 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 = 5.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'euler', fileNamePrefix = 'nonlinear_system.problem11', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: nonlinear_system.problem11" end SimulationResult; -"" -{0.0,2.398081733190338e-16,4.707345624410663e-16,7.638334409421079e-16,2.122746423083299e-15} -{5.561552812808831,5.409227846355742,4.987172179760111,4.393026202256716,4.663465947951011} +"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRF116~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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11.o nonlinear_system.problem11.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_functions.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_records.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_01exo.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_02nls.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_03lsy.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_04set.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_05evt.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_06inz.o nonlinear_system.problem11_06inz.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_07dly.o nonlinear_system.problem11_07dly.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_08bnd.o nonlinear_system.problem11_08bnd.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_09alg.o nonlinear_system.problem11_09alg.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_09alg.o nonlinear_system.problem11_09alg.c +1. C:/OMDevUCRT/tools/msys/ucrt64/include/winerror.h:1616:2: current parser token 'define' +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 0x00007ff9feda7962 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x447962) +#5 0x00007ffa3d9d1f4c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libstdc++-6.dll+0x131f4c) +#6 0x00007ffa0e338be2 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x718be2) +#7 0x00007ffa0e490a17 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x870a17) +#8 0x00007ffa0e47ce21 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x85ce21) +#9 0x00007ffa0e47468a (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x85468a) +#10 0x00007ffa0f9d212a (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db212a) +#11 0x00007ffa0e491048 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x871048) +#12 0x00007ffa0fa2b292 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e0b292) +#13 0x00007ffa0f9ffefc (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1ddfefc) +#14 0x00007ffa0fa87d6d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e67d6d) +#15 0x00007ffa0faa35d1 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e835d1) +#16 0x00007ffa0fa52943 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32943) +#17 0x00007ffa0fa108a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8) +#18 0x00007ffa10011d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e) +#19 0x00007ffa0e8ad078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078) +#20 0x00007ffa0e9cf0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4) +#21 0x00007ffa0f5f247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c) +#22 0x00007ff7fc13f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8) +#23 0x00007ff7fc13fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada) +#24 0x00007ffa0e29ed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d) +#25 0x00007ffa00810154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154) +#26 0x00007ffa103db954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954) +#27 0x00007ffa10418ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5) +#28 0x00007ffa1041876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f) +#29 0x00007ffa0fb4729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b) +#30 0x00007ff7fc13c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8) +#31 0x00007ff7fc144eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9) +#32 0x00007ff7fc1312ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee) +#33 0x00007ff7fc131406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406) +#34 0x00007ffa8a39257d (C:\\Windows\\System32\\KERNEL32.DLL+0x1257d) +#35 0x00007ffa8c20aa48 (C:\\Windows\\SYSTEM32\\ntdll.dll+0x5aa48) +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/nonlinear_system-6745e5.c +clang: note: diagnostic msg: C:/Windows/TEMP/nonlinear_system-6745e5.sh +clang: note: diagnostic msg: + +******************** +make: *** [<builtin>: nonlinear_system.problem11_09alg.o] Error 1 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRF116~1.MOS' +RESULT: 2 +" + + true START: simplifyLoops ------ Tearing ------ ------ loop-vars ------ x[3] @@ -99,14 +179,25 @@ __OMC__3$LOOPF = (-a ^ 2.0) - b ^ 2.0 -- new eqn-- __OMC__4$LOOPF = a ^ 2.0 + b ^ 2.0 -- new eqn-- => __OMC__4$LOOPF * x[2] + __OMC__3$LOOPF * x[1] - x[3] = __OMC__22$LOOPT--new-- END: simplifyLoops record SimulationResult -resultFile = "nonlinear_system.problem11_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'euler', fileNamePrefix = 'nonlinear_system.problem11', 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 = 5.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'euler', fileNamePrefix = 'nonlinear_system.problem11', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: nonlinear_system.problem11" end SimulationResult; -"" -{0.0,2.398081733190338e-16,4.707345624410663e-16,7.638334409421079e-16,2.122746423083299e-15} -{5.561552812808831,5.409227846355742,4.987172179760111,4.393026202256716,4.663465947951011} +"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRF116~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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11.o nonlinear_system.problem11.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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_functions.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_records.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_01exo.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_02nls.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_03lsy.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_04set.o nonlinear_system.problem11_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=nonlinear_system_problem11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o nonlinear_system.problem11_05evt.o nonlinear_system.problem11_05evt.c +Mingw-w64 runtime failure: +VirtualProtect failed with code 0x5afmake: *** [<builtin>: nonlinear_system.problem11_05evt.o] Error 127 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NONLIN~1/PRF116~1.MOS' +RESULT: 2 +" + + '' Equation mismatch: omc-diff says: Failed 'n' '"' Line 5: Text differs: expected: resultFile = "nonlinear_system.problem got: resultFile = "", == 1 out of 1 tests failed [simulation/modelica/nonlinear_system/problem11.mos_temp9540, time: 25]