Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 109.1 kB / 17.09 MB, free: 6.02 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.00118/0.00118, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.461/1.461, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2212/0.2212, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 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.001417/0.001417, allocations: 67.91 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1385, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003634/0.1422, allocations: 1.814 MB / 0.4903 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.145, allocations: 1.684 MB / 0.492 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.1452, allocations: 4 kB / 0.492 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.1456, allocations: 43.75 kB / 0.492 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.146, allocations: 83.56 kB / 0.4921 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.1473, allocations: 402.7 kB / 0.4925 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000436/0.1477, allocations: 246.7 kB / 0.4927 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1479, allocations: 32.38 kB / 0.4928 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.1482, allocations: 99.5 kB / 0.4929 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.1485, allocations: 119.4 kB / 0.493 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.1485, allocations: 8 kB / 0.493 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.1498, allocations: 0.7017 MB / 0.4937 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.15, allocations: 71.67 kB / 0.4937 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.1501, allocations: 115.2 kB / 0.4938 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.1513, allocations: 0.6153 MB / 0.4945 GB, free: 5.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1513, allocations: 0 / 0.4945 GB, free: 5.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1513, allocations: 0 / 0.4945 GB, free: 5.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1513, allocations: 0 / 0.4945 GB, free: 5.73 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001144/0.1524, allocations: 0.624 MB / 0.4951 GB, free: 5.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1525, allocations: 15.83 kB / 0.4951 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.713e-05/0.1526, allocations: 28.56 kB / 0.4951 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.1529, allocations: 243.3 kB / 0.4953 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.153, allocations: 24.5 kB / 0.4954 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.153, allocations: 27.98 kB / 0.4954 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007877/0.1538, allocations: 463.3 kB / 0.4958 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1538, allocations: 3.938 kB / 0.4958 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.1539, allocations: 12 kB / 0.4958 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-05/0.154, allocations: 48.97 kB / 0.4959 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009219/0.1549, allocations: 0.5465 MB / 0.4964 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.1569, allocations: 1.307 MB / 0.4977 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.1575, allocations: 270.5 kB / 0.498 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.1577, allocations: 100.8 kB / 0.4981 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.1578, allocations: 12.31 kB / 0.4981 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1578, allocations: 38.5 kB / 0.4981 GB, free: 1.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.784e-06/0.1578, allocations: 0 / 0.4981 GB, free: 1.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007443/0.1586, allocations: 329.2 kB / 0.4984 GB, free: 1.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.1586, allocations: 51.41 kB / 0.4985 GB, free: 1.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1587, allocations: 149.4 kB / 0.4986 GB, free: 1.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1588, allocations: 29.7 kB / 0.4986 GB, free: 1.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.1589, allocations: 191.7 kB / 0.4988 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.823e-05/0.159, allocations: 90.73 kB / 0.4989 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.1591, allocations: 69.61 kB / 0.499 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1593, allocations: 330.8 kB / 0.4993 GB, free: 500 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.1595, allocations: 91.78 kB / 0.4994 GB, free: 408 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.1597, allocations: 166.2 kB / 0.4995 GB, free: 204 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.1602, allocations: 302.8 kB / 0.4998 GB, free: 15.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1602, allocations: 0 / 0.4998 GB, free: 15.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005768/0.1608, allocations: 321.2 kB / 0.5001 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.1609, allocations: 15.92 kB / 0.5001 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1609, allocations: 7.938 kB / 0.5001 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1609, allocations: 4 kB / 0.5002 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/0.1614, allocations: 115.9 kB / 0.5003 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.1627, allocations: 2.36 MB / 0.5026 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.1629, allocations: 39.98 kB / 0.5026 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.1629, allocations: 19.94 kB / 0.5026 GB, free: 12.89 MB / 398.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 (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001891/0.1631, allocations: 181.5 kB / 0.5028 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.1632, allocations: 15.81 kB / 0.5028 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007571/0.1639, allocations: 362.6 kB / 0.5032 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1639, allocations: 3.984 kB / 0.5032 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1639, allocations: 0 / 0.5032 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.164, allocations: 100.9 kB / 0.5033 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.164, allocations: 7.938 kB / 0.5033 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.1642, allocations: 11.98 kB / 0.5033 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.1643, allocations: 15.98 kB / 0.5033 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008795/0.1652, allocations: 473.1 kB / 0.5037 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008343/0.166, allocations: 0.573 MB / 0.5043 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002034/0.1662, allocations: 115.9 kB / 0.5044 GB, free: 10.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.779e-05/0.1663, allocations: 103.2 kB / 0.5045 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.1663, allocations: 0 / 0.5045 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.1676, allocations: 410 kB / 0.5049 GB, free: 10.48 MB / 398.1 MB Notification: Performance of SimCode: time 0.001192/0.1688, allocations: 0.978 MB / 0.5059 GB, free: 9.457 MB / 398.1 MB Notification: Performance of Templates: time 0.01006/0.1789, allocations: 5.278 MB / 0.511 GB, free: 4.18 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches