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.0008887/0.0008888, allocations: 100.2 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009484/0.0009485, allocations: 198.1 kB / 17.89 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.419/1.419, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2399/0.2399, allocations: 45.91 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.000303, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 63.47 MB / 481.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002061/0.1447, allocations: 1.483 MB / 482.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.147, allocations: 1.514 MB / 484.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.1471, allocations: 0 / 484.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.1473, allocations: 39.81 kB / 484.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.1476, allocations: 59.83 kB / 484.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.1483, allocations: 359.2 kB / 484.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.1486, allocations: 163.7 kB / 485 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.375e-05/0.1487, allocations: 28.33 kB / 485 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.1489, allocations: 79.67 kB / 485.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.149, allocations: 99.59 kB / 485.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1491, allocations: 8 kB / 485.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009357/0.15, allocations: 0.7058 MB / 485.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.1501, allocations: 63.8 kB / 486 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.1502, allocations: 57.58 kB / 486.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005271/0.1507, allocations: 371.6 kB / 486.4 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1507, allocations: 0 / 486.4 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1507, allocations: 7.938 kB / 486.4 MB, free: 376 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1507, allocations: 3.938 kB / 486.4 MB, free: 372 kB / 350.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.0009038/0.1516, allocations: 0.5771 MB / 487 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1517, allocations: 8.031 kB / 487 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.1518, allocations: 31.62 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.1521, allocations: 242.5 kB / 487.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.1521, allocations: 24.55 kB / 487.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.1522, allocations: 28 kB / 487.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.1529, allocations: 467.3 kB / 487.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1529, allocations: 0 / 487.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.153, allocations: 19.92 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.989e-05/0.153, allocations: 44.97 kB / 487.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/0.1539, allocations: 0.562 MB / 488.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.1559, allocations: 1.327 MB / 489.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.1565, allocations: 294.3 kB / 490 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.1565, allocations: 20.28 kB / 490 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1566, allocations: 30.56 kB / 490.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.462e-06/0.1566, allocations: 4 kB / 490.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007707/0.1574, allocations: 350.2 kB / 490.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.1574, allocations: 55.39 kB / 490.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1576, allocations: 138 kB / 490.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.1576, allocations: 33.7 kB / 490.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.1577, allocations: 187.8 kB / 490.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.1578, allocations: 86.75 kB / 490.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.1578, allocations: 8 kB / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.158, allocations: 322.8 kB / 491.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.1582, allocations: 91.91 kB / 491.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.1584, allocations: 189.8 kB / 491.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.1587, allocations: 115.9 kB / 491.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1587, allocations: 4 kB / 491.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005417/0.1592, allocations: 333.3 kB / 492 MB, free: 10.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1592, allocations: 4 kB / 492 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.1593, allocations: 4 kB / 492 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1593, allocations: 4 kB / 492 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.1598, allocations: 135.8 kB / 492.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.161, allocations: 2.364 MB / 494.5 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.1612, allocations: 39.67 kB / 494.5 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.1612, allocations: 23.94 kB / 494.5 MB, free: 7.844 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.000169/0.1614, allocations: 173.7 kB / 494.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.1615, allocations: 11.91 kB / 494.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007936/0.1623, allocations: 374.4 kB / 495.1 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1623, allocations: 4 kB / 495.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1623, allocations: 0 / 495.1 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1623, allocations: 3.984 kB / 495.1 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.1627, allocations: 345.2 kB / 495.4 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1627, allocations: 0 / 495.4 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/0.1632, allocations: 119.8 kB / 495.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.1632, allocations: 4 kB / 495.5 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.1632, allocations: 19.92 kB / 495.6 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.1643, allocations: 2.356 MB / 497.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1643, allocations: 0 / 497.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.1649, allocations: 380.7 kB / 498.3 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.1649, allocations: 92.86 kB / 498.4 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.165, allocations: 8 kB / 498.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1651, allocations: 15.98 kB / 498.4 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.1652, allocations: 19.92 kB / 498.4 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.1652, allocations: 15.98 kB / 498.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.038e-05/0.1653, allocations: 105.9 kB / 498.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1653, allocations: 4 kB / 498.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005639/0.1658, allocations: 167.6 kB / 498.7 MB, free: 3.473 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.0003989/0.1662, allocations: 243.4 kB / 498.9 MB, free: 3.227 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007168/0.167, allocations: 304.3 kB / 499.2 MB, free: 2.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.167, allocations: 0 / 499.2 MB, free: 2.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.1674, allocations: 183.8 kB / 499.4 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.1676, allocations: 12 kB / 499.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1687, allocations: 0.7104 MB / 0.4884 GB, free: 2.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.1691, allocations: 0.8026 MB / 0.4892 GB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.1694, allocations: 105.7 kB / 0.4893 GB, free: 1.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.1694, allocations: 31.42 kB / 0.4893 GB, free: 1.047 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1694, allocations: 0 / 0.4893 GB, free: 1.047 MB / 366.1 MB Notification: Performance of Templates: time 0.007789/0.1772, allocations: 4.246 MB / 0.4935 GB, free: 12.83 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","../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