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.001038/0.001038, allocations: 92.36 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 199.7 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.8 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002776, allocations: 8.234 kB / 419.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1289, 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.002304/0.1313, allocations: 1.552 MB / 484.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1325, allocations: 0.6427 MB / 485.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.1326, allocations: 0 / 485.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.1329, allocations: 51.73 kB / 485.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.1331, allocations: 71.64 kB / 485.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.1335, allocations: 95.69 kB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.1338, allocations: 294.7 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.022e-05/0.1339, allocations: 28.28 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.134, allocations: 79.55 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.1342, allocations: 119.4 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.1343, allocations: 4 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.1347, allocations: 215.8 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.1348, allocations: 67.61 kB / 486.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.135, allocations: 121.1 kB / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.1354, allocations: 315.2 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1355, allocations: 0 / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1355, allocations: 0 / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1355, allocations: 7.938 kB / 486.7 MB, free: 492 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.0006492/0.1361, allocations: 495.4 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1362, allocations: 12.81 kB / 487.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/0.138, allocations: 212.2 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.1383, allocations: 264 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.1384, allocations: 20.94 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.1384, allocations: 20.38 kB / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.1395, allocations: 0.5125 MB / 488.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1395, allocations: 0 / 488.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/0.1395, allocations: 4 kB / 488.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.1396, allocations: 32.53 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.1409, allocations: 0.5915 MB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.1432, allocations: 1.162 MB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007261/0.144, allocations: 182.3 kB / 490.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.1444, allocations: 92.77 kB / 490.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1444, allocations: 0 / 490.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1444, allocations: 34.56 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1444, allocations: 0 / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001321/0.1458, allocations: 321.3 kB / 490.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.1458, allocations: 51.41 kB / 490.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.1461, allocations: 286.5 kB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.1462, allocations: 25.7 kB / 491 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.1463, allocations: 171.7 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.1463, allocations: 27.64 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.1464, allocations: 21.66 kB / 491.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1466, allocations: 334.8 kB / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.147, allocations: 99.91 kB / 491.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.1474, allocations: 122.6 kB / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007828/0.1482, allocations: 219.2 kB / 492 MB, free: 10.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.1482, allocations: 3.938 kB / 492 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000927/0.1492, allocations: 281 kB / 492.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1492, allocations: 6.656 kB / 492.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.1492, allocations: 4 kB / 492.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1492, allocations: 4.094 kB / 492.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006289/0.1555, allocations: 463.3 kB / 492.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.1583, allocations: 1.945 MB / 494.7 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.1587, allocations: 51.86 kB / 494.7 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.1588, allocations: 7.984 kB / 494.7 MB, free: 8.129 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.0001745/0.1589, allocations: 161.7 kB / 494.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.159, allocations: 19.72 kB / 494.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.1591, allocations: 25.7 kB / 494.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1591, allocations: 7.984 kB / 494.9 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1591, allocations: 0 / 494.9 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1591, allocations: 4 kB / 495 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.1595, allocations: 293.4 kB / 495.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1595, allocations: 0 / 495.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006057/0.1655, allocations: 455.3 kB / 495.7 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.1656, allocations: 0 / 495.7 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.1656, allocations: 7.984 kB / 495.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.1683, allocations: 1.949 MB / 497.6 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1683, allocations: 0 / 497.6 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.1692, allocations: 339.2 kB / 498 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.1693, allocations: 96.81 kB / 498.1 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.1693, allocations: 0 / 498.1 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/0.1697, allocations: 23.97 kB / 498.1 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.1698, allocations: 11.98 kB / 498.1 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.1698, allocations: 7.984 kB / 498.1 MB, free: 4.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.17, allocations: 217.9 kB / 498.3 MB, free: 4.379 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.17, allocations: 0 / 498.3 MB, free: 4.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003481/0.1704, allocations: 63.84 kB / 498.4 MB, free: 4.316 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.0001864/0.1706, allocations: 111.2 kB / 498.5 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006387/0.177, allocations: 0.6006 MB / 499.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.177, allocations: 4.188 kB / 499.1 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005803/0.1828, allocations: 0.4992 MB / 499.6 MB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.1832, allocations: 36.77 kB / 499.6 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1843, allocations: 0.5613 MB / 0.4885 GB, free: 2.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.1846, allocations: 0.7755 MB / 0.4892 GB, free: 1.668 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.1848, allocations: 49.92 kB / 0.4893 GB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.1849, allocations: 23.42 kB / 0.4893 GB, free: 1.594 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1849, allocations: 0 / 0.4893 GB, free: 1.594 MB / 366.1 MB Notification: Performance of Templates: time 0.009228/0.1942, allocations: 4.894 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