Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|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_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|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_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 99.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.0009895/0.0009896, allocations: 197.7 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.425/1.425, allocations: 227.2 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1953/0.1953, allocations: 45.92 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 8 kB / 418 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 63.45 MB / 481.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.001836/0.128, allocations: 1.482 MB / 482.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008361/0.1288, allocations: 0.5496 MB / 483.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.1289, allocations: 4 kB / 483.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.1291, allocations: 43.8 kB / 483.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1293, allocations: 55.83 kB / 483.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.1295, allocations: 87.75 kB / 483.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.1297, allocations: 155.6 kB / 483.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.728e-05/0.1298, allocations: 32.28 kB / 483.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.135e-05/0.1299, allocations: 67.66 kB / 483.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.13, allocations: 83.61 kB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1301, allocations: 4 kB / 484 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.1304, allocations: 219.8 kB / 484.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.1305, allocations: 47.83 kB / 484.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.1305, allocations: 57.58 kB / 484.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.1308, allocations: 215.7 kB / 484.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1308, allocations: 4 kB / 484.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1308, allocations: 0 / 484.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.1308, allocations: 0 / 484.5 MB, free: 2.285 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0006452/0.1315, allocations: 499.2 kB / 485 MB, free: 1.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1315, allocations: 12.03 kB / 485 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.1333, allocations: 203.3 kB / 485.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.1336, allocations: 262.7 kB / 485.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.1337, allocations: 16.56 kB / 485.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.1337, allocations: 23.94 kB / 485.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009755/0.1347, allocations: 0.5005 MB / 486 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1347, allocations: 0 / 486 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.1348, allocations: 8 kB / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/0.1348, allocations: 24.55 kB / 486 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.1362, allocations: 0.5915 MB / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.1385, allocations: 1.173 MB / 487.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.1392, allocations: 178.3 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1393, allocations: 0 / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.1393, allocations: 38.56 kB / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.1393, allocations: 0 / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001361/0.1407, allocations: 321.4 kB / 488.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.1407, allocations: 51.41 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.1411, allocations: 290.4 kB / 488.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.1412, allocations: 25.7 kB / 488.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.1413, allocations: 167.6 kB / 488.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.1414, allocations: 27.64 kB / 488.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.1414, allocations: 4 kB / 488.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1416, allocations: 330.8 kB / 489.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.142, allocations: 95.89 kB / 489.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.1424, allocations: 123.3 kB / 489.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.1428, allocations: 103.8 kB / 489.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1429, allocations: 0 / 489.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008925/0.1438, allocations: 273.2 kB / 489.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.1438, allocations: 4 kB / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1438, allocations: 0 / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/0.1438, allocations: 7.984 kB / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005871/0.1497, allocations: 463.3 kB / 490.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.1525, allocations: 1.957 MB / 492.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.153, allocations: 47.7 kB / 492.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.153, allocations: 11.98 kB / 492.2 MB, free: 10.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (13): * Single equations (assignments): 10 * 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.0002285/0.1533, allocations: 152.4 kB / 492.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.1533, allocations: 19.81 kB / 492.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.863e-05/0.1534, allocations: 25.7 kB / 492.4 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1534, allocations: 0 / 492.4 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1534, allocations: 0 / 492.4 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1534, allocations: 0 / 492.4 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.1538, allocations: 297.3 kB / 492.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1538, allocations: 7.938 kB / 492.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005738/0.1596, allocations: 455.2 kB / 493.2 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.1596, allocations: 0 / 493.2 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.1596, allocations: 7.984 kB / 493.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.1624, allocations: 1.945 MB / 495.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1624, allocations: 4.188 kB / 495.1 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008177/0.1632, allocations: 335 kB / 495.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.1633, allocations: 92.91 kB / 495.6 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.1634, allocations: 0 / 495.6 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.1637, allocations: 19.97 kB / 495.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.1638, allocations: 15.92 kB / 495.6 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.1638, allocations: 7.984 kB / 495.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.164, allocations: 205.9 kB / 495.8 MB, free: 6.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1641, allocations: 0 / 495.8 MB, free: 6.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003768/0.1644, allocations: 71.84 kB / 495.9 MB, free: 6.398 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.000217/0.1647, allocations: 115.8 kB / 496 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005925/0.1706, allocations: 0.6085 MB / 496.6 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1706, allocations: 0 / 496.6 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005439/0.1761, allocations: 0.4955 MB / 497.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.1764, allocations: 40.5 kB / 497.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1776, allocations: 0.54 MB / 497.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.1779, allocations: 0.7833 MB / 498.5 MB, free: 3.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.1781, allocations: 50.09 kB / 498.5 MB, free: 3.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.1782, allocations: 19.44 kB / 498.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1782, allocations: 3.938 kB / 498.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of Templates: time 0.008245/0.1864, allocations: 4.775 MB / 0.4915 GB, free: 14.97 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches