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.001426/0.001426, allocations: 97.09 kB / 16.98 MB, free: 5.938 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.001217/0.001217, allocations: 189.2 kB / 17.88 MB, free: 5.594 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.403/1.403, allocations: 223.2 MB / 241.8 MB, free: 388 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.214/0.214, allocations: 44.23 MB / 337.1 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004319, allocations: 8 kB / 409.6 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 61.92 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002036/0.1387, allocations: 1.541 MB / 473 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1402, allocations: 0.9786 MB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.1403, allocations: 4 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.1406, allocations: 59.7 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.1408, allocations: 55.83 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.1412, allocations: 127.6 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.1415, allocations: 187.5 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.384e-05/0.1415, allocations: 36.73 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1417, allocations: 79.58 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1418, allocations: 99.53 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1418, allocations: 4 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.1423, allocations: 311.6 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.1424, allocations: 51.69 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.1424, allocations: 73.56 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003359/0.1428, allocations: 275.7 kB / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1428, allocations: 0 / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1428, allocations: 0 / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1428, allocations: 0 / 475.3 MB, free: 9.875 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.0007602/0.1436, allocations: 0.519 MB / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1436, allocations: 8.031 kB / 475.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.1437, allocations: 35.62 kB / 475.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.144, allocations: 238.6 kB / 476.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.144, allocations: 28.95 kB / 476.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.144, allocations: 31.98 kB / 476.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007177/0.1448, allocations: 493.4 kB / 476.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1448, allocations: 0 / 476.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.1448, allocations: 19.98 kB / 476.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/0.1449, allocations: 28.98 kB / 476.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006156/0.1455, allocations: 427.7 kB / 477.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.1469, allocations: 1.209 MB / 478.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1472, allocations: 86.48 kB / 478.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.1472, allocations: 0 / 478.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1472, allocations: 34.56 kB / 478.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.245e-06/0.1472, allocations: 0 / 478.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000516/0.1478, allocations: 177.6 kB / 478.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.1478, allocations: 55.34 kB / 478.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1479, allocations: 162.3 kB / 478.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.148, allocations: 33.64 kB / 478.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1481, allocations: 211.3 kB / 479.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1481, allocations: 31.64 kB / 479.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.1482, allocations: 4 kB / 479.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1483, allocations: 326.8 kB / 479.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1484, allocations: 51.95 kB / 479.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.1487, allocations: 180.2 kB / 479.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.1488, allocations: 83.89 kB / 479.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1489, allocations: 4 kB / 479.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004602/0.1493, allocations: 265.3 kB / 480 MB, free: 4.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1493, allocations: 8 kB / 480 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1494, allocations: 4.562 kB / 480 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1494, allocations: 4 kB / 480 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.1497, allocations: 91.88 kB / 480.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.1509, allocations: 1.785 MB / 481.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.151, allocations: 31.77 kB / 481.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.1511, allocations: 16 kB / 481.9 MB, free: 2.848 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.0002297/0.1513, allocations: 184.2 kB / 482.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.1514, allocations: 15.77 kB / 482.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005482/0.1519, allocations: 214.1 kB / 482.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1519, allocations: 0 / 482.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1519, allocations: 0 / 482.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1519, allocations: 0 / 482.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.1523, allocations: 289.5 kB / 482.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1523, allocations: 4 kB / 482.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.1526, allocations: 63.91 kB / 482.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.1526, allocations: 4 kB / 482.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.1526, allocations: 11.98 kB / 482.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.1541, allocations: 1.77 MB / 484.5 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1541, allocations: 4.031 kB / 484.5 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.1545, allocations: 227.4 kB / 484.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.1546, allocations: 88.97 kB / 484.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1547, allocations: 4 kB / 484.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1548, allocations: 11.98 kB / 484.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.1548, allocations: 11.92 kB / 484.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1549, allocations: 4 kB / 484.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.155, allocations: 113.5 kB / 484.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.155, allocations: 0 / 484.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005852/0.1556, allocations: 103.5 kB / 485 MB, free: 15.59 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.0003544/0.1559, allocations: 143.2 kB / 485.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000597/0.1565, allocations: 188.8 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.1566, allocations: 4 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.1569, allocations: 107.8 kB / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1571, allocations: 7.984 kB / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1581, allocations: 0.5708 MB / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.1587, allocations: 0.8063 MB / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002047/0.1589, allocations: 65.19 kB / 486.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.1589, allocations: 15.44 kB / 486.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1589, allocations: 0 / 486.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Templates: time 0.006736/0.1657, allocations: 2.784 MB / 489.7 MB, free: 10.89 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","../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