Failed
tests / testsuite-gcc / simulation_modelica_inlineFunction.testBug4808.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ ticket4808 ... equation mismatch [time: 0] ==== Log /tmp/omc-rtest-unknown/simulation/modelica/inlineFunction/testBug4808.mos_temp404/log-testBug4808.mos false "Error: Failed to load package Modelica (3.2.2) using MODELICAPATH /var/lib/jenkins2/ws/OpenModelica_maintenance_v1.14_2/build/bin/../lib/omlibrary. " true "" true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'foobar', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: foobar" end SimulationResult; "[<interactive>:3:3-3:14:writable] Error: Class Complex not found in scope foobar. Error: Error occurred while flattening model foobar " "" Equation mismatch: diff says: --- /tmp/omc-rtest-unknown/simulation/modelica/inlineFunction/testBug4808.mos_temp404/equations-expected2019-10-27 11:24:42.860187849 +0000 +++ /tmp/omc-rtest-unknown/simulation/modelica/inlineFunction/testBug4808.mos_temp404/equations-got2019-10-27 11:24:42.996186309 +0000 @@ -1,58 +1,18 @@ +false +"Error: Failed to load package Modelica (3.2.2) using MODELICAPATH /var/lib/jenkins2/ws/OpenModelica_maintenance_v1.14_2/build/bin/../lib/omlibrary. +" true "" true "" -true -"" - -######################################## -dumpdaelow (before pre-optimization) -######################################## - - -unknown partition -======================================== - -Variables (6) -======================================== -1: k.im:VARIABLE() "Imaginary part of complex number" type: Real -2: k.re:VARIABLE() "Real part of complex number" type: Real -3: vA.im:VARIABLE() "Imaginary part of complex number" type: Real -4: vA.re:VARIABLE() "Real part of complex number" type: Real -5: vAt.im:VARIABLE() "Imaginary part of complex number" type: Real -6: vAt.re:VARIABLE() "Real part of complex number" type: Real - - -Equations (6, 6) -======================================== -1/1 (1): k.im = 0.0 [dynamic |0|0|0|0|] -2/2 (1): k.re = r [dynamic |0|0|0|0|] -3/3 (1): vAt.im = k.re * vA.im + k.im * vA.re [dynamic |0|0|0|0|] -4/4 (1): vAt.re = k.re * vA.re - k.im * vA.im [dynamic |0|0|0|0|] -5/5 (1): vAt.re = time [dynamic |0|0|0|0|] -6/6 (1): vAt.im = 2.0 * time [dynamic |0|0|0|0|] - - -no matching - - - -BackendDAEType: simulation - - -Known variables only depending on parameters and constants - globalKnownVars (1) -======================================== -1: r:PARAM() = 10.0 type: Real - - record SimulationResult -resultFile = "foobar_res.mat", +resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'foobar', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", -messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. -LOG_SUCCESS | info | The simulation finished successfully. -" +messages = "Failed to build model: foobar" end SimulationResult; -"" -{0.0,0.2} -{0.0,0.1} +"[<interactive>:3:3-3:14:writable] Error: Class Complex not found in scope foobar. +Error: Error occurred while flattening model foobar +" + + "" Equation mismatch: omc-diff says: Failed 't' 'f' Line 1: Text differs: expected: true got: false == 1 out of 1 tests failed [simulation/modelica/inlineFunction/testBug4808.mos_temp404, time: 1]