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.0009751/0.0009753, allocations: 97.61 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 45.9 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002777, allocations: 8 kB / 417.9 MB, free: 20.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 63.47 MB / 481.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.001933/0.1476, allocations: 1.557 MB / 483 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.149, allocations: 1.006 MB / 484 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.839e-05/0.1491, allocations: 0 / 484 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.1494, allocations: 59.7 kB / 484 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.1495, allocations: 63.75 kB / 484.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.1499, allocations: 119.7 kB / 484.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1501, allocations: 187.5 kB / 484.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.428e-05/0.1502, allocations: 40.72 kB / 484.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.1503, allocations: 91.5 kB / 484.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.1505, allocations: 95.55 kB / 484.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1505, allocations: 4 kB / 484.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.1509, allocations: 311.6 kB / 484.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.151, allocations: 55.73 kB / 485 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.1511, allocations: 69.58 kB / 485 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.1514, allocations: 275.7 kB / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1514, allocations: 0 / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1514, allocations: 0 / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1515, allocations: 0 / 485.3 MB, free: 1.441 MB / 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.0006494/0.1521, allocations: 0.519 MB / 485.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1522, allocations: 12.03 kB / 485.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.1522, allocations: 31.62 kB / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1525, allocations: 246.5 kB / 486.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.1525, allocations: 28.98 kB / 486.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.1526, allocations: 28 kB / 486.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006754/0.1533, allocations: 497.4 kB / 486.7 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1533, allocations: 4 kB / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.1533, allocations: 12 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/0.1534, allocations: 28.98 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006153/0.154, allocations: 435.6 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.1554, allocations: 1.208 MB / 488.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1555, allocations: 82.53 kB / 488.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1556, allocations: 3.984 kB / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1556, allocations: 38.56 kB / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1556, allocations: 0 / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000457/0.1561, allocations: 173.8 kB / 488.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1561, allocations: 59.34 kB / 488.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1563, allocations: 162.3 kB / 488.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1563, allocations: 25.7 kB / 488.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1564, allocations: 219.3 kB / 489.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1564, allocations: 23.66 kB / 489.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/0.1564, allocations: 8 kB / 489.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.1565, allocations: 326.8 kB / 489.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1567, allocations: 51.95 kB / 489.5 MB, free: 13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.1569, allocations: 176.2 kB / 489.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1571, allocations: 91.94 kB / 489.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1571, allocations: 4 kB / 489.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004338/0.1575, allocations: 253.1 kB / 490 MB, free: 12.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1575, allocations: 8.562 kB / 490 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1576, allocations: 4 kB / 490 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1576, allocations: 12 kB / 490 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.1579, allocations: 87.88 kB / 490.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008423/0.1588, allocations: 1.785 MB / 491.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.1589, allocations: 31.78 kB / 491.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.159, allocations: 19.89 kB / 491.9 MB, free: 10.41 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001929/0.1592, allocations: 177.7 kB / 492.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.1592, allocations: 19.95 kB / 492.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.1597, allocations: 202 kB / 492.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1597, allocations: 3.984 kB / 492.3 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1597, allocations: 3.984 kB / 492.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1597, allocations: 0 / 492.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.16, allocations: 297.4 kB / 492.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.16, allocations: 0 / 492.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.1603, allocations: 67.94 kB / 492.7 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1603, allocations: 0 / 492.7 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1603, allocations: 8 kB / 492.7 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008054/0.1611, allocations: 1.774 MB / 494.5 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1611, allocations: 0 / 494.5 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.1615, allocations: 223.5 kB / 494.7 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.1615, allocations: 85.02 kB / 494.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.1615, allocations: 7.922 kB / 494.8 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.1616, allocations: 12 kB / 494.8 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.1617, allocations: 11.98 kB / 494.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1617, allocations: 4 kB / 494.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.472e-05/0.1618, allocations: 114.5 kB / 494.9 MB, free: 7.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1618, allocations: 0 / 494.9 MB, free: 7.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000432/0.1623, allocations: 111.5 kB / 495 MB, free: 7.145 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000249/0.1625, allocations: 131.8 kB / 495.2 MB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005242/0.1631, allocations: 200.7 kB / 495.4 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1631, allocations: 4 kB / 495.4 MB, free: 6.809 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.1634, allocations: 91.92 kB / 495.5 MB, free: 6.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.1636, allocations: 23.69 kB / 495.5 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007649/0.1643, allocations: 0.5678 MB / 496.1 MB, free: 6.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1647, allocations: 0.8063 MB / 496.9 MB, free: 5.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.1649, allocations: 61.25 kB / 496.9 MB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.1649, allocations: 19.42 kB / 496.9 MB, free: 5.195 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1649, allocations: 0 / 496.9 MB, free: 5.195 MB / 366.1 MB Notification: Performance of Templates: time 0.006162/0.1711, allocations: 2.787 MB / 499.7 MB, free: 2.449 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","../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