Skip to content

Failed

flattening_modelica_scodeinst.FuncBuiltinMin.mo (from (result.xml))

Failing for the past 277 builds (Since #3430 )
Took 0 ms.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + FuncBuiltinMin                                                                    ... equation mismatch [time: 0]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/flattening/modelica/scodeinst/FuncBuiltinMin.mo_temp7795/log-FuncBuiltinMin.mo
class FuncBuiltinMin
  Real r1 = 2.0;
  Real r2 = 1.0;
  Real r3 = min(r1, r2);
  Real r4 = min(r1, 100.0);
  Real r5 = 1.073741823e9;
  Integer i1 = 5;
  Integer i2 = 1;
  Integer i3 = min(i2, i1);
  Integer i4 = 1073741823;
  Boolean b1 = false;
  Boolean b2 = false;
  Boolean b3 = min(b1, b2);
  Boolean b4 = true;
  enumeration(one, two, three) e1 = E.one;
  enumeration(one, two, three) e2 = E.one;
  enumeration(one, two, three) e3 = min(e1, e2);
  enumeration(one, two, three) e4 = E.three;
end FuncBuiltinMin;
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/flattening/modelica/scodeinst/FuncBuiltinMin.mo_temp7795/equations-expected"2024-04-19 12:10:06.621788600 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/flattening/modelica/scodeinst/FuncBuiltinMin.mo_temp7795/equations-got"2024-04-19 12:10:06.753790000 +0200
@@ -1,15 +1,15 @@
 class FuncBuiltinMin
 Real r1 = 2.0;
 Real r2 = 1.0;
 Real r3 = min(r1, r2);
 Real r4 = min(r1, 100.0);
-Real r5 = 4.611686018427388e+18;
+Real r5 = 1.073741823e9;
 Integer i1 = 5;
 Integer i2 = 1;
 Integer i3 = min(i2, i1);
-Integer i4 = 4611686018427387903;
+Integer i4 = 1073741823;
 Boolean b1 = false;
 Boolean b2 = false;
 Boolean b3 = min(b1, b2);
 Boolean b4 = true;
 enumeration(one, two, three) e1 = E.one;
'' 
Equation mismatch: omc-diff says: 
Line 6: Real 4.611686018427388e+18 != 1.073741823e9
  eps: 0.000000, actual diff: 4611686017353646080.000000

== 1 out of 1 tests failed [flattening/modelica/scodeinst/FuncBuiltinMin.mo_temp7795, time: 0]