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.001141/0.001141, allocations: 117.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 74.05 kB / 417.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1201, allocations: 62.44 MB / 479.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003329/0.1235, allocations: 1.985 MB / 481.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1253, allocations: 1.126 MB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.1253, allocations: 0 / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.1257, allocations: 63.64 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.1259, allocations: 67.59 kB / 482.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.1263, allocations: 135.5 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.1266, allocations: 262.4 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.986e-05/0.1267, allocations: 37 kB / 483.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.1269, allocations: 107.4 kB / 483.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1271, allocations: 127.3 kB / 483.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.1272, allocations: 8 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/0.1277, allocations: 315.5 kB / 483.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.1278, allocations: 55.62 kB / 483.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.1279, allocations: 119.2 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005627/0.1285, allocations: 434.5 kB / 484.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1285, allocations: 0 / 484.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1285, allocations: 0 / 484.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1285, allocations: 0 / 484.3 MB, free: 0.75 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.0008447/0.1294, allocations: 0.5699 MB / 484.9 MB, free: 136 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1294, allocations: 8.031 kB / 484.9 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.378e-05/0.1295, allocations: 32.56 kB / 484.9 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.1298, allocations: 243.9 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.1299, allocations: 29.06 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.1299, allocations: 32 kB / 485.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007825/0.1307, allocations: 493.4 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1307, allocations: 0 / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.1308, allocations: 16 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/0.1308, allocations: 24.98 kB / 485.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/0.1315, allocations: 431.7 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.1329, allocations: 1.181 MB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1331, allocations: 78.53 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.1332, allocations: 40.83 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.1333, allocations: 7.984 kB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.1333, allocations: 30.56 kB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.417e-06/0.1333, allocations: 7.922 kB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004749/0.1338, allocations: 157.7 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.1338, allocations: 51.41 kB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.134, allocations: 175.7 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.134, allocations: 25.7 kB / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1342, allocations: 219.2 kB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1342, allocations: 27.64 kB / 488.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.1343, allocations: 57.61 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1344, allocations: 322.8 kB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1345, allocations: 51.94 kB / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.1349, allocations: 172.2 kB / 488.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.1352, allocations: 252.3 kB / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1352, allocations: 7.938 kB / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004706/0.1357, allocations: 245.6 kB / 489.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.1358, allocations: 14.72 kB / 489.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1358, allocations: 4 kB / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1358, allocations: 4 kB / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.1362, allocations: 83.91 kB / 489.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.1374, allocations: 1.789 MB / 491.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.1375, allocations: 31.73 kB / 491.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.1376, allocations: 12 kB / 491.2 MB, free: 9.426 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.0002664/0.1378, allocations: 177.7 kB / 491.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1379, allocations: 8.094 kB / 491.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/0.1384, allocations: 202 kB / 491.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1384, allocations: 7.938 kB / 491.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1384, allocations: 0 / 491.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1384, allocations: 0 / 491.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.1387, allocations: 297.5 kB / 491.8 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1387, allocations: 0 / 491.8 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.139, allocations: 59.97 kB / 491.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.139, allocations: 0 / 491.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.139, allocations: 8 kB / 491.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009612/0.14, allocations: 1.778 MB / 493.7 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.14, allocations: 4.031 kB / 493.7 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.1403, allocations: 211.3 kB / 493.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/0.1404, allocations: 88.95 kB / 494 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1405, allocations: 3.938 kB / 494 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/0.1405, allocations: 11.98 kB / 494 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.1406, allocations: 12.05 kB / 494 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.1406, allocations: 4 kB / 494 MB, free: 6.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.731e-05/0.1407, allocations: 118.5 kB / 494.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1407, allocations: 0 / 494.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005409/0.1413, allocations: 99.53 kB / 494.2 MB, free: 6.195 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.0003565/0.1417, allocations: 143.1 kB / 494.4 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005742/0.1422, allocations: 196.8 kB / 494.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1423, allocations: 0 / 494.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.1426, allocations: 87.89 kB / 494.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.1428, allocations: 16.28 kB / 494.7 MB, free: 5.754 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1439, allocations: 0.5878 MB / 495.3 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.1443, allocations: 0.7943 MB / 496 MB, free: 4.328 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002052/0.1446, allocations: 65.19 kB / 496.1 MB, free: 4.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.1446, allocations: 19.44 kB / 496.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1446, allocations: 0 / 496.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of Templates: time 0.006845/0.1515, allocations: 2.989 MB / 499.1 MB, free: 1.297 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