Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008747/0.0008747, allocations: 92.97 kB / 18 MB, free: 5.602 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.0009259/0.0009261, allocations: 179.5 kB / 18.91 MB, free: 4.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 243 MB, free: 14.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.193/0.193, allocations: 44.24 MB / 338.3 MB, free: 2.48 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004294, allocations: 8 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1332, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002461/0.1357, allocations: 1.505 MB / 474.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.137, allocations: 0.7831 MB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.1371, allocations: 0 / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1373, allocations: 39.81 kB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.1376, allocations: 67.66 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.1378, allocations: 67.73 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.138, allocations: 199.4 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.1381, allocations: 7.984 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1382, allocations: 55.78 kB / 475.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.1384, allocations: 87.64 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1384, allocations: 4 kB / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1385, allocations: 71.89 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.825e-05/0.1386, allocations: 31.91 kB / 475.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.641e-05/0.1387, allocations: 73.42 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.1389, allocations: 92.03 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1389, allocations: 0 / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.1389, allocations: 4 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1389, allocations: 0 / 476 MB, free: 10.2 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005092/0.1394, allocations: 399.2 kB / 476.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1395, allocations: 8.031 kB / 476.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.1398, allocations: 44.72 kB / 476.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.14, allocations: 184.2 kB / 476.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.14, allocations: 4.375 kB / 476.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.14, allocations: 16.12 kB / 476.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.1404, allocations: 176.1 kB / 476.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.1404, allocations: 4 kB / 476.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.1404, allocations: 11.98 kB / 476.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.1405, allocations: 7.984 kB / 476.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003395/0.1408, allocations: 143.8 kB / 477 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008378/0.1416, allocations: 0.6483 MB / 477.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.142, allocations: 122.6 kB / 477.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1421, allocations: 48.83 kB / 477.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.1422, allocations: 0 / 477.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1422, allocations: 34.56 kB / 477.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1422, allocations: 0 / 477.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004517/0.1427, allocations: 149.5 kB / 478 MB, free: 8.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.1427, allocations: 55.34 kB / 478 MB, free: 7.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1428, allocations: 129.4 kB / 478.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1429, allocations: 29.7 kB / 478.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.1429, allocations: 124 kB / 478.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.143, allocations: 31.58 kB / 478.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.143, allocations: 21.72 kB / 478.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1431, allocations: 322.8 kB / 478.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1433, allocations: 35.97 kB / 478.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1434, allocations: 102.9 kB / 478.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.1437, allocations: 155.5 kB / 479 MB, free: 6.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1437, allocations: 4 kB / 479 MB, free: 6.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003475/0.1441, allocations: 165.3 kB / 479.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1441, allocations: 12.19 kB / 479.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1441, allocations: 4 kB / 479.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1441, allocations: 0 / 479.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1443, allocations: 47.91 kB / 479.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1443, allocations: 0 / 479.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1444, allocations: 27.83 kB / 479.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1444, allocations: 4 kB / 479.2 MB, free: 6.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.314e-05/0.1445, allocations: 137.7 kB / 479.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.1446, allocations: 7.906 kB / 479.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.1449, allocations: 138.4 kB / 479.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1449, allocations: 0 / 479.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.145, allocations: 4 kB / 479.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.145, allocations: 3.984 kB / 479.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.1452, allocations: 193.6 kB / 479.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1452, allocations: 0 / 479.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.1453, allocations: 31.91 kB / 479.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1453, allocations: 4 kB / 479.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1453, allocations: 4 kB / 479.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1454, allocations: 4 kB / 479.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1454, allocations: 0 / 479.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.1457, allocations: 227.4 kB / 480 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.1457, allocations: 92.95 kB / 480.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1457, allocations: 0 / 480.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.1458, allocations: 7.984 kB / 480.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.1459, allocations: 4 kB / 480.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1459, allocations: 8 kB / 480.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.94e-05/0.146, allocations: 91.27 kB / 480.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.146, allocations: 0 / 480.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1462, allocations: 20 kB / 480.2 MB, free: 5.613 MB / 350.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001272/0.1464, allocations: 111.7 kB / 480.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003015/0.1467, allocations: 108.4 kB / 480.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.1467, allocations: 3.938 kB / 480.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.1468, allocations: 51.91 kB / 480.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.1471, allocations: 7.938 kB / 480.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.1477, allocations: 338.8 kB / 480.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.1479, allocations: 0.7043 MB / 481.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.148, allocations: 23.44 kB / 481.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.148, allocations: 0 / 481.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of Templates: time 0.002754/0.1508, allocations: 1.297 MB / 482.8 MB, free: 2.914 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches