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.006881/0.006882, allocations: 100.8 kB / 15.87 MB, free: 6.316 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.001338/0.001338, allocations: 192.8 kB / 16.79 MB, free: 6.242 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.768/1.768, allocations: 205.1 MB / 222.6 MB, free: 4.949 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.3916/0.3916, allocations: 43.49 MB / 313.5 MB, free: 8.625 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.001433/0.001433, allocations: 63.89 kB / 382.1 MB, free: 8.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1459, allocations: 57.78 MB / 439.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003357/0.1493, allocations: 1.735 MB / 441.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.151, allocations: 0.854 MB / 442.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.1511, allocations: 0 / 442.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.1514, allocations: 35.83 kB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.1516, allocations: 51.73 kB / 442.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1519, allocations: 79.77 kB / 442.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.1522, allocations: 215.1 kB / 442.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.454e-05/0.1523, allocations: 17.11 kB / 442.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.1524, allocations: 55.72 kB / 442.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.1526, allocations: 75.67 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1526, allocations: 4 kB / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.1529, allocations: 167.8 kB / 443.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-05/0.153, allocations: 31.89 kB / 443.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.1531, allocations: 59.56 kB / 443.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.1534, allocations: 203.6 kB / 443.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1534, allocations: 0 / 443.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1534, allocations: 0 / 443.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1534, allocations: 0 / 443.4 MB, free: 11.52 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.0006137/0.154, allocations: 462.9 kB / 443.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1541, allocations: 12.03 kB / 443.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/0.1546, allocations: 64.69 kB / 443.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1549, allocations: 220 kB / 444.2 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1549, allocations: 12.36 kB / 444.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.1549, allocations: 16.12 kB / 444.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.1554, allocations: 233.5 kB / 444.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1555, allocations: 0 / 444.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.1555, allocations: 11.98 kB / 444.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.065e-05/0.1556, allocations: 23.77 kB / 444.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.156, allocations: 215.8 kB / 444.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.1572, allocations: 0.7287 MB / 445.4 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.1574, allocations: 86.45 kB / 445.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.1575, allocations: 48.81 kB / 445.5 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1576, allocations: 3.984 kB / 445.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1576, allocations: 34.5 kB / 445.6 MB, free: 9.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1576, allocations: 0 / 445.6 MB, free: 9.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005125/0.1581, allocations: 173.6 kB / 445.7 MB, free: 9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1582, allocations: 51.41 kB / 445.8 MB, free: 8.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1584, allocations: 199.1 kB / 446 MB, free: 8.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1584, allocations: 25.7 kB / 446 MB, free: 8.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.1585, allocations: 139.5 kB / 446.1 MB, free: 8.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1585, allocations: 23.66 kB / 446.1 MB, free: 8.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.1586, allocations: 37.7 kB / 446.2 MB, free: 8.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1587, allocations: 326.8 kB / 446.5 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1589, allocations: 43.95 kB / 446.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.1591, allocations: 102.8 kB / 446.6 MB, free: 8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.1594, allocations: 163 kB / 446.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1594, allocations: 0 / 446.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003619/0.1598, allocations: 185.3 kB / 447 MB, free: 7.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1598, allocations: 7.938 kB / 447 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.1598, allocations: 4 kB / 447 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1598, allocations: 8.156 kB / 447 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009419/0.1608, allocations: 123.9 kB / 447.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.1621, allocations: 1.817 MB / 448.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.1622, allocations: 23.84 kB / 449 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.1623, allocations: 16.17 kB / 449 MB, free: 5.562 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 (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.0001554/0.1624, allocations: 133.8 kB / 449.1 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.1625, allocations: 23.73 kB / 449.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004943/0.163, allocations: 170.9 kB / 449.3 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.163, allocations: 0 / 449.3 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.163, allocations: 11.86 kB / 449.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.163, allocations: 0 / 449.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.1633, allocations: 233.5 kB / 449.5 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1633, allocations: 0 / 449.5 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/0.1641, allocations: 107.9 kB / 449.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1641, allocations: 4 kB / 449.7 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1641, allocations: 0 / 449.7 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.1653, allocations: 1.781 MB / 451.4 MB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1653, allocations: 0 / 451.4 MB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.1657, allocations: 243.4 kB / 451.7 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.1658, allocations: 93 kB / 451.8 MB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.1658, allocations: 4 kB / 451.8 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.166, allocations: 4 kB / 451.8 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.1661, allocations: 11.92 kB / 451.8 MB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.1661, allocations: 8 kB / 451.8 MB, free: 2.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1662, allocations: 140.8 kB / 451.9 MB, free: 2.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1662, allocations: 0 / 451.9 MB, free: 2.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003469/0.1666, allocations: 43.91 kB / 452 MB, free: 2.402 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 (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.0002629/0.1668, allocations: 119.3 kB / 452.1 MB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.168, allocations: 228.1 kB / 452.3 MB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1681, allocations: 0 / 452.3 MB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006247/0.1687, allocations: 127.8 kB / 452.4 MB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.1691, allocations: 39.84 kB / 452.5 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.1698, allocations: 399.2 kB / 452.9 MB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.1702, allocations: 0.7358 MB / 453.6 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.1703, allocations: 41.38 kB / 453.6 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.1704, allocations: 15.44 kB / 453.7 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1704, allocations: 0 / 453.7 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of Templates: time 0.222/0.3924, allocations: 2.892 MB / 456.5 MB, free: 49.98 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