Skip to content

Failed

tests / testsuite-clang / openmodelica_interactive-API.UsesAnnotation1.mos (from (result.xml))

Failing for the past 3 builds (Since #1 )
Took 0 ms.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-unknown/openmodelica/interactive-API/UsesAnnotation1.mos_temp9060/log-UsesAnnotation1.mos
true
""
"function A.B.f
  input Real x;
  output Real y;
algorithm
  y := 2.0 * x;
end A.B.f;

class A.B
  Real x;
equation
  x = A.B.f(time);
end A.B;
"
"Notification: Skipped loading package Modelica (3.2.2,default) using MODELICAPATH /var/lib/jenkins/ws/OpenModelica_maintenance_v1.14_2/build/bin/../lib/omlibrary (uses-annotation may be wrong).
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/openmodelica/interactive-API/UsesAnnotation1.mos_temp9060/equations-expected2019-10-27 11:26:58.701855548 +0000
+++ /tmp/omc-rtest-unknown/openmodelica/interactive-API/UsesAnnotation1.mos_temp9060/equations-got2019-10-27 11:26:58.821855966 +0000
@@ -11,9 +11,7 @@
 Real x;
 equation
 x = A.B.f(time);
 end A.B;
 "
-"Notification: Automatically loaded package Modelica 3.2.2 due to uses annotation.
-Notification: Automatically loaded package Complex 3.2.2 due to uses annotation.
-Notification: Automatically loaded package ModelicaServices 3.2.2 due to uses annotation.
+"Notification: Skipped loading package Modelica (3.2.2,default) using MODELICAPATH /var/lib/jenkins/ws/OpenModelica_maintenance_v1.14_2/build/bin/../lib/omlibrary (uses-annotation may be wrong).
 "

Equation mismatch: omc-diff says:
Failed 'A' 'S'
Line 16: Text differs:
expected: "Notification: Automatically loaded package Modelica 
got:      "Notification: Skipped loading package Modelica (

== 1 out of 1 tests failed [openmodelica/interactive-API/UsesAnnotation1.mos_temp9060, time: 0]