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_overall_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_overall_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_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 107 kB / 17.08 MB, free: 6.016 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.001301/0.001301, 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.48/1.48, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2237/0.2237, 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.001749/0.001749, allocations: 63.89 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1399, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.004117/0.144, allocations: 1.83 MB / 0.4904 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004947/0.149, allocations: 2.91 MB / 0.4932 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.1492, allocations: 0 / 0.4932 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.1495, allocations: 47.73 kB / 0.4932 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.1499, allocations: 71.59 kB / 0.4933 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.1519, allocations: 0.7277 MB / 0.494 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.1522, allocations: 242.7 kB / 0.4943 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.1523, allocations: 32.38 kB / 0.4943 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.1526, allocations: 103.5 kB / 0.4944 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.1528, allocations: 119.4 kB / 0.4945 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1528, allocations: 12 kB / 0.4945 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.1546, allocations: 1.201 MB / 0.4957 GB, free: 4.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.1547, allocations: 75.67 kB / 0.4958 GB, free: 4.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1548, allocations: 111.2 kB / 0.4959 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.156, allocations: 0.9155 MB / 0.4968 GB, free: 3.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.156, allocations: 0 / 0.4968 GB, free: 3.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.156, allocations: 0 / 0.4968 GB, free: 3.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1561, allocations: 4 kB / 0.4968 GB, free: 3.359 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.001/0.1571, allocations: 0.663 MB / 0.4974 GB, free: 2.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.1571, allocations: 15.89 kB / 0.4974 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.042e-05/0.1572, allocations: 28.56 kB / 0.4974 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.1575, allocations: 243.3 kB / 0.4977 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1575, allocations: 16.56 kB / 0.4977 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.1576, allocations: 31.98 kB / 0.4977 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.1583, allocations: 467.3 kB / 0.4982 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1583, allocations: 0 / 0.4982 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.1583, allocations: 11.94 kB / 0.4982 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.145e-05/0.1584, allocations: 52.95 kB / 0.4982 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/0.1592, allocations: 0.5426 MB / 0.4988 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.1613, allocations: 1.307 MB / 0.5 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005689/0.1619, allocations: 274.4 kB / 0.5003 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.1621, allocations: 100.8 kB / 0.5004 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.018e-05/0.1622, allocations: 12.31 kB / 0.5004 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1622, allocations: 34.5 kB / 0.5004 GB, free: 15.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.1622, allocations: 0 / 0.5004 GB, free: 15.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007638/0.163, allocations: 341.2 kB / 0.5008 GB, free: 15.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1631, allocations: 51.41 kB / 0.5008 GB, free: 14.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1632, allocations: 138 kB / 0.5009 GB, free: 14.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1632, allocations: 29.7 kB / 0.501 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1633, allocations: 191.8 kB / 0.5012 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.1634, allocations: 86.75 kB / 0.5012 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.657e-05/0.1635, allocations: 73.59 kB / 0.5013 GB, free: 14.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1636, allocations: 326.8 kB / 0.5016 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.1638, allocations: 91.78 kB / 0.5017 GB, free: 13.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.1641, allocations: 170.2 kB / 0.5019 GB, free: 13.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/0.1646, allocations: 302.8 kB / 0.5022 GB, free: 13.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1646, allocations: 4 kB / 0.5022 GB, free: 13.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005927/0.1652, allocations: 317 kB / 0.5025 GB, free: 13.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1652, allocations: 15.88 kB / 0.5025 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1653, allocations: 0 / 0.5025 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.1653, allocations: 8 kB / 0.5025 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.1658, allocations: 115.9 kB / 0.5026 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.1671, allocations: 2.364 MB / 0.5049 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.1673, allocations: 35.67 kB / 0.5049 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.1673, allocations: 19.94 kB / 0.505 GB, free: 10.49 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.0001865/0.1675, allocations: 181.5 kB / 0.5051 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.1676, allocations: 11.81 kB / 0.5051 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007686/0.1683, allocations: 370.7 kB / 0.5055 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1683, allocations: 0 / 0.5055 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1684, allocations: 0 / 0.5055 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.1684, allocations: 100.9 kB / 0.5056 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.1685, allocations: 7.938 kB / 0.5056 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.1686, allocations: 11.98 kB / 0.5056 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.1687, allocations: 19.97 kB / 0.5056 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009539/0.1697, allocations: 477 kB / 0.5061 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008403/0.1705, allocations: 0.577 MB / 0.5067 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002187/0.1707, allocations: 111.9 kB / 0.5068 GB, free: 8.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.21e-05/0.1708, allocations: 99.27 kB / 0.5069 GB, free: 8.477 MB / 398.1 MB Notification: Performance of Backend: time 3.91e-07/0.1708, allocations: 0 / 0.5069 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.1725, allocations: 0.5213 MB / 0.5074 GB, free: 7.949 MB / 398.1 MB Notification: Performance of SimCode: time 0.001298/0.1738, allocations: 0.9858 MB / 0.5083 GB, free: 6.918 MB / 398.1 MB Notification: Performance of Templates: time 0.01366/0.1875, allocations: 7.013 MB / 0.5152 GB, free: 15.9 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches