Skip to content

Failed

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/flattening/modelica/scodeinst/FuncBuiltinReduction.mo_temp5692/log-FuncBuiltinReduction.mo
class FuncBuiltinReduction
  Real r1 = 2.0;
  Real r2 = 25.0;
  Real r3 = 110.0;
  Real r4 = 14400.0;
  Real r5 = 420.0;
  Real r6 = 8.777798510069901e304;
  Real r7 = -8.777798510069901e304;
  Real r8 = 0.0;
  Real r9 = 1.0;
  Real r10 = /*Real*/(sum(sum(r1 * r2 for r1 in 1:integer(time)) for r2 in 1:4));
  Integer i1 = 0;
  Integer i2 = 9;
  Integer i3 = 14;
  Integer i4 = 60480;
  Integer i5 = 1073741823;
  Integer i6 = -1073741823;
  Integer i7 = 0;
  Integer i8 = 1;
  Boolean b1 = false;
  Boolean b2 = true;
  Boolean b3 = true;
  Boolean b4 = false;
  enumeration(one, two, three) e1 = E.one;
  enumeration(one, two, three) e2 = E.three;
  enumeration(one, two, three) e3 = E.three;
  enumeration(one, two, three) e4 = E.one;
end FuncBuiltinReduction;
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/flattening/modelica/scodeinst/FuncBuiltinReduction.mo_temp5692/equations-expected"2024-04-18 15:50:23.825864000 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/flattening/modelica/scodeinst/FuncBuiltinReduction.mo_temp5692/equations-got"2024-04-18 15:50:23.921864100 +0200
@@ -2,21 +2,21 @@
 Real r1 = 2.0;
 Real r2 = 25.0;
 Real r3 = 110.0;
 Real r4 = 14400.0;
 Real r5 = 420.0;
-Real r6 = 8.777798510069901e+304;
-Real r7 = -8.777798510069901e+304;
+Real r6 = 8.777798510069901e304;
+Real r7 = -8.777798510069901e304;
 Real r8 = 0.0;
 Real r9 = 1.0;
 Real r10 = /*Real*/(sum(sum(r1 * r2 for r1 in 1:integer(time)) for r2 in 1:4));
 Integer i1 = 0;
 Integer i2 = 9;
 Integer i3 = 14;
 Integer i4 = 60480;
-Integer i5 = 4611686018427387903;
-Integer i6 = -4611686018427387903;
+Integer i5 = 1073741823;
+Integer i6 = -1073741823;
 Integer i7 = 0;
 Integer i8 = 1;
 Boolean b1 = false;
 Boolean b2 = true;
 Boolean b3 = true;
'' 
Equation mismatch: omc-diff says: 
Line 16: Integer 4611686018427387903 != 1073741823

== 1 out of 1 tests failed [flattening/modelica/scodeinst/FuncBuiltinReduction.mo_temp5692, time: 1]