Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 96.62 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 176 kB / 16.58 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 222.8 MB, free: 5.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4783/0.4783, allocations: 43.57 MB / 314.6 MB, free: 8.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007367/0.000737, allocations: 16 kB / 384 MB, free: 7.965 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1583, allocations: 58.87 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002164/0.1605, allocations: 1.369 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1621, allocations: 0.7805 MB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.1622, allocations: 0 / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.1625, allocations: 31.83 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1627, allocations: 55.73 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.163, allocations: 63.8 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.1633, allocations: 191.2 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.058e-05/0.1633, allocations: 17.09 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.1635, allocations: 59.72 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1637, allocations: 71.75 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1637, allocations: 4 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.164, allocations: 151.7 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.1641, allocations: 35.89 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.1641, allocations: 49.64 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.1644, allocations: 139.8 kB / 445.8 MB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.1644, allocations: 0 / 445.8 MB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1644, allocations: 4 kB / 445.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1645, allocations: 4 kB / 445.8 MB, free: 9.953 MB / 382.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.0007583/0.1652, allocations: 442.8 kB / 446.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.1653, allocations: 12.03 kB / 446.3 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.1658, allocations: 63.67 kB / 446.4 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.1661, allocations: 210.9 kB / 446.6 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1661, allocations: 8 kB / 446.6 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.1662, allocations: 23.97 kB / 446.6 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.1667, allocations: 229.5 kB / 446.8 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1667, allocations: 0 / 446.8 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.1667, allocations: 8 kB / 446.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.1668, allocations: 27.66 kB / 446.9 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/0.1672, allocations: 239.8 kB / 447.1 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.1684, allocations: 0.7287 MB / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.1686, allocations: 94.5 kB / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.1687, allocations: 48.81 kB / 448 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1688, allocations: 4 kB / 448 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1688, allocations: 38.56 kB / 448 MB, free: 7.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 5.17e-06/0.1688, allocations: 0 / 448 MB, free: 7.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005506/0.1694, allocations: 193.4 kB / 448.2 MB, free: 7.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.1694, allocations: 55.41 kB / 448.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1696, allocations: 179.3 kB / 448.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.1697, allocations: 29.7 kB / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.1698, allocations: 139.5 kB / 448.6 MB, free: 6.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.1698, allocations: 23.64 kB / 448.6 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.1698, allocations: 4 kB / 448.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1699, allocations: 334.8 kB / 448.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1701, allocations: 47.95 kB / 449 MB, free: 6.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.1703, allocations: 106.8 kB / 449.1 MB, free: 6.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1704, allocations: 59.95 kB / 449.1 MB, free: 6.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1704, allocations: 8 kB / 449.2 MB, free: 6.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004447/0.1709, allocations: 189.3 kB / 449.3 MB, free: 6.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1709, allocations: 12.22 kB / 449.3 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1709, allocations: 3.938 kB / 449.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1709, allocations: 4 kB / 449.4 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008229/0.1718, allocations: 103.9 kB / 449.5 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.1734, allocations: 1.817 MB / 451.3 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.1736, allocations: 27.83 kB / 451.3 MB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.1736, allocations: 4 kB / 451.3 MB, free: 4.145 MB / 382.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.0001585/0.1738, allocations: 141.8 kB / 451.4 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.1738, allocations: 11.81 kB / 451.5 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.1743, allocations: 190.9 kB / 451.6 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1743, allocations: 4 kB / 451.6 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1743, allocations: 0 / 451.6 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1744, allocations: 0 / 451.6 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.1747, allocations: 237.4 kB / 451.9 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1747, allocations: 0 / 451.9 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/0.1753, allocations: 99.89 kB / 452 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1753, allocations: 4 kB / 452 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1754, allocations: 3.938 kB / 452 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.1766, allocations: 1.774 MB / 453.8 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1766, allocations: 0 / 453.8 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.177, allocations: 259.3 kB / 454 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.1771, allocations: 88.92 kB / 454.1 MB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.1772, allocations: 8 kB / 454.1 MB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.1773, allocations: 7.984 kB / 454.1 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.1774, allocations: 11.97 kB / 454.1 MB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.1774, allocations: 4 kB / 454.1 MB, free: 1.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1775, allocations: 140.9 kB / 454.3 MB, free: 1.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1775, allocations: 0 / 454.3 MB, free: 1.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.1779, allocations: 44 kB / 454.3 MB, free: 0.9727 MB / 382.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.0002441/0.1781, allocations: 111.2 kB / 454.4 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.1792, allocations: 227.9 kB / 454.6 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1792, allocations: 4.188 kB / 454.6 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.1798, allocations: 115.8 kB / 454.8 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.1802, allocations: 44.3 kB / 454.8 MB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007562/0.1809, allocations: 404.3 kB / 455.2 MB, free: 56 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2259/0.4069, allocations: 0.7331 MB / 455.9 MB, free: 46.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.4071, allocations: 34.77 kB / 456 MB, free: 46.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.4072, allocations: 17.27 kB / 456 MB, free: 46.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4072, allocations: 0 / 456 MB, free: 46.04 MB / 382.1 MB Notification: Performance of Templates: time 0.006015/0.4132, allocations: 2.801 MB / 458.8 MB, free: 45.99 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches