Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001126/0.001126, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2086/0.2086, allocations: 44.17 MB / 336.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 59.12 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.156, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.004451/0.1605, allocations: 1.727 MB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.1627, allocations: 0.8103 MB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.1628, allocations: 0 / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.1631, allocations: 35.83 kB / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1634, allocations: 51.73 kB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.1638, allocations: 79.77 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.1641, allocations: 211.1 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.459e-05/0.1642, allocations: 17.11 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1644, allocations: 55.73 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.1646, allocations: 83.66 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.1646, allocations: 4 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.1651, allocations: 151.8 kB / 472.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.335e-05/0.1652, allocations: 35.89 kB / 472.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1653, allocations: 63.55 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.1657, allocations: 151.8 kB / 472.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1657, allocations: 0 / 472.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1657, allocations: 0 / 472.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.1657, allocations: 0 / 472.7 MB, free: 11.35 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.0008531/0.1666, allocations: 459 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.1667, allocations: 8.031 kB / 473.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.1676, allocations: 68.67 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.1679, allocations: 216.1 kB / 473.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.168, allocations: 8.375 kB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.168, allocations: 20.12 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007328/0.1688, allocations: 239 kB / 473.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1688, allocations: 0 / 473.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.1689, allocations: 7.984 kB / 473.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.446e-05/0.1689, allocations: 15.98 kB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007967/0.1697, allocations: 227.8 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.1715, allocations: 0.7246 MB / 474.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.1719, allocations: 90.45 kB / 474.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.1722, allocations: 48.81 kB / 474.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.1722, allocations: 4.156 kB / 474.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1723, allocations: 46.47 kB / 474.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.1723, allocations: 0 / 474.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008683/0.1732, allocations: 165.4 kB / 475 MB, free: 8.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.1732, allocations: 51.41 kB / 475 MB, free: 8.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.1735, allocations: 195.2 kB / 475.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.1736, allocations: 25.7 kB / 475.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1737, allocations: 139.4 kB / 475.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.1738, allocations: 27.64 kB / 475.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.1739, allocations: 33.7 kB / 475.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.174, allocations: 322.8 kB / 475.8 MB, free: 8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.1743, allocations: 43.95 kB / 475.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.1746, allocations: 105.6 kB / 475.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.1752, allocations: 162.6 kB / 476.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1752, allocations: 0 / 476.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006873/0.1759, allocations: 177.6 kB / 476.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.1759, allocations: 15.92 kB / 476.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.176, allocations: 0 / 476.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.176, allocations: 7.938 kB / 476.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.1776, allocations: 119.8 kB / 476.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.1795, allocations: 1.817 MB / 478.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.1797, allocations: 23.86 kB / 478.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.1798, allocations: 15.92 kB / 478.2 MB, free: 5.402 MB / 350.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 (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.0001961/0.18, allocations: 141.7 kB / 478.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.1801, allocations: 11.84 kB / 478.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007531/0.1808, allocations: 182.9 kB / 478.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1809, allocations: 0 / 478.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.1809, allocations: 8 kB / 478.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1809, allocations: 4 kB / 478.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.1814, allocations: 229.5 kB / 478.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.1814, allocations: 4 kB / 478.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.1827, allocations: 107.9 kB / 478.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1827, allocations: 0 / 478.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.1827, allocations: 4 kB / 478.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.1842, allocations: 1.782 MB / 480.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1842, allocations: 4.062 kB / 480.7 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006106/0.1849, allocations: 247.2 kB / 480.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.1849, allocations: 92.86 kB / 481 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.185, allocations: 0 / 481 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.1853, allocations: 15.98 kB / 481 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.1854, allocations: 11.92 kB / 481 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1854, allocations: 4 kB / 481.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002021/0.1856, allocations: 139.9 kB / 481.2 MB, free: 2.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1856, allocations: 0 / 481.2 MB, free: 2.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005663/0.1862, allocations: 43.91 kB / 481.2 MB, free: 2.23 MB / 350.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 (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.000251/0.1865, allocations: 111.2 kB / 481.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.1886, allocations: 232 kB / 481.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1886, allocations: 8 kB / 481.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.1898, allocations: 119.8 kB / 481.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000694/0.1905, allocations: 41.73 kB / 481.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000984/0.1915, allocations: 414.8 kB / 482.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.1919, allocations: 0.7396 MB / 482.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.277e-05/0.192, allocations: 19.44 kB / 482.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1921, allocations: 0 / 482.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of Templates: time 0.01077/0.2028, allocations: 4.424 MB / 487.3 MB, free: 12.09 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches