Failed
tests / testsuite-clang / simulation_modelica_synchronous.WhenClocks.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ WhenClocks ... equation mismatch [time: 0] ==== Log /tmp/omc-rtest-unknown/simulation/modelica/synchronous/WhenClocks.mos_temp8513/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_temp8513/equations-expected2019-01-18 20:40:42.657336640 +0000 +++ /tmp/omc-rtest-unknown/simulation/modelica/synchronous/WhenClocks.mos_temp8513/equations-got2019-01-18 20:40:42.721336061 +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_temp8513, time: 0]