Failed
tests / testsuite-clang / simulation_modelica_nonlinear_system.TestFalseIterationNLS.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ TestFalseIterationNLS ... equation mismatch [time: 0] ==== Log /tmp/omc-rtest-unknown/simulation/modelica/nonlinear_system/TestFalseIterationNLS.mos_temp7232/log-TestFalseIterationNLS.mos false "Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary. " true "" true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestFalseIterationNLS', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: TestFalseIterationNLS" end SimulationResult; "[<interactive>:3:3-3:30:writable] Error: Class Modelica.SIunits.Pressure not found in scope TestFalseIterationNLS. Error: Error occurred while flattening model TestFalseIterationNLS " "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" Equation mismatch: diff says: --- /tmp/omc-rtest-unknown/simulation/modelica/nonlinear_system/TestFalseIterationNLS.mos_temp7232/equations-expected2019-01-09 22:36:00.123288248 +0000 +++ /tmp/omc-rtest-unknown/simulation/modelica/nonlinear_system/TestFalseIterationNLS.mos_temp7232/equations-got2019-01-09 22:36:00.215287444 +0000 @@ -1,181 +1,47 @@ +false +"Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary. +" true "" true "" -true -"" - - -********************* -* SimCode Equations * -********************* - - -allEquations: -======================================== - -6: T=273.15 + 10.0 * time [Real ] -7: p_s=4000000.0 * time [Real ] -10: (NONLINEAR) index:1 jacobian: false -crefs: p -8: ($TMP_pureComponentProperties__pTnc8.p_s, delta_hv, delta_hd, h_i) := pureComponentProperties_pTnc(p, T, 5); - -9: $TMP_pureComponentProperties__pTnc8.p_s - p_s (RESIDUAL) - -======================================== - - - -odeEquations (0 systems): -======================================== -======================================== - - - -algebraicEquations (1 systems): -======================================== -6: T=273.15 + 10.0 * time [Real ] -7: p_s=4000000.0 * time [Real ] -10: (NONLINEAR) index:1 jacobian: false -crefs: p -8: ($TMP_pureComponentProperties__pTnc8.p_s, delta_hv, delta_hd, h_i) := pureComponentProperties_pTnc(p, T, 5); - -9: $TMP_pureComponentProperties__pTnc8.p_s - p_s (RESIDUAL) - -======================================== - - -clockPartitions (0 systems): - -======================================== - - - -initialEquations: (3) -======================================== -1: alias of 7 -2: alias of 6 -5: (NONLINEAR) index:0 jacobian: false -crefs: p -3: ($TMP_pureComponentProperties__pTnc3.p_s, delta_hv, delta_hd, h_i) := pureComponentProperties_pTnc(p, T, 5); - -4: $TMP_pureComponentProperties__pTnc3.p_s - p_s (RESIDUAL) - -======================================== - - - -initialEquations_lambda0: (0) -======================================== - -removedInitialEquations: -======================================== - -startValueEquations: -======================================== - -nominalValueEquations: -======================================== - -minValueEquations: -======================================== - -maxValueEquations: -======================================== - -parameterEquations: -======================================== -11: nc=5 [Integer ] - -removedEquations: -======================================== - -algorithmAndEquationAsserts: -======================================== -12: assert(T >= 0.0, "Variable violating min constraint: 0.0 <= T, has value: " + String(T, "g")); - -13: assert(p_s >= 0.0, "Variable violating min constraint: 0.0 <= p_s, has value: " + String(p_s, "g")); - - -equationsForZeroCrossings: -======================================== - -jacobianEquations: -======================================== - -jacobianMatrices: -======================================== -Jacobian idx: 0 - -Jacobian idx: 1 - -Jacobian idx: 2 - -Jacobian idx: 3 - - -modelInfo: -======================================== -algVars (12) ----------------------- -index: 0: $TMP_pureComponentProperties__pTnc3.p_s (no alias) protected hideResult initial: no arrCref index:(1) [] -index: 1: $TMP_pureComponentProperties__pTnc8.p_s (no alias) protected hideResult initial: no arrCref index:(2) [] -index: 2: T (no alias) initial: 288.15no arrCref index:(3) [] -index: 3: delta_hd (no alias) initial: no arrCref index:(4) [] -index: 4: delta_hv (no alias) initial: no arrCref index:(5) [] -index: 5: h_i[1] (no alias) initial: arrCref:h_i index:(6) [5] -index: 6: h_i[2] (no alias) initial: no arrCref index:(7) [5] -index: 7: h_i[3] (no alias) initial: no arrCref index:(8) [5] -index: 8: h_i[4] (no alias) initial: no arrCref index:(9) [5] -index: 9: h_i[5] (no alias) initial: no arrCref index:(10) [5] -index: 10: p (no alias) initial: no arrCref index:(11) [] -index: 11: p_s (no alias) initial: 0.0no arrCref index:(12) [] -intParamVars ----------------------- -index: 0: nc (no alias) initial: 5no arrCref index:(13) [] -functions: ------------ - -External Function: pureComponentProperties_pTnc -outVars: ppS (Real, ) , delta_hv (Real, ) , delta_hd (Real, ) , h_idealGas (Real, ) , record SimulationResult -resultFile = "TestFalseIterationNLS_res.mat", +resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestFalseIterationNLS', 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: TestFalseIterationNLS" end SimulationResult; -"[<interactive>:20:3-20:42:writable] Warning: Unused input variable nc in function .pureComponentProperties_pTnc. +"[<interactive>:3:3-3:30:writable] Error: Class Modelica.SIunits.Pressure not found in scope TestFalseIterationNLS. +Error: Error occurred while flattening model TestFalseIterationNLS " -0.0 + "" --1.0 + "" --1.0 + "" -1.672367152385719e-316 + "" -0.0 + "" -0.0 + "" -0.0 + "" -0.0 + "" -40000000.0 + "" --1.0 + "" --1.0 + "" -1.674850919200492e-316 + "" -0.0 + "" -0.0 + "" -0.0 + "" -0.0 + "" Equation mismatch: omc-diff says: Failed 't' 'f' Line 1: Text differs: expected: true got: false == 1 out of 1 tests failed [simulation/modelica/nonlinear_system/TestFalseIterationNLS.mos_temp7232, time: 0]