Skip to content

Failed

tests / testsuite-clang / simulation_modelica_synchronous.WhenClocks.mos (from (result.xml))

Failing for the past 6 builds (Since #7 )
Took 0 ms.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-unknown/simulation/modelica/synchronous/WhenClocks.mos_temp9290/log-WhenClocks.mos
false
"Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
"
true
""
true
""
""
"[<interactive>:5:5-5:67:writable] Error: Class Modelica.Utilities.Streams.print not found in scope WhenClocks (looking for a function or record).
Error: Error occurred while flattening model WhenClocks
"
false
"[<interactive>:5:5-5:67:writable] Error: Class Modelica.Utilities.Streams.print not found in scope WhenClocks (looking for a function or record).
Error: Error occurred while flattening model WhenClocks
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/synchronous/WhenClocks.mos_temp9290/equations-expected2019-01-09 22:36:23.239085962 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/synchronous/WhenClocks.mos_temp9290/equations-got2019-01-09 22:36:23.303085402 +0000
@@ -1,109 +1,15 @@
+false
+"Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
+"
 true
 ""
 true
 ""
-true
 ""
-"function Modelica.Utilities.Streams.print \"Print string to terminal or file\"
-input String string = \"\" \"String to be printed\";
-input String fileName = \"\" \"File where to print (empty string is the terminal)\";
-
-external \"C\" ModelicaInternal_print(string, fileName);
-end Modelica.Utilities.Streams.print;
-
-class WhenClocks
-equation
-when Clock(0.1) then
-Modelica.Utilities.Streams.print(\"Clocked at \" + String(time, 6, 0, true), \"\");
-end when;
-end WhenClocks;
+"[<interactive>:5:5-5:67:writable] Error: Class Modelica.Utilities.Streams.print not found in scope WhenClocks (looking for a function or record).
+Error: Error occurred while flattening model WhenClocks
+"
+false
+"[<interactive>:5:5-5:67:writable] Error: Class Modelica.Utilities.Streams.print not found in scope WhenClocks (looking for a function or record).
+Error: Error occurred while flattening model WhenClocks
 "
-""
-synchronous features pre-phase: synchronousFeatures
-
-
-########################################
-clock partitioning (1 partitions)
-########################################
-
-
-clocked partition(1)
-========================================
-
-Variables (0)
-========================================
-
-
-Equations (0, 0)
-========================================
-
-
-Simple Equations (1, 0)
-========================================
-1/1 (0): algorithm
-Modelica.Utilities.Streams.print("Clocked at " + String(time, 6, 0, true), "");
-[dynamic |0|0|0|0|]
-
-
-State Sets
-========================================
-
-
-no matching
-
-
-
-Base clocks (1)
-========================================
-1: Clock(0.1)[1]
-
-
-Sub clocks (1)
-========================================
-1: factor(1/1) shift(0/1)  event(false)
-
-synchronous features post-phase: synchronousFeatures
-
-
-########################################
-clock partitioning (1 partitions)
-########################################
-
-
-clocked partition(1)
-========================================
-
-Variables (0)
-========================================
-
-
-Equations (0, 0)
-========================================
-
-
-Simple Equations (1, 0)
-========================================
-1/1 (0): algorithm
-Modelica.Utilities.Streams.print("Clocked at " + String(time, 6, 0, true), "");
-[dynamic |0|0|0|0|]
-
-
-State Sets
-========================================
-
-
-no matching
-
-
-
-Base clocks (1)
-========================================
-1: Clock(0.1)[1]
-
-
-Sub clocks (1)
-========================================
-1: factor(1/1) shift(0/1)  event(false)
-
-true
-""

Equation mismatch: omc-diff says:
Failed 't' 'f'
Line 1: Text differs:
expected: true
got:      false

== 1 out of 1 tests failed [simulation/modelica/synchronous/WhenClocks.mos_temp9290, time: 0]