Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2453/0.2453, allocations: 46.12 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003267/0.003267, allocations: 81.17 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1668, allocations: 62.45 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003529/0.1704, allocations: 1.928 MB / 482.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1724, allocations: 1.122 MB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.1725, allocations: 4 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.1729, allocations: 71.58 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.1731, allocations: 75.52 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.1735, allocations: 147.4 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.1738, allocations: 270.4 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.754e-05/0.1739, allocations: 33.02 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.1741, allocations: 111.3 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.1743, allocations: 119.4 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.1743, allocations: 8 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006302/0.175, allocations: 327.4 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.789e-05/0.1751, allocations: 47.7 kB / 484.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.1752, allocations: 123.2 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005902/0.1758, allocations: 430.5 kB / 484.9 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1758, allocations: 0 / 484.9 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1758, allocations: 0 / 484.9 MB, free: 380 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.1758, allocations: 4 kB / 484.9 MB, free: 376 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0008207/0.1767, allocations: 0.566 MB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1767, allocations: 8.031 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.1768, allocations: 32.56 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.1771, allocations: 235.9 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.1771, allocations: 33.11 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.1771, allocations: 28 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007385/0.1779, allocations: 0.4896 MB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1779, allocations: 0 / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.1779, allocations: 16 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/0.178, allocations: 24.98 kB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006787/0.1787, allocations: 423.7 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.1802, allocations: 1.189 MB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1804, allocations: 78.47 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1806, allocations: 36.83 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.1806, allocations: 16.14 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1807, allocations: 30.56 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1807, allocations: 0 / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004931/0.1812, allocations: 153.5 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1812, allocations: 55.34 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1814, allocations: 166.3 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1814, allocations: 33.7 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.1816, allocations: 223.2 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.1816, allocations: 23.66 kB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.543e-05/0.1817, allocations: 57.61 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1818, allocations: 322.8 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.182, allocations: 51.95 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.1822, allocations: 164.3 kB / 489.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.1826, allocations: 252 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.1826, allocations: 0 / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005172/0.1832, allocations: 261.3 kB / 489.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1832, allocations: 4 kB / 489.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1832, allocations: 8 kB / 489.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1832, allocations: 8 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.1836, allocations: 87.89 kB / 489.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.1849, allocations: 1.79 MB / 491.7 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1851, allocations: 27.95 kB / 491.8 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.1851, allocations: 24 kB / 491.8 MB, free: 9.039 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003787/0.1855, allocations: 180.2 kB / 492 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.1855, allocations: 7.906 kB / 492 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005649/0.1861, allocations: 194.1 kB / 492.2 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1861, allocations: 3.938 kB / 492.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1861, allocations: 0 / 492.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1861, allocations: 4 kB / 492.2 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.1865, allocations: 285.6 kB / 492.4 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1865, allocations: 0 / 492.4 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.1868, allocations: 63.91 kB / 492.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1868, allocations: 0 / 492.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1868, allocations: 11.94 kB / 492.5 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.1879, allocations: 1.774 MB / 494.3 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1879, allocations: 0 / 494.3 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.1883, allocations: 223.6 kB / 494.5 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.1884, allocations: 84.95 kB / 494.6 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.1884, allocations: 7.938 kB / 494.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.1885, allocations: 7.984 kB / 494.6 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.1886, allocations: 8 kB / 494.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1886, allocations: 4 kB / 494.6 MB, free: 6.035 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.929e-05/0.1887, allocations: 114.3 kB / 494.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1887, allocations: 0 / 494.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004838/0.1892, allocations: 107.6 kB / 494.8 MB, free: 5.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002956/0.1895, allocations: 143.1 kB / 495 MB, free: 5.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005965/0.1901, allocations: 187.6 kB / 495.2 MB, free: 5.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1901, allocations: 0 / 495.2 MB, free: 5.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.1904, allocations: 93.06 kB / 495.2 MB, free: 5.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.1907, allocations: 22.94 kB / 495.3 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000967/0.1917, allocations: 474.1 kB / 495.7 MB, free: 4.895 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.1922, allocations: 0.8021 MB / 496.5 MB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.1924, allocations: 53.2 kB / 496.6 MB, free: 4.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.1925, allocations: 19.44 kB / 496.6 MB, free: 3.996 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1925, allocations: 4 kB / 496.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of Templates: time 0.007663/0.2001, allocations: 3.043 MB / 499.7 MB, free: 0.9883 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches