Skip to content

Regression

simulation_modelica_NBackend_functions.function_diff.mos (from (result.xml))

Failing for the past 1 build (Since #3812 )
Took 22 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + function_diff                                                                     ... equation mismatch [time: 6]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/NBackend/functions/function_diff.mos_temp5145/log-function_diff.mos
true
""
true
""
### debugDifferentiation | NBJacobian.jacobianSymbolic ###
[BEFORE] [SCAL] (1) y = sin(x) ($RES_$AUX_5)
[AFTER ] [SCAL] (1) $pDER_ODE_JAC.y = cos(x) * $SEED_ODE_JAC.x ($RES_$AUX_5)

### debugDifferentiation | NBJacobian.jacobianSymbolic ###
[BEFORE] [SCAL] (1) $FUN_3 = f(x) ($RES_$AUX_3)

[BEFORE] function 'f'
  input Real 'a';
  output Real 'b';
algorithm
  if 'a' >= 0.0 then
    'b' := 'a' ^ 2.0;
  elseif true then
    'b' := 'f'(-'a');
  end if;
  annotation(derivative(order = 1) = '$fDER0.f', Inline = false);
end 'f'

[AFTER ] function '$fDER0.f'
  input Real 'a';
  input Real '$fDER_a';
  output Real '$fDER_b';
  Real 'b';
algorithm
  if 'a' >= 0.0 then
    '$fDER_b' := 2.0 * 'a' * '$fDER_a';
    'b' := 'a' ^ 2.0;
  elseif true then
    '$fDER_b' := '$fDER0.f'(-'a', -'$fDER_a');
    'b' := 'f'(-'a');
  end if;
  annotation(Inline = false);
end '$fDER0.f'

[AFTER ] [SCAL] (1) $pDER_ODE_JAC.$FUN_3 = $fDER0.f(x, $SEED_ODE_JAC.x) ($RES_$AUX_3)

### debugDifferentiation | NBJacobian.jacobianSymbolic ###
[BEFORE] [SCAL] (1) $FUN_2 = f(y) ($RES_$AUX_4)
[AFTER ] [SCAL] (1) $pDER_ODE_JAC.$FUN_2 = $fDER0.f(y, $pDER_ODE_JAC.y) ($RES_$AUX_4)

### debugDifferentiation | NBJacobian.jacobianSymbolic ###
[BEFORE] [SCAL] (1) $DER.z = $FUN_3 ($RES_SIM_0)
[AFTER ] [SCAL] (1) $pDER_ODE_JAC.$DER.z = $pDER_ODE_JAC.$FUN_3 ($RES_SIM_0)

### debugDifferentiation | NBJacobian.jacobianSymbolic ###
[BEFORE] [SCAL] (1) $DER.x = $FUN_2 ($RES_SIM_1)
[AFTER ] [SCAL] (1) $pDER_ODE_JAC.$DER.x = $pDER_ODE_JAC.$FUN_2 ($RES_SIM_1)

record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'function_diff', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: function_diff"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NBackend/FUNCTI~1/FUNCTI~4.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=function_diff -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 function_diff.o function_diff.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=function_diff -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 function_diff_functions.o function_diff_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=function_diff -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 function_diff_records.o function_diff_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=function_diff -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 function_diff_01exo.o function_diff_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=function_diff -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 function_diff_02nls.o function_diff_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=function_diff -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 function_diff_03lsy.o function_diff_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=function_diff -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 function_diff_04set.o function_diff_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=function_diff -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 function_diff_05evt.o function_diff_05evt.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=function_diff -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 function_diff_05evt.o function_diff_05evt.c
1.C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/util/modelica_string.h:62:91: current parser token ')'
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 0x00007ffb509a7133 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x827133)
 #8 0x00007ffb51bb76f0 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1a376f0)
 #9 0x00007ffb51c22904 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1aa2904)
