Skip to content

Failed

metamodelica_meta.Try.mos (from (result.xml))

Failing for the past 275 builds (Since #3430 )
Took 2 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Try.mos                                                                           ... equation mismatch [time: 2]

==== Log C:\WINDOWS\TEMP/omc-rtest-OpenModelica/metamodelica/meta/Try.mos_temp9390/log-Try.mos
true
""
true
""
"package Try
  function f
    output Real o;
  algorithm
    try
      o := 1.5;
    else
      fail();
    end try;;
  end f;

  model M
    Real r = f();
  end M;
end Try;"
""
"function Try.f
  output Real o;
algorithm
  matchcontinue ()
      case ()
        algorithm
          o := 1.5;
        then
          ();
      case ()
        algorithm
          fail();
        then
          ();
    end matchcontinue;
end Try.f;

class Try.M
  Real r = 1.5;
end Try.M;
"
""

""
'' 
Equation mismatch: diff says: 
--- "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/metamodelica/meta/Try.mos_temp9390/equations-expected"2024-04-18 16:48:55.573470000 +0200
+++ "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/metamodelica/meta/Try.mos_temp9390/equations-got"2024-04-18 16:48:57.405472500 +0200
@@ -38,7 +38,7 @@
 class Try.M
 Real r = 1.5;
 end Try.M;
 "
 ""
-1.5
+
 ""
'' 
Equation mismatch: omc-diff says: 
Line 43: Lexical token differs:
expected: 1.5
got:      


== 1 out of 1 tests failed [metamodelica/meta/Try.mos_temp9390, time: 2]