Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000923/0.0009229, allocations: 97.89 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.0009631/0.0009632, allocations: 198 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.413/1.413, allocations: 227.2 MB / 245.9 MB, free: 12.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 45.91 MB / 344 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004054/0.0004054, allocations: 8 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1605, allocations: 63.47 MB / 481.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002262/0.1628, allocations: 1.358 MB / 482.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1642, allocations: 0.7446 MB / 483.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.1643, allocations: 0 / 483.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.1645, allocations: 31.88 kB / 483.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.1647, allocations: 39.88 kB / 483.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.1649, allocations: 67.77 kB / 483.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1651, allocations: 107.8 kB / 483.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.799e-05/0.1652, allocations: 17.09 kB / 483.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1654, allocations: 43.84 kB / 483.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1655, allocations: 51.78 kB / 483.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.1655, allocations: 7.984 kB / 483.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.1658, allocations: 159.7 kB / 484 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.1659, allocations: 39.89 kB / 484.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.166, allocations: 45.64 kB / 484.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1662, allocations: 128 kB / 484.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1662, allocations: 0 / 484.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1662, allocations: 0 / 484.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1662, allocations: 0 / 484.2 MB, free: 2.574 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006025/0.1668, allocations: 442.8 kB / 484.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1669, allocations: 8.031 kB / 484.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004695/0.1673, allocations: 63.75 kB / 484.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1676, allocations: 214.8 kB / 485 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1676, allocations: 8 kB / 485 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.1677, allocations: 12 kB / 485 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.1681, allocations: 243 kB / 485.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1681, allocations: 4 kB / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.1682, allocations: 0 / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/0.1682, allocations: 27.92 kB / 485.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.1686, allocations: 223.8 kB / 485.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1697, allocations: 0.7401 MB / 486.2 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.17, allocations: 90.52 kB / 486.3 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.17, allocations: 8.141 kB / 486.3 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.17, allocations: 34.5 kB / 486.3 MB, free: 288 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.17, allocations: 0 / 486.3 MB, free: 288 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005001/0.1705, allocations: 181.5 kB / 486.5 MB, free: 100 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1706, allocations: 51.41 kB / 486.6 MB, free: 36 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.1708, allocations: 188.8 kB / 486.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1708, allocations: 25.7 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1709, allocations: 143.5 kB / 486.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1709, allocations: 23.66 kB / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.171, allocations: 4 kB / 486.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1711, allocations: 322.8 kB / 487.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1712, allocations: 51.95 kB / 487.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.1714, allocations: 106.8 kB / 487.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.1716, allocations: 76.16 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1716, allocations: 0 / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003683/0.172, allocations: 197.3 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.172, allocations: 8 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.172, allocations: 0 / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.172, allocations: 4 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008442/0.1729, allocations: 107.9 kB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.1741, allocations: 1.817 MB / 489.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.1743, allocations: 19.84 kB / 489.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1743, allocations: 8 kB / 489.6 MB, free: 12.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001242/0.1744, allocations: 140.2 kB / 489.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.1745, allocations: 15.84 kB / 489.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.1749, allocations: 198.8 kB / 490 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1749, allocations: 4 kB / 490 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1749, allocations: 3.984 kB / 490 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1749, allocations: 0 / 490 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.1752, allocations: 225.6 kB / 490.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1752, allocations: 0 / 490.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006868/0.1759, allocations: 107.8 kB / 490.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.1759, allocations: 0 / 490.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1759, allocations: 8 kB / 490.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.1769, allocations: 1.777 MB / 492.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.177, allocations: 3.984 kB / 492.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.1773, allocations: 255.5 kB / 492.3 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.1774, allocations: 96.89 kB / 492.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.1774, allocations: 4 kB / 492.4 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.1776, allocations: 8 kB / 492.5 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.1776, allocations: 7.984 kB / 492.5 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1777, allocations: 4 kB / 492.5 MB, free: 9.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1778, allocations: 144.8 kB / 492.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1778, allocations: 4 kB / 492.6 MB, free: 9.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.1781, allocations: 43.91 kB / 492.7 MB, free: 9.637 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 (11): * Single equations (assignments): 8 * 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.000228/0.1784, allocations: 111 kB / 492.8 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.1796, allocations: 228.1 kB / 493 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1796, allocations: 0 / 493 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006017/0.1802, allocations: 123.8 kB / 493.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.1805, allocations: 31.97 kB / 493.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007483/0.1813, allocations: 385.5 kB / 493.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.1817, allocations: 0.7514 MB / 494.3 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.1819, allocations: 33.39 kB / 494.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.1819, allocations: 15.44 kB / 494.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1819, allocations: 3.938 kB / 494.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of Templates: time 0.006748/0.1887, allocations: 2.803 MB / 497.1 MB, free: 5.168 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches