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.001304/0.001304, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0021/0.0021, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.12 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 73.11 kB / 416.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1271, allocations: 62.45 MB / 479.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003582/0.1307, allocations: 1.981 MB / 481.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1327, allocations: 1.161 MB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.1328, allocations: 4 kB / 482.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.1332, allocations: 51.72 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1334, allocations: 79.52 kB / 482.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.1337, allocations: 123.6 kB / 482.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.1341, allocations: 318.4 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1343, allocations: 37.02 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.1345, allocations: 99.39 kB / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.1347, allocations: 123.3 kB / 483.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.1348, allocations: 8 kB / 483.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005254/0.1353, allocations: 311.5 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.838e-05/0.1354, allocations: 59.64 kB / 483.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1355, allocations: 111.2 kB / 483.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.136, allocations: 434.4 kB / 484.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.136, allocations: 0 / 484.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.136, allocations: 0 / 484.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.136, allocations: 0 / 484.2 MB, free: 0.8008 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.0008194/0.1368, allocations: 0.5622 MB / 484.7 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1369, allocations: 12.81 kB / 484.8 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.137, allocations: 36.56 kB / 484.8 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1372, allocations: 235.9 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.021e-05/0.1373, allocations: 33.09 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.1374, allocations: 32 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008713/0.1383, allocations: 497.4 kB / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1383, allocations: 0 / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.1383, allocations: 12 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.1384, allocations: 32.92 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.1391, allocations: 423.7 kB / 486 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.1406, allocations: 1.181 MB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1408, allocations: 82.52 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.1409, allocations: 40.83 kB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.141, allocations: 7.984 kB / 487.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.141, allocations: 38.5 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.141, allocations: 0 / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004698/0.1415, allocations: 153.7 kB / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.1415, allocations: 51.41 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1417, allocations: 178.2 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1417, allocations: 25.7 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.1418, allocations: 219.2 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1419, allocations: 27.64 kB / 488 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.1421, allocations: 61.55 kB / 488.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1422, allocations: 326.8 kB / 488.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1424, allocations: 47.95 kB / 488.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.1427, allocations: 168.2 kB / 488.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.1431, allocations: 248 kB / 488.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1431, allocations: 4 kB / 488.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006102/0.1437, allocations: 257.6 kB / 489.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.1437, allocations: 6.656 kB / 489.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1438, allocations: 7.938 kB / 489.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.1438, allocations: 8 kB / 489.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.1442, allocations: 87.91 kB / 489.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.1455, allocations: 1.781 MB / 491 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.1456, allocations: 27.73 kB / 491 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.1456, allocations: 20 kB / 491 MB, free: 9.473 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.0003122/0.146, allocations: 173.8 kB / 491.2 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.146, allocations: 11.91 kB / 491.2 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005225/0.1465, allocations: 194 kB / 491.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.1466, allocations: 7.938 kB / 491.4 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1466, allocations: 0 / 491.4 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1466, allocations: 0 / 491.4 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.1469, allocations: 297.5 kB / 491.7 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.147, allocations: 0 / 491.7 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.1472, allocations: 59.97 kB / 491.8 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1472, allocations: 4 kB / 491.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1472, allocations: 4 kB / 491.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.1484, allocations: 1.778 MB / 493.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1485, allocations: 0 / 493.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.1489, allocations: 215.4 kB / 493.8 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.1489, allocations: 84.95 kB / 493.8 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.1489, allocations: 15.92 kB / 493.9 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.149, allocations: 96 / 493.9 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.1492, allocations: 15.98 kB / 493.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1492, allocations: 11.94 kB / 493.9 MB, free: 6.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.908e-05/0.1493, allocations: 114.5 kB / 494 MB, free: 6.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1493, allocations: 0 / 494 MB, free: 6.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005113/0.1498, allocations: 99.59 kB / 494.1 MB, free: 6.246 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.0002975/0.1501, allocations: 143.1 kB / 494.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000544/0.1507, allocations: 185.4 kB / 494.4 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1507, allocations: 0 / 494.4 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.151, allocations: 92.03 kB / 494.5 MB, free: 5.828 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.1513, allocations: 16.28 kB / 494.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008041/0.1521, allocations: 0.5916 MB / 495.1 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.1526, allocations: 0.7946 MB / 495.9 MB, free: 4.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002679/0.1528, allocations: 69.12 kB / 496 MB, free: 4.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.1529, allocations: 19.44 kB / 496 MB, free: 4.293 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1529, allocations: 0 / 496 MB, free: 4.293 MB / 366.1 MB Notification: Performance of Templates: time 0.006521/0.1594, allocations: 2.94 MB / 498.9 MB, free: 1.395 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