Skip to content

Regression

openmodelica_fmi_ModelExchange_2.0.testBug2765.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + testBug2765                                                                       ... equation mismatch [time: 10]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/fmi/ModelExchange/2.0/testBug2765.mos_temp6544/log-testBug2765.mos
true
""
""
"Error: Error building simulator. Build log: cmd: cd \"test_Bug2765.fmutmp/sources/\" && mkdir build_cmake_static && cd build_cmake_static && cmake -G \"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=\"clang\" .. && cmake --build . --parallel  --target install && cd .. && rm -rf build_cmake_static
-- The C compiler identification is Clang 17.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- FMI2 include directory: C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/fmi
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Building for FMI platform win64
-- Install directory: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/testBug2765.mos_temp6544/test_Bug2765.fmutmp/sources/../binaries/win64
-- CVODE: Not linked
-- Not using FMI2_FUNCTION_PREFIX
-- Installing dynamic dependencies from list: 
-- Configuring done (5.5s)
-- Generating done (0.1s)
-- Build files have been written to: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/testBug2765.mos_temp6544/test_Bug2765.fmutmp/sources/build_cmake_static
[  1%] Building C object CMakeFiles/test_Bug2765.dir/gc/memory_pool.c.obj
[  2%] Building C object CMakeFiles/test_Bug2765.dir/gc/omc_gc.c.obj
[  4%] Building C object CMakeFiles/test_Bug2765.dir/math-support/pivot.c.obj
[  5%] Building C object CMakeFiles/test_Bug2765.dir/meta/meta_modelica_catch.c.obj
[  7%] Building C object CMakeFiles/test_Bug2765.dir/simulation/jacobian_util.c.obj
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5afC:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/testBug2765.mos_temp6544/test_Bug2765.fmutmp/sources/gc/memory_pool.c:148:47: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat]
  148 |   printf(\"%p, %ld, %ld, %p\\n\", chunk->memory, chunk->used, chunk->size, chunk->previous);
      |               ~~~                             ^~~~~~~~~~~
      |               %zu
C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/testBug2765.mos_temp6544/test_Bug2765.fmutmp/sources/gc/memory_pool.c:148:60: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat]
  148 |   printf(\"%p, %ld, %ld, %p\\n\", chunk->memory, chunk->used, chunk->size, chunk->previous);
      |                    ~~~                                     ^~~~~~~~~~~
      |                    %zu
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 -DCMINPACK_NO_DLL -DFMI2_OVERRIDE_FUNCTION_PREFIX -DOMC_FMI_RUNTIME=1 -DOMC_MINIMAL_RUNTIME=1 -DOM_HAVE_PTHREADS -Dtest_Bug2765_EXPORTS -IC:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/testBug2765.mos_temp6544/test_Bug2765.fmutmp/sources -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/fmi -IC:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/testBug2765.mos_temp6544/test_Bug2765.fmutmp/sources/sundials -O3 -DNDEBUG -MD -MT CMakeFiles/test_Bug2765.dir/gc/omc_gc.c.obj -MF CMakeFiles/test_Bug2765.dir/gc/omc_gc.c.obj.d -o CMakeFiles/test_Bug2765.dir/gc/omc_gc.c.obj -c C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/testBug2765.mos_temp6544/test_Bug2765.fmutmp/sources/gc/omc_gc.c
1.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/xmmintrin.h:997:1: current parser token '{'
Exception Code: 0xC000001D
2 warnings generated.
0x00007FFB4909B736 <unknown module>
0x00007FFB89B3E6D5 <unknown module>
0x0000000000000003 <unknown module>
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: error: unable to execute command: Couldn't execute program 'C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe': Unknown error (0x5AA)
clang: note: diagnostic msg: Error generating preprocessed source(s).
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5af[  8%] Building C object CMakeFiles/test_Bug2765.dir/simulation/omc_simulation_util.c.obj
[ 10%] Building C object CMakeFiles/test_Bug2765.dir/simulation/options.c.obj
"
9
""
0
""
""
""
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/fmi/ModelExchange/2.0/testBug2765.mos_temp6544/equations-expected"2024-06-13 12:57:16.265270000 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/fmi/ModelExchange/2.0/testBug2765.mos_temp6544/equations-got"2024-06-13 12:57:26.342267000 +0200
@@ -1,94 +1,64 @@
 true
 ""
-"test_Bug2765.fmu"
 ""
-0
+"Error: Error building simulator. Build log: cmd: cd \"test_Bug2765.fmutmp/sources/\" && mkdir build_cmake_static && cd build_cmake_static && cmake -G \"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=\"clang\" .. && cmake --build . --parallel  --target install && cd .. && rm -rf build_cmake_static
+-- The C compiler identification is Clang 17.0.6
+-- Detecting C compiler ABI info
+-- Detecting C compiler ABI info - done
+-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe - skipped
+-- Detecting C compile features
+-- Detecting C compile features - done
+-- FMI2 include directory: C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/fmi
+-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
+-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
+-- Found Threads: TRUE  
+-- Building for FMI platform win64
+-- Install directory: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/test_Bug2765.fmutmp/sources/../binaries/win64
+-- CVODE: Not linked
+-- Not using FMI2_FUNCTION_PREFIX
+-- Installing dynamic dependencies from list: 
+-- Configuring done (5.5s)
+-- Generating done (0.1s)
+-- Build files have been written to: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/test_Bug2765.fmutmp/sources/build_cmake_static
+[ 1%] Building C object CMakeFiles/test_Bug2765.dir/gc/memory_pool.c.obj
+[ 2%] Building C object CMakeFiles/test_Bug2765.dir/gc/omc_gc.c.obj
+[ 4%] Building C object CMakeFiles/test_Bug2765.dir/math-support/pivot.c.obj
+[ 5%] Building C object CMakeFiles/test_Bug2765.dir/meta/meta_modelica_catch.c.obj
+[ 7%] Building C object CMakeFiles/test_Bug2765.dir/simulation/jacobian_util.c.obj
+Mingw-w64 runtime failure:
+VirtualProtect failed with code 0x5afC:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/test_Bug2765.fmutmp/sources/gc/memory_pool.c:148:47: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat]
+148 |   printf(\"%p, %ld, %ld, %p\\n\", chunk->memory, chunk->used, chunk->size, chunk->previous);
+| ~~~                             ^~~~~~~~~~~
+| %zu
+C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/test_Bug2765.fmutmp/sources/gc/memory_pool.c:148:60: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat]
+148 |   printf(\"%p, %ld, %ld, %p\\n\", chunk->memory, chunk->used, chunk->size, chunk->previous);
+| ~~~                                     ^~~~~~~~~~~
+| %zu
+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 -DCMINPACK_NO_DLL -DFMI2_OVERRIDE_FUNCTION_PREFIX -DOMC_FMI_RUNTIME=1 -DOMC_MINIMAL_RUNTIME=1 -DOM_HAVE_PTHREADS -Dtest_Bug2765_EXPORTS -IC:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/test_Bug2765.fmutmp/sources -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/fmi -IC:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/test_Bug2765.fmutmp/sources/sundials -O3 -DNDEBUG -MD -MT CMakeFiles/test_Bug2765.dir/gc/omc_gc.c.obj -MF CMakeFiles/test_Bug2765.dir/gc/omc_gc.c.obj.d -o CMakeFiles/test_Bug2765.dir/gc/omc_gc.c.obj -c C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/test_Bug2765.fmutmp/sources/gc/omc_gc.c
+1. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/xmmintrin.h:997:1: current parser token '{'
+Exception Code: 0xC000001D
+2 warnings generated.
+0x00007FFB4909B736 <unknown module>
+0x00007FFB89B3E6D5 <unknown module>
+0x0000000000000003 <unknown module>
+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: error: unable to execute command: Couldn't execute program 'C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe': Unknown error (0x5AA)
+clang: note: diagnostic msg: Error generating preprocessed source(s).
+Mingw-w64 runtime failure:
+VirtualProtect failed with code 0x5af[  8%] Building C object CMakeFiles/test_Bug2765.dir/simulation/omc_simulation_util.c.obj
+[ 10%] Building C object CMakeFiles/test_Bug2765.dir/simulation/options.c.obj
+"
+9
 ""
 0
 ""
-"  <ModelVariables>
-<!-- Index of variable = \"1\" -->
-<ScalarVariable
-name=\"x1\"
-valueReference=\"0\"
->
-<Real/>
-</ScalarVariable>
-<!-- Index of variable = \"2\" -->
-<ScalarVariable
-name=\"x2\"
-valueReference=\"1\"
->
-<Real/>
-</ScalarVariable>
-<!-- Index of variable = \"3\" -->
-<ScalarVariable
-name=\"der(x1)\"
-valueReference=\"2\"
->
-<Real derivative=\"1\"/>
-</ScalarVariable>
-<!-- Index of variable = \"4\" -->
-<ScalarVariable
-name=\"der(x2)\"
-valueReference=\"3\"
->
-<Real derivative=\"2\"/>
-</ScalarVariable>
-<!-- Index of variable = \"5\" -->
-<ScalarVariable
-name=\"u\"
-valueReference=\"4\"
-causality=\"input\"
->
-<Real start=\"-2.0\"/>
-</ScalarVariable>
-<!-- Index of variable = \"6\" -->
-<ScalarVariable
-name=\"y1\"
-valueReference=\"5\"
-causality=\"output\"
->
-<Real/>
-</ScalarVariable>
-<!-- Index of variable = \"7\" -->
-<ScalarVariable
-name=\"y2\"
-valueReference=\"6\"
-causality=\"output\"
->
-<Real/>
-</ScalarVariable>
-<!-- Index of variable = \"8\" -->
-<ScalarVariable
-name=\"p\"
-valueReference=\"7\"
-description=\"gain for input\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"1.0\"/>
-</ScalarVariable>
-<!-- Index of variable = \"9\" -->
-<ScalarVariable
-name=\"y1_start\"
-valueReference=\"8\"
-description=\"start value for first state\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"1.0\"/>
-</ScalarVariable>
-<!-- Index of variable = \"10\" -->
-<ScalarVariable
-name=\"y2_start\"
-valueReference=\"9\"
-description=\"start value for second state\"
-variability=\"fixed\"
-causality=\"parameter\"
->
-<Real start=\"0.0\"/>
-</ScalarVariable>
-</ModelVariables>
-"
+""
 ""
'' 
Equation mismatch: omc-diff says: 
Failed 't' '"'
Line 3: Text differs:
expected: "test_Bug
got:      ""

== 1 out of 1 tests failed [openmodelica/fmi/ModelExchange/2.0/testBug2765.mos_temp6544, time: 18]