Failed
metamodelica_meta.MatchCaseInteractive1.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ MatchCaseInteractive1 ... equation mismatch [time: 16] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/metamodelica/meta/MatchCaseInteractive1.mos_temp2311/log-MatchCaseInteractive1.mos true "[metamodelica/meta/MatchCaseInteractive1.mo:90:7-91:7:writable] Warning: case local declarations are deprecated. Move all case- and else-declarations to the match local declarations. " 2 "" "" 1 "" "" "" "Empty list" "" "" "" "" "" "" "" 3 "Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/METAMO~1/meta/MA3C7F~1.MOS' clang -g -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\" -c -o MatchCaseInteractive1_simpleTupleFunc.o MatchCaseInteractive1_simpleTupleFunc.c clang -g -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\" -c -o MatchCaseInteractive1_simpleTupleFunc_records.o MatchCaseInteractive1_simpleTupleFunc_records.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 -g -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 -c -o MatchCaseInteractive1_simpleTupleFunc_records.o MatchCaseInteractive1_simpleTupleFunc_records.c 1.C:/OMDevUCRT/tools/msys/ucrt64/include/winnt.h:9602:2: current parser token 'define' Exception Code: 0xC000001D #0 0x00007ffb4c80b736 (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 0x00007ffb4e7c8d08 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1fd8d08) #4 0x00007ffb4c8d1b0f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0xe1b0f) #5 0x00007ffb4dde1ae5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x15f1ae5) #6 0x00007ffb4983fe6f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x7bfe6f) #7 0x00007ffb4b707dfe (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x2687dfe) #8 0x00007ffb4ae365ab (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db65ab) #9 0x00007ffb4ae32349 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db2349) #10 0x00007ffb498f1048 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x871048) #11 0x00007ffb498d0b45 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x850b45) #12 0x00007ffb498dcda0 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x85cda0) #13 0x00007ffb498d468a (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x85468a) #14 0x00007ffb4ae3212a (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db212a) #15 0x00007ffb498f1048 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x871048) #16 0x00007ffb4ae8b292 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e0b292) #17 0x00007ffb4ae5fefc (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1ddfefc) #18 0x00007ffb4aea2388 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e22388) #19 0x00007ffb4ae66e3c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1de6e3c) #20 0x00007ffb4aeb2249 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32249) #21 0x00007ffb4ae708a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8) #22 0x00007ffb4b471d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e) #23 0x00007ffb49d0d078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078) #24 0x00007ffb49e2f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4) #25 0x00007ffb4aa5247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c) #26 0x00007ff710d2f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8) #27 0x00007ff710d2fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada) #28 0x00007ffb496fed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d) #29 0x00007ffb4e6a0154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154) #30 0x00007ffb4b83b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954) #31 0x00007ffb4b878ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5) #32 0x00007ffb4b87876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f) #33 0x00007ffb4afa729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b) #34 0x00007ff710d2c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8) #35 0x00007ff710d34eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9) #36 0x00007ff710d212ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee) #37 0x00007ff710d21406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406) #38 0x00007ffb8b30257d (C:\\Windows\\System32\\KERNEL32.DLL+0x1257d) #39 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/MatchCaseInteractive1_simpleTupleFunc_records-3d6b92.c clang: note: diagnostic msg: C:/Windows/TEMP/MatchCaseInteractive1_simpleTupleFunc_records-3d6b92.sh clang: note: diagnostic msg: ******************** make: *** [MatchCaseInteractive1_simpleTupleFunc.makefile:26: MatchCaseInteractive1_simpleTupleFunc] Error 1 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/METAMO~1/meta/MA3C7F~1.MOS' RESULT: 2 " 1.0 "" "" "" "" "" "Empty list" "" "" "" 2 "" '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/metamodelica/meta/MatchCaseInteractive1.mos_temp2311/equations-expected"2024-06-13 12:59:06.507055000 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/metamodelica/meta/MatchCaseInteractive1.mos_temp2311/equations-got"2024-06-13 12:59:22.585658200 +0200 @@ -1,47 +1,115 @@ true "[metamodelica/meta/MatchCaseInteractive1.mo:90:7-91:7:writable] Warning: case local declarations are deprecated. Move all case- and else-declarations to the match local declarations. " 2 "" -4 + "" 1 "" -2 + "" -4 + "" "Empty list" "" -"{1}" + "" -"default" + "" -"{1,2}" + "" -"{i1,i2}" + "" -"1::2::rest" + "" -"2::4::6::{}" + "" 3 -"" +"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/METAMO~1/meta/MA3C7F~1.MOS' +clang -g -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\" -c -o MatchCaseInteractive1_simpleTupleFunc.o MatchCaseInteractive1_simpleTupleFunc.c +clang -g -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\" -c -o MatchCaseInteractive1_simpleTupleFunc_records.o MatchCaseInteractive1_simpleTupleFunc_records.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 -g -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 -c -o MatchCaseInteractive1_simpleTupleFunc_records.o MatchCaseInteractive1_simpleTupleFunc_records.c +1. C:/OMDevUCRT/tools/msys/ucrt64/include/winnt.h:9602:2: current parser token 'define' +Exception Code: 0xC000001D +#0 0x00007ffb4c80b736 (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 0x00007ffb4e7c8d08 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1fd8d08) +#4 0x00007ffb4c8d1b0f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0xe1b0f) +#5 0x00007ffb4dde1ae5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x15f1ae5) +#6 0x00007ffb4983fe6f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x7bfe6f) +#7 0x00007ffb4b707dfe (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x2687dfe) +#8 0x00007ffb4ae365ab (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db65ab) +#9 0x00007ffb4ae32349 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db2349) +#10 0x00007ffb498f1048 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x871048) +#11 0x00007ffb498d0b45 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x850b45) +#12 0x00007ffb498dcda0 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x85cda0) +#13 0x00007ffb498d468a (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x85468a) +#14 0x00007ffb4ae3212a (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db212a) +#15 0x00007ffb498f1048 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x871048) +#16 0x00007ffb4ae8b292 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e0b292) +#17 0x00007ffb4ae5fefc (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1ddfefc) +#18 0x00007ffb4aea2388 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e22388) +#19 0x00007ffb4ae66e3c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1de6e3c) +#20 0x00007ffb4aeb2249 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32249) +#21 0x00007ffb4ae708a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8) +#22 0x00007ffb4b471d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e) +#23 0x00007ffb49d0d078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078) +#24 0x00007ffb49e2f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4) +#25 0x00007ffb4aa5247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c) +#26 0x00007ff710d2f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8) +#27 0x00007ff710d2fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada) +#28 0x00007ffb496fed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d) +#29 0x00007ffb4e6a0154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154) +#30 0x00007ffb4b83b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954) +#31 0x00007ffb4b878ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5) +#32 0x00007ffb4b87876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f) +#33 0x00007ffb4afa729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b) +#34 0x00007ff710d2c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8) +#35 0x00007ff710d34eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9) +#36 0x00007ff710d212ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee) +#37 0x00007ff710d21406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406) +#38 0x00007ffb8b30257d (C:\\Windows\\System32\\KERNEL32.DLL+0x1257d) +#39 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/MatchCaseInteractive1_simpleTupleFunc_records-3d6b92.c +clang: note: diagnostic msg: C:/Windows/TEMP/MatchCaseInteractive1_simpleTupleFunc_records-3d6b92.sh +clang: note: diagnostic msg: + +******************** +make: *** [MatchCaseInteractive1_simpleTupleFunc.makefile:26: MatchCaseInteractive1_simpleTupleFunc] Error 1 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/METAMO~1/meta/MA3C7F~1.MOS' +RESULT: 2 +" 1.0 "" -2.0 + "" -3.0 + "" -4.0 + "" -5.0 + "" "Empty list" "" -"{{1,2,3},{4,5,6}}" + "" -"{1,2,3}::rest" + "" 2 "" '' Equation mismatch: omc-diff says: Line 6: Lexical token differs: expected: 4 got: == 1 out of 1 tests failed [metamodelica/meta/MatchCaseInteractive1.mos_temp2311, time: 20]