Skip to content

Regression

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/metamodelica/meta/PartialFn2.mo_temp4639/log-PartialFn2.mo
function PartialFn2.AddInt
  input Integer i;
  output Integer out;
algorithm
  out := 1 + i;
end PartialFn2.AddInt;

function PartialFn2.ApplyApplyIntOp
  input inFuncFunc<function>(.PartialFn2.ApplyApplyIntOp.FuncIntToInt<function>(#Integer in1) => #Integer inFunc, #Integer in1) => #Integer inFuncFunc;
  input inFunc<function>(#Integer in1) => #Integer inFunc;
  input Integer i;
  output Integer outInt;
algorithm
  outInt := unbox(inFuncFunc(inFunc, #(i)));
end PartialFn2.ApplyApplyIntOp;

function PartialFn2.ApplyIntOp
  input inFunc<function>(#Integer in1) => #Integer inFunc;
  input Integer i;
  output Integer outInt;
algorithm
  outInt := unbox(inFunc(#(i)));
end PartialFn2.ApplyIntOp;

function PartialFn2.TestApplyApplyIntOp
  input Integer i1;
  output Integer out;
algorithm
  out := PartialFn2.ApplyApplyIntOp(PartialFn2.ApplyIntOp, PartialFn2.AddInt, i1);
end PartialFn2.TestApplyApplyIntOp;

class PartialFn2
  constant Integer i1 = 2;
  Integer i2 = 3;
end PartialFn2;
Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/METAMO~1/meta/PARTIA~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 PartialFn2_TestApplyApplyIntOp.o PartialFn2_TestApplyApplyIntOp.c
      0 [main] sh (5457676) child_copy: cygheap read copy failed, 0x0..0x80000CB58, done 0, windows pid 5457676, Win32 error 299
make: *** [PartialFn2_TestApplyApplyIntOp.makefile:25: PartialFn2_TestApplyApplyIntOp] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/METAMO~1/meta/PARTIA~1.MO_'
RESULT: 2

'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/metamodelica/meta/PartialFn2.mo_temp4639/equations-expected"2024-06-13 15:33:44.188162100 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/metamodelica/meta/PartialFn2.mo_temp4639/equations-got"2024-06-13 15:33:47.459281900 +0200
@@ -31,5 +31,12 @@
 
 class PartialFn2
 constant Integer i1 = 2;
 Integer i2 = 3;
 end PartialFn2;
+Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/METAMO~1/meta/PARTIA~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 PartialFn2_TestApplyApplyIntOp.o PartialFn2_TestApplyApplyIntOp.c
+0 [main] sh (5457676) child_copy: cygheap read copy failed, 0x0..0x80000CB58, done 0, windows pid 5457676, Win32 error 299
+make: *** [PartialFn2_TestApplyApplyIntOp.makefile:25: PartialFn2_TestApplyApplyIntOp] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/METAMO~1/meta/PARTIA~1.MO_'
+RESULT: 2
+
'' 
Equation mismatch: omc-diff says: 
Line 36: Actual file has more input than expected.

== 1 out of 1 tests failed [metamodelica/meta/PartialFn2.mo_temp4639, time: 17]