Failed
flattening_modelica_scodeinst.FuncBuiltinMax.mo (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ FuncBuiltinMax ... equation mismatch [time: 0] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/flattening/modelica/scodeinst/FuncBuiltinMax.mo_temp3864/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_temp3864/equations-expected"2024-04-28 16:50:35.863303600 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/flattening/modelica/scodeinst/FuncBuiltinMax.mo_temp3864/equations-got"2024-04-28 16:50:35.952304600 +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_temp3864, time: 1]