Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 97.25 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 189.3 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2015/0.2015, allocations: 44.25 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003244, allocations: 9.031 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1257, allocations: 61.92 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002474/0.1282, allocations: 1.579 MB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.13, allocations: 1.013 MB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1301, allocations: 4 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.1305, allocations: 59.66 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.1307, allocations: 67.59 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.1311, allocations: 119.4 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.1315, allocations: 286.4 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.256e-05/0.1316, allocations: 36.73 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.1318, allocations: 95.45 kB / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.1321, allocations: 119.3 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.1321, allocations: 12 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006205/0.1327, allocations: 299.5 kB / 475.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.315e-05/0.1328, allocations: 55.69 kB / 475.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.012e-05/0.1329, allocations: 65.52 kB / 475.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.1334, allocations: 299.4 kB / 475.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1334, allocations: 0 / 475.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1334, allocations: 0 / 475.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1334, allocations: 0 / 475.7 MB, free: 9.562 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.0007598/0.1342, allocations: 0.5268 MB / 476.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1342, allocations: 8.031 kB / 476.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.413e-05/0.1343, allocations: 31.62 kB / 476.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.1346, allocations: 234.7 kB / 476.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.1347, allocations: 28.95 kB / 476.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.1347, allocations: 35.94 kB / 476.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008084/0.1355, allocations: 0.4896 MB / 477 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1356, allocations: 0 / 477 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.1356, allocations: 15.98 kB / 477.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/0.1356, allocations: 28.98 kB / 477.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.1363, allocations: 435.7 kB / 477.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.1378, allocations: 1.181 MB / 478.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.1381, allocations: 90.48 kB / 478.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1382, allocations: 40.83 kB / 478.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.1382, allocations: 15.94 kB / 478.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1383, allocations: 34.55 kB / 478.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.1383, allocations: 3.938 kB / 478.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004778/0.1387, allocations: 173.6 kB / 479 MB, free: 5.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.1388, allocations: 55.41 kB / 479.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.139, allocations: 158.3 kB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.139, allocations: 29.7 kB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.1391, allocations: 215.3 kB / 479.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1392, allocations: 27.66 kB / 479.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.1392, allocations: 4 kB / 479.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1393, allocations: 326.8 kB / 479.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1395, allocations: 51.95 kB / 479.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.1397, allocations: 176.2 kB / 480.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.1399, allocations: 87.94 kB / 480.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.1399, allocations: 7.953 kB / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000466/0.1403, allocations: 257 kB / 480.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1404, allocations: 10.5 kB / 480.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1404, allocations: 4 kB / 480.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1404, allocations: 8 kB / 480.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.1408, allocations: 92.45 kB / 480.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.1418, allocations: 1.785 MB / 482.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.142, allocations: 35.77 kB / 482.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.142, allocations: 12 kB / 482.4 MB, free: 2.492 MB / 350.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.0002323/0.1423, allocations: 182.1 kB / 482.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.1423, allocations: 11.81 kB / 482.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.1428, allocations: 206.1 kB / 482.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1428, allocations: 0 / 482.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1428, allocations: 0 / 482.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1429, allocations: 0 / 482.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.1432, allocations: 297.5 kB / 483 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1432, allocations: 3.953 kB / 483 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.1434, allocations: 71.91 kB / 483.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1434, allocations: 0 / 483.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.1435, allocations: 4 kB / 483.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008834/0.1444, allocations: 1.778 MB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1444, allocations: 0 / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.1447, allocations: 227.9 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1448, allocations: 88.97 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1448, allocations: 0 / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-05/0.1449, allocations: 15.98 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1449, allocations: 4 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.145, allocations: 4 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.573e-05/0.145, allocations: 113.5 kB / 485.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1451, allocations: 3.938 kB / 485.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000475/0.1455, allocations: 111.5 kB / 485.4 MB, free: 15.23 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.0002674/0.1458, allocations: 135.3 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005163/0.1463, allocations: 200.8 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1463, allocations: 0 / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.1466, allocations: 91.94 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.1469, allocations: 8 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009548/0.1479, allocations: 0.5855 MB / 486.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1483, allocations: 0.7985 MB / 487.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.1485, allocations: 65.12 kB / 487.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.1485, allocations: 23.44 kB / 487.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1486, allocations: 0 / 487.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Templates: time 0.006853/0.1554, allocations: 2.875 MB / 490.2 MB, free: 10.45 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches