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.0008579/0.0008577, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 201 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.8 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2605/0.2605, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002813, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1252, allocations: 63.56 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002712/0.1279, allocations: 1.552 MB / 484.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1293, allocations: 0.6387 MB / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1294, allocations: 0 / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.1298, allocations: 47.81 kB / 485.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.13, allocations: 71.58 kB / 485.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.1304, allocations: 95.69 kB / 485.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.1308, allocations: 306.7 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.98e-05/0.1309, allocations: 28.3 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.131, allocations: 75.53 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1312, allocations: 115.4 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.1312, allocations: 8 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.1316, allocations: 215.8 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.408e-05/0.1317, allocations: 55.69 kB / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1318, allocations: 125 kB / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004343/0.1323, allocations: 323.1 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1323, allocations: 0 / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1323, allocations: 0 / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1323, allocations: 4 kB / 486.7 MB, free: 496 kB / 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.0008177/0.1331, allocations: 491.4 kB / 487.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1332, allocations: 12.81 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.1351, allocations: 208.2 kB / 487.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1354, allocations: 275.9 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.1354, allocations: 12.94 kB / 487.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.1355, allocations: 28.38 kB / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.1365, allocations: 0.5047 MB / 488.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1366, allocations: 0 / 488.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.1366, allocations: 8 kB / 488.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.1367, allocations: 32.48 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.1381, allocations: 0.5915 MB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.1404, allocations: 1.162 MB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00077/0.1412, allocations: 182.3 kB / 490.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.1416, allocations: 100.8 kB / 490.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.1416, allocations: 0 / 490.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1417, allocations: 38.5 kB / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.1417, allocations: 0 / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001365/0.143, allocations: 313.1 kB / 490.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.1431, allocations: 59.55 kB / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.1434, allocations: 282.5 kB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.1435, allocations: 29.7 kB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1436, allocations: 171.5 kB / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.1436, allocations: 19.66 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.783e-05/0.1437, allocations: 21.7 kB / 491.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1439, allocations: 334.8 kB / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.1443, allocations: 103.9 kB / 491.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.1447, allocations: 119.3 kB / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007832/0.1455, allocations: 223.2 kB / 492 MB, free: 10.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1455, allocations: 3.938 kB / 492 MB, free: 10.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009025/0.1464, allocations: 277.1 kB / 492.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1464, allocations: 4 kB / 492.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1465, allocations: 4.094 kB / 492.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1465, allocations: 4 kB / 492.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006052/0.1525, allocations: 467.2 kB / 492.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.1555, allocations: 1.945 MB / 494.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/0.1559, allocations: 47.84 kB / 494.7 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.156, allocations: 11.98 kB / 494.7 MB, free: 8.121 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 (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.0002588/0.1562, allocations: 153.7 kB / 494.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.1563, allocations: 23.72 kB / 494.9 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/0.1564, allocations: 25.7 kB / 494.9 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1564, allocations: 0 / 494.9 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1564, allocations: 4 kB / 494.9 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1564, allocations: 0 / 494.9 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.1567, allocations: 289.4 kB / 495.2 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1568, allocations: 0 / 495.2 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005976/0.1627, allocations: 463.3 kB / 495.7 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.1628, allocations: 4 kB / 495.7 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.1628, allocations: 11.98 kB / 495.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/0.1655, allocations: 1.941 MB / 497.6 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1655, allocations: 0 / 497.6 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008639/0.1664, allocations: 335.1 kB / 498 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.1664, allocations: 92.83 kB / 498.1 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.1665, allocations: 0 / 498.1 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.1669, allocations: 23.97 kB / 498.1 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.1669, allocations: 15.97 kB / 498.1 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.167, allocations: 11.98 kB / 498.1 MB, free: 4.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.1672, allocations: 209.9 kB / 498.3 MB, free: 4.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1672, allocations: 0 / 498.3 MB, free: 4.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003641/0.1675, allocations: 67.84 kB / 498.4 MB, free: 4.32 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.0001961/0.1677, allocations: 119.2 kB / 498.5 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006336/0.1741, allocations: 0.5968 MB / 499.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1741, allocations: 0 / 499.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00583/0.1799, allocations: 0.4994 MB / 499.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.1804, allocations: 44.75 kB / 499.6 MB, free: 3.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1814, allocations: 0.56 MB / 0.4885 GB, free: 2.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.1818, allocations: 0.7794 MB / 0.4892 GB, free: 1.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.182, allocations: 53.92 kB / 0.4893 GB, free: 1.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.1821, allocations: 19.42 kB / 0.4893 GB, free: 1.59 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1821, allocations: 0 / 0.4893 GB, free: 1.59 MB / 366.1 MB Notification: Performance of Templates: time 0.009248/0.1914, allocations: 4.893 MB / 0.4941 GB, free: 12.76 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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