Skip to content

Regression

flattening_modelica_others.StringPool.mo (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + StringPool                                                                        ... equation mismatch [time: 3]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/flattening/modelica/others/StringPool.mo_temp3218/log-StringPool.mo
function StringPool.weirdStrStuff
  input String str;
  output String os1;
  output String os2;
algorithm
  os1 := "os1";
  os2 := "os2";
end StringPool.weirdStrStuff;

function StringPool.weirdStrStuff1
  input String str;
  output String os;
  protected String os1;
  protected String os2;
algorithm
  (os1, os2) := StringPool.weirdStrStuff(str);
  os := "overwritethecharpoolhere";
  os := os1 + os2;
end StringPool.weirdStrStuff1;

class StringPool
  constant String str1 = "os1os2";
end StringPool;
Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/FLATTE~1/modelica/others/STRING~1.MO_'
clang -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"  -c -o StringPool_weirdStrStuff1.o StringPool_weirdStrStuff1.c
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5afmake: *** [StringPool_weirdStrStuff1.makefile:25: StringPool_weirdStrStuff1] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/FLATTE~1/modelica/others/STRING~1.MO_'
RESULT: 2

'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/flattening/modelica/others/StringPool.mo_temp3218/equations-expected"2024-06-13 15:30:54.258170100 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/flattening/modelica/others/StringPool.mo_temp3218/equations-got"2024-06-13 15:30:57.254168900 +0200
@@ -19,5 +19,12 @@
 end StringPool.weirdStrStuff1;
 
 class StringPool
 constant String str1 = "os1os2";
 end StringPool;
+Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/FLATTE~1/modelica/others/STRING~1.MO_'
+clang -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"  -c -o StringPool_weirdStrStuff1.o StringPool_weirdStrStuff1.c
+Mingw-w64 runtime failure:
+VirtualProtect failed with code 0x5afmake: *** [StringPool_weirdStrStuff1.makefile:25: StringPool_weirdStrStuff1] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/FLATTE~1/modelica/others/STRING~1.MO_'
+RESULT: 2
+
'' 
Equation mismatch: omc-diff says: 
Line 24: Actual file has more input than expected.

== 1 out of 1 tests failed [flattening/modelica/others/StringPool.mo_temp3218, time: 26]