Skip to content

Regression

metamodelica_meta.Continue.mo (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Continue.mo                                                                       ... equation mismatch [time: 4]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/metamodelica/meta/Continue.mo_temp735/log-Continue.mo
function TestContinue.f
  input Real[:] arr;
  output Real r = 0.0;
algorithm
  for i in arr loop
    if i < 0.0 then
      continue;
    end if;
    r := r + i;
  end for;
end TestContinue.f;

class TestContinue
  constant Real r1 = TestContinue.f(-30.0:30.0);
  constant Real r2 = 465.0;
end TestContinue;
Error: Error building simulator. Build log: RESULT: -1073741502
Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/METAMO~1/meta/CONTIN~1.MO_'
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 TestContinue_f.o TestContinue_f.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 TestContinue_f_records.o TestContinue_f_records.c
clang++ -shared -Xlinker --export-all-symbols -o TestContinue_f.dll TestContinue_f.o TestContinue_f_records.o  -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"  -L"C:/dev/jenkins/ws/Windows/OM_Win/build/lib//omc" -Wl,--stack,16777216,-rpath,'C:/dev/jenkins/ws/Windows/OM_Win/build/lib//omc'  -lOpenModelicaCompiler -fopenmp -Wl,-Bstatic -lregex -ltre -lintl -liconv -lexpat -lpthread -loleaut32 -limagehlp -lhdf5 -lz -lsz -Wl,-Bdynamic -lOpenModelicaRuntimeC -lomcgc -lryu  -Wl,-Bdynamic -static-libgcc -luuid -loleaut32 -lole32 -limagehlp -lws2_32 -lpthread -lm  -lgfortran -lquadmath -lmingw32 -lgcc_eh -lmoldname -lmingwex  -luser32 -lkernel32 -ladvapi32 -lshell32 -lopenblas -Wl,-Bdynamic -lm
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5afmake: *** [TestContinue_f.makefile:27: TestContinue_f] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/METAMO~1/meta/CONTIN~1.MO_'
RESULT: 2

'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/metamodelica/meta/Continue.mo_temp735/equations-expected"2024-06-13 15:33:46.075280600 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/metamodelica/meta/Continue.mo_temp735/equations-got"2024-06-13 15:33:50.136281300 +0200
@@ -9,8 +9,18 @@
 r := r + i;
 end for;
 end TestContinue.f;
 
 class TestContinue
-constant Real r1 = 465.0;
+constant Real r1 = TestContinue.f(-30.0:30.0);
 constant Real r2 = 465.0;
 end TestContinue;
+Error: Error building simulator. Build log: RESULT: -1073741502
+Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/METAMO~1/meta/CONTIN~1.MO_'
+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 TestContinue_f.o TestContinue_f.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 TestContinue_f_records.o TestContinue_f_records.c
+clang++ -shared -Xlinker --export-all-symbols -o TestContinue_f.dll TestContinue_f.o TestContinue_f_records.o  -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"  -L"C:/dev/jenkins/ws/Windows/OM_Win/build/lib//omc" -Wl,--stack,16777216,-rpath,'C:/dev/jenkins/ws/Windows/OM_Win/build/lib//omc'  -lOpenModelicaCompiler -fopenmp -Wl,-Bstatic -lregex -ltre -lintl -liconv -lexpat -lpthread -loleaut32 -limagehlp -lhdf5 -lz -lsz -Wl,-Bdynamic -lOpenModelicaRuntimeC -lomcgc -lryu  -Wl,-Bdynamic -static-libgcc -luuid -loleaut32 -lole32 -limagehlp -lws2_32 -lpthread -lm  -lgfortran -lquadmath -lmingw32 -lgcc_eh -lmoldname -lmingwex  -luser32 -lkernel32 -ladvapi32 -lshell32 -lopenblas -Wl,-Bdynamic -lm
+Mingw-w64 runtime failure:
+VirtualProtect failed with code 0x5afmake: *** [TestContinue_f.makefile:27: TestContinue_f] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/METAMO~1/meta/CONTIN~1.MO_'
+RESULT: 2
+
'' 
Equation mismatch: omc-diff says: 
Line 14: Text differs:
expected:  = 
got:       = TestContinue.f(

== 1 out of 1 tests failed [metamodelica/meta/Continue.mo_temp735, time: 16]