Regression
simulation_modelica_commonSubExp.cseFunctionCall4.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ cseFunctionCall4 ... equation mismatch [time: 1] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cseFunctionCall4.mos_temp3631/log-cseFunctionCall4.mos true "" true "" true "" ############################################################### Final Results ############################################################### ########### Updated Variable List (simulation) (6) ======================================== 1: z.r2:DISCRETE() type: Integer 2: z.r1:VARIABLE() type: Real 3: y.r2:DISCRETE() type: Integer 4: y.r1:VARIABLE() type: Real 5: x:VARIABLE() type: Real 6: $cse1:VARIABLE(protected = true ) type: Real unreplaceable ########### Updated Equation List (simulation) (4, 6) ======================================== 1/1 (2): y = z [dynamic |0|0|0|0|] 2/3 (2): z = CSE.functions.f3(time, x) [unknown |0|0|0|0|] 3/5 (1): $cse1 = cos(time) [unknown |0|0|0|0|] 4/6 (1): x = sin(time * $cse1) [unknown |0|0|0|0|] ########### CSE Replacements (3/47) ======================================== 1: x - sin(time * $cse1) - {} 2: $cse1 - cos(time) - {} 3: z - CSE.functions.f3(time, x) - {} record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.FunctionCallTest4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: CSE.FunctionCallTest4" end SimulationResult; "Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CS09EF~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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4.o CSE.FunctionCallTest4.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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4.o CSE.FunctionCallTest4.c 1.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512bwintrin.h:66:29: current parser token '__DEFAULT_FN_ATTRS' 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 0x00007ffb50bc6f01 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xa46f01) #6 0x00007ffb50bc624f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xa4624f) #7 0x00007ffb5096f130 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x7ef130) #8 0x00007ffb509cd755 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x84d755) #9 0x00007ffb509ee1c7 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x86e1c7) #10 0x00007ffb509d6460 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x856460) #11 0x00007ffb51f32349 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db2349) #12 0x00007ffb509f1048 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x871048) #13 0x00007ffb51fc3a58 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e43a58) #14 0x00007ffb51fe7a0f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e67a0f) #15 0x00007ffb520035d1 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e835d1) #16 0x00007ffb51fb2943 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32943) #17 0x00007ffb51f708a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8) #18 0x00007ffb52571d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e) #19 0x00007ffb50e0d078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078) #20 0x00007ffb50f2f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4) #21 0x00007ffb51b5247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c) #22 0x00007ff710d2f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8) #23 0x00007ff710d2fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada) #24 0x00007ffb507fed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d) #25 0x00007ffb4af30154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154) #26 0x00007ffb5293b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954) #27 0x00007ffb52978ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5) #28 0x00007ffb5297876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f) #29 0x00007ffb520a729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b) #30 0x00007ff710d2c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8) #31 0x00007ff710d34eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9) #32 0x00007ff710d212ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee) #33 0x00007ff710d21406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406) #34 0x00007ffb8b30257d (C:\\Windows\\System32\\KERNEL32.DLL+0x1257d) #35 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/CSE-ae4f1a.c clang: note: diagnostic msg: C:/Windows/TEMP/CSE-ae4f1a.sh clang: note: diagnostic msg: ******************** make: *** [<builtin>: CSE.FunctionCallTest4.o] Error 1 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CS09EF~1.MOS' RESULT: 2 " '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cseFunctionCall4.mos_temp3631/equations-expected"2024-06-13 15:17:20.118182200 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cseFunctionCall4.mos_temp3631/equations-got"2024-06-13 15:17:21.532181700 +0200 @@ -33,12 +33,73 @@ ======================================== 1: x - sin(time * $cse1) - {} 2: $cse1 - cos(time) - {} 3: z - CSE.functions.f3(time, x) - {} record SimulationResult -resultFile = "CSE.FunctionCallTest4_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'CSE.FunctionCallTest4', 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 = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.FunctionCallTest4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: CSE.FunctionCallTest4" end SimulationResult; -"" +"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CS09EF~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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4.o CSE.FunctionCallTest4.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=CSE_FunctionCallTest4 -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 CSE.FunctionCallTest4.o CSE.FunctionCallTest4.c +1. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512bwintrin.h:66:29: current parser token '__DEFAULT_FN_ATTRS' +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 0x00007ffb50bc6f01 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xa46f01) +#6 0x00007ffb50bc624f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xa4624f) +#7 0x00007ffb5096f130 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x7ef130) +#8 0x00007ffb509cd755 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x84d755) +#9 0x00007ffb509ee1c7 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x86e1c7) +#10 0x00007ffb509d6460 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x856460) +#11 0x00007ffb51f32349 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db2349) +#12 0x00007ffb509f1048 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x871048) +#13 0x00007ffb51fc3a58 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e43a58) +#14 0x00007ffb51fe7a0f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e67a0f) +#15 0x00007ffb520035d1 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e835d1) +#16 0x00007ffb51fb2943 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32943) +#17 0x00007ffb51f708a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8) +#18 0x00007ffb52571d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e) +#19 0x00007ffb50e0d078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078) +#20 0x00007ffb50f2f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4) +#21 0x00007ffb51b5247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c) +#22 0x00007ff710d2f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8) +#23 0x00007ff710d2fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada) +#24 0x00007ffb507fed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d) +#25 0x00007ffb4af30154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154) +#26 0x00007ffb5293b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954) +#27 0x00007ffb52978ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5) +#28 0x00007ffb5297876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f) +#29 0x00007ffb520a729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b) +#30 0x00007ff710d2c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8) +#31 0x00007ff710d34eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9) +#32 0x00007ff710d212ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee) +#33 0x00007ff710d21406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406) +#34 0x00007ffb8b30257d (C:\\Windows\\System32\\KERNEL32.DLL+0x1257d) +#35 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/CSE-ae4f1a.c +clang: note: diagnostic msg: C:/Windows/TEMP/CSE-ae4f1a.sh +clang: note: diagnostic msg: + +******************** +make: *** [<builtin>: CSE.FunctionCallTest4.o] Error 1 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CS09EF~1.MOS' +RESULT: 2 +" '' Equation mismatch: omc-diff says: Failed 'C' '"' Line 38: Text differs: expected: resultFile = "CSE.FunctionCallTest got: resultFile = "", == 1 out of 1 tests failed [simulation/modelica/commonSubExp/cseFunctionCall4.mos_temp3631, time: 18]