Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000976/0.000976, allocations: 95.47 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 192.9 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.18 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 4 kB / 418.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1576, allocations: 63.56 MB / 482.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002537/0.1602, allocations: 1.522 MB / 484 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.1628, allocations: 1.552 MB / 485.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.1629, allocations: 3.938 kB / 485.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.1632, allocations: 35.83 kB / 485.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.1635, allocations: 79.64 kB / 485.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.1642, allocations: 351 kB / 486 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.1645, allocations: 266.8 kB / 486.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.638e-05/0.1645, allocations: 24.39 kB / 486.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.1648, allocations: 107.5 kB / 486.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.1649, allocations: 119.5 kB / 486.5 MB, free: 476 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.165, allocations: 8 kB / 486.5 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009623/0.1659, allocations: 0.6782 MB / 487.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1661, allocations: 75.61 kB / 487.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.437e-05/0.1661, allocations: 61.58 kB / 487.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.1667, allocations: 375.4 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1667, allocations: 0 / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1667, allocations: 4 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1668, allocations: 0 / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009941/0.1678, allocations: 0.577 MB / 488.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.1678, allocations: 12.03 kB / 488.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.1679, allocations: 27.62 kB / 488.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.1682, allocations: 246.4 kB / 488.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.1683, allocations: 20.56 kB / 488.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.1683, allocations: 31.98 kB / 488.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007517/0.1691, allocations: 467.3 kB / 489 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1691, allocations: 0 / 489 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.1691, allocations: 8 kB / 489 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.206e-05/0.1692, allocations: 48.97 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008109/0.17, allocations: 0.5621 MB / 489.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.1718, allocations: 1.3 MB / 490.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.1724, allocations: 282.7 kB / 491.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.1726, allocations: 104.7 kB / 491.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.1726, allocations: 12.05 kB / 491.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1727, allocations: 42.56 kB / 491.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.1727, allocations: 0 / 491.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007112/0.1734, allocations: 345.1 kB / 491.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1734, allocations: 59.41 kB / 491.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1736, allocations: 134 kB / 491.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.1736, allocations: 33.7 kB / 491.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1737, allocations: 191.8 kB / 492.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.101e-05/0.1738, allocations: 82.75 kB / 492.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-05/0.1738, allocations: 8 kB / 492.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.174, allocations: 334.8 kB / 492.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.1742, allocations: 91.92 kB / 492.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.1745, allocations: 181.9 kB / 492.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.1747, allocations: 119.9 kB / 492.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1748, allocations: 4 kB / 492.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005523/0.1753, allocations: 329 kB / 493.2 MB, free: 9.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1754, allocations: 14.48 kB / 493.3 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1754, allocations: 0 / 493.3 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1754, allocations: 4 kB / 493.3 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.1758, allocations: 123.9 kB / 493.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.1774, allocations: 2.368 MB / 495.8 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1776, allocations: 39.61 kB / 495.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.1776, allocations: 20 kB / 495.8 MB, free: 6.691 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.1778, allocations: 173.7 kB / 496 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.1779, allocations: 11.91 kB / 496 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007624/0.1786, allocations: 374.5 kB / 496.4 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1787, allocations: 0 / 496.4 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1787, allocations: 3.938 kB / 496.4 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1787, allocations: 7.984 kB / 496.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.1791, allocations: 337.2 kB / 496.7 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1791, allocations: 0 / 496.7 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.1795, allocations: 119.9 kB / 496.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1795, allocations: 0 / 496.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.1795, allocations: 8 kB / 496.8 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.1811, allocations: 2.356 MB / 499.2 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1811, allocations: 3.953 kB / 499.2 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005548/0.1817, allocations: 384.7 kB / 499.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.1818, allocations: 92.86 kB / 499.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.1818, allocations: 8 kB / 499.7 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.1819, allocations: 11.98 kB / 499.7 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.182, allocations: 31.91 kB / 499.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1821, allocations: 12 kB / 499.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.082e-05/0.1821, allocations: 106 kB / 499.8 MB, free: 2.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1821, allocations: 3.938 kB / 499.8 MB, free: 2.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000661/0.1828, allocations: 171.6 kB / 500 MB, free: 2.324 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004835/0.1833, allocations: 235.5 kB / 0.4885 GB, free: 2.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007556/0.1841, allocations: 309.3 kB / 0.4888 GB, free: 1.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1841, allocations: 0 / 0.4888 GB, free: 1.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.1845, allocations: 184.1 kB / 0.489 GB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1848, allocations: 15.98 kB / 0.489 GB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1859, allocations: 0.7073 MB / 0.4897 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1864, allocations: 0.7987 MB / 0.4904 GB, free: 44 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.1867, allocations: 105.7 kB / 0.4905 GB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.1868, allocations: 27.38 kB / 0.4906 GB, free: 15.91 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1868, allocations: 0 / 0.4906 GB, free: 15.91 MB / 382.1 MB Notification: Performance of Templates: time 0.008745/0.1955, allocations: 4.334 MB / 0.4948 GB, free: 11.61 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches