Skip to content

Failed

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

Failing for the past 277 builds (Since #3430 )
Took 1 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + FuncBuiltinMax                                                                    ... equation mismatch [time: 1]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/flattening/modelica/scodeinst/FuncBuiltinMax.mo_temp8745/log-FuncBuiltinMax.mo
class FuncBuiltinMax
  Real r1 = 4.0;
  Real r2 = 3.0;
  Real r3 = max(r1, r2);
  Real r4 = max(1.0, r2);
  Real r5 = -1.073741823e9;
  Integer i1 = 6;
  Integer i2 = 4;
  Integer i3 = max(i2, i1);
  Integer i4 = -1073741823;
  Boolean b1 = true;
  Boolean b2 = true;
  Boolean b3 = max(b1, b2);
  Boolean b4 = false;
  enumeration(one, two, three) e1 = E.three;
  enumeration(one, two, three) e2 = E.three;
  enumeration(one, two, three) e3 = max(e1, e2);
  enumeration(one, two, three) e4 = E.one;
end FuncBuiltinMax;
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/flattening/modelica/scodeinst/FuncBuiltinMax.mo_temp8745/equations-expected"2024-04-19 12:10:44.945786600 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/flattening/modelica/scodeinst/FuncBuiltinMax.mo_temp8745/equations-got"2024-04-19 12:10:45.029788400 +0200
@@ -1,15 +1,15 @@
 class FuncBuiltinMax
 Real r1 = 4.0;
 Real r2 = 3.0;
 Real r3 = max(r1, r2);
 Real r4 = max(1.0, r2);
-Real r5 = -4.611686018427388e+18;
+Real r5 = -1.073741823e9;
 Integer i1 = 6;
 Integer i2 = 4;
 Integer i3 = max(i2, i1);
-Integer i4 = -4611686018427387903;
+Integer i4 = -1073741823;
 Boolean b1 = true;
 Boolean b2 = true;
 Boolean b3 = max(b1, b2);
 Boolean b4 = false;
 enumeration(one, two, three) e1 = E.three;
'' 
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/FuncBuiltinMax.mo_temp8745, time: 1]