#10 0x00007ffb51ff5309 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e75309)
#11 0x00007ffb51fa85a5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e285a5)
#12 0x00007ffb51f97e6c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e17e6c)
#13 0x00007ffb51fa74c6 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e274c6)
#14 0x00007ffb507fe5b0 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67e5b0)
#15 0x00007ffb51d24291 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1ba4291)
#16 0x00007ffb51f5f79f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1ddf79f)
#17 0x00007ffb51fe7d6d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e67d6d)
#18 0x00007ffb520035d1 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e835d1)
#19 0x00007ffb51fb2943 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32943)
#20 0x00007ffb51f708a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8)
#21 0x00007ffb52571d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e)
#22 0x00007ffb50e0d078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078)
#23 0x00007ffb50f2f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4)
#24 0x00007ffb51b5247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c)
#25 0x00007ff710d2f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8)
#26 0x00007ff710d2fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada)
#27 0x00007ffb507fed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d)
#28 0x00007ffb4af30154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154)
#29 0x00007ffb5293b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954)
#30 0x00007ffb52978ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5)
#31 0x00007ffb5297876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f)
#32 0x00007ffb520a729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b)
#33 0x00007ff710d2c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8)
#34 0x00007ff710d34eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9)
#35 0x00007ff710d212ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee)
#36 0x00007ff710d21406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406)
#37 0x00007ffb8b30257d (C:\\Windows\\System32\\KERNEL32.DLL+0x1257d)
#38 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: Error generating preprocessed source(s).
make: *** [<builtin>: function_diff_05evt.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NBackend/FUNCTI~1/FUNCTI~4.MOS'
RESULT: 2
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/NBackend/functions/function_diff.mos_temp5145/equations-expected"2024-06-13 15:28:01.279463800 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/NBackend/functions/function_diff.mos_temp5145/equations-got"2024-06-13 15:28:07.087464400 +0200
@@ -50,12 +50,74 @@
 ### debugDifferentiation | NBJacobian.jacobianSymbolic ###
 [BEFORE] [SCAL] (1) $DER.x = $FUN_2 ($RES_SIM_1)
 [AFTER ] [SCAL] (1) $pDER_ODE_JAC.$DER.x = $pDER_ODE_JAC.$FUN_2 ($RES_SIM_1)
 
 record SimulationResult
-resultFile = "function_diff_res.mat",
+resultFile = "",
 simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'function_diff', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+messages = "Failed to build model: function_diff"
 end SimulationResult;
-""
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NBackend/FUNCTI~1/FUNCTI~4.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=function_diff -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 function_diff.o function_diff.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=function_diff -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 function_diff_functions.o function_diff_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=function_diff -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 function_diff_records.o function_diff_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=function_diff -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 function_diff_01exo.o function_diff_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=function_diff -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 function_diff_02nls.o function_diff_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=function_diff -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 function_diff_03lsy.o function_diff_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=function_diff -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 function_diff_04set.o function_diff_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=function_diff -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 function_diff_05evt.o function_diff_05evt.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=function_diff -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 function_diff_05evt.o function_diff_05evt.c
+1. C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/util/modelica_string.h:62:91: current parser token ')'
+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 0x00007ffb509a7133 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x827133)
+#8 0x00007ffb51bb76f0 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1a376f0)
+#9 0x00007ffb51c22904 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1aa2904)
+#10 0x00007ffb51ff5309 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e75309)
+#11 0x00007ffb51fa85a5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e285a5)
+#12 0x00007ffb51f97e6c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e17e6c)
+#13 0x00007ffb51fa74c6 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e274c6)
+#14 0x00007ffb507fe5b0 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67e5b0)
+#15 0x00007ffb51d24291 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1ba4291)
+#16 0x00007ffb51f5f79f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1ddf79f)
+#17 0x00007ffb51fe7d6d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e67d6d)
+#18 0x00007ffb520035d1 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e835d1)
+#19 0x00007ffb51fb2943 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32943)
+#20 0x00007ffb51f708a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8)
+#21 0x00007ffb52571d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e)
+#22 0x00007ffb50e0d078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078)
+#23 0x00007ffb50f2f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4)
+#24 0x00007ffb51b5247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c)
+#25 0x00007ff710d2f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8)
+#26 0x00007ff710d2fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada)
+#27 0x00007ffb507fed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d)
+#28 0x00007ffb4af30154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154)
+#29 0x00007ffb5293b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954)
+#30 0x00007ffb52978ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5)
+#31 0x00007ffb5297876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f)
+#32 0x00007ffb520a729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b)
+#33 0x00007ff710d2c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8)
+#34 0x00007ff710d34eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9)
+#35 0x00007ff710d212ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee)
+#36 0x00007ff710d21406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406)
+#37 0x00007ffb8b30257d (C:\\Windows\\System32\\KERNEL32.DLL+0x1257d)
+#38 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: Error generating preprocessed source(s).
+make: *** [<builtin>: function_diff_05evt.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NBackend/FUNCTI~1/FUNCTI~4.MOS'
+RESULT: 2
+"
'' 
Equation mismatch: omc-diff says: 
Failed 'f' '"'
Line 55: Text differs:
expected: resultFile = "function_diff_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/NBackend/functions/function_diff.mos_temp5145, time: 22]