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.001329/0.001329, allocations: 91.28 kB / 17 MB, free: 6.535 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.001776/0.001776, allocations: 186.2 kB / 17.89 MB, free: 5.941 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.469/1.469, allocations: 223.3 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2293/0.2293, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 11.98 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 61.93 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002137/0.1356, allocations: 1.466 MB / 473.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1368, allocations: 0.7213 MB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.1368, allocations: 3.938 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.137, allocations: 31.83 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.1373, allocations: 71.64 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.1374, allocations: 55.81 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.1377, allocations: 171.3 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.1377, allocations: 8 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.1379, allocations: 59.78 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.138, allocations: 75.7 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.138, allocations: 4 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.1382, allocations: 63.89 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.1383, allocations: 31.84 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.1383, allocations: 33.7 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1385, allocations: 99.95 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1385, allocations: 0 / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1385, allocations: 8 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1385, allocations: 0 / 474.5 MB, free: 10.75 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.0005857/0.1391, allocations: 393.2 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1392, allocations: 8.031 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/0.1395, allocations: 39.78 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.1397, allocations: 175 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1397, allocations: 19.98 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1398, allocations: 11.89 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.1401, allocations: 180.1 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1401, allocations: 0 / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.1402, allocations: 4 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.1402, allocations: 15.98 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.1405, allocations: 143.8 kB / 475.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/0.1413, allocations: 0.6483 MB / 476.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.1417, allocations: 122.6 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1418, allocations: 40.98 kB / 476.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.1418, allocations: 11.94 kB / 476.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1418, allocations: 30.56 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1418, allocations: 0 / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004011/0.1423, allocations: 157.5 kB / 476.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.1423, allocations: 51.41 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.1424, allocations: 125.6 kB / 476.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1424, allocations: 25.7 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.1425, allocations: 123.8 kB / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.1425, allocations: 23.64 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.1425, allocations: 11.94 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1427, allocations: 318.8 kB / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1428, allocations: 39.95 kB / 477.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.1429, allocations: 95.7 kB / 477.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.143, allocations: 56.28 kB / 477.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1431, allocations: 3.984 kB / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003126/0.1434, allocations: 177.5 kB / 477.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1434, allocations: 11.89 kB / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1434, allocations: 4 kB / 477.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1434, allocations: 0 / 477.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.1436, allocations: 43.97 kB / 477.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1436, allocations: 0 / 477.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.1437, allocations: 27.86 kB / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1438, allocations: 12.05 kB / 477.6 MB, free: 7.375 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.691e-05/0.1439, allocations: 126.3 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.1439, allocations: 7.906 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.1442, allocations: 137.9 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1442, allocations: 0 / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1443, allocations: 0 / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1443, allocations: 3.984 kB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.1445, allocations: 205.5 kB / 478.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1445, allocations: 4 kB / 478.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.1446, allocations: 27.97 kB / 478.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1446, allocations: 4 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1446, allocations: 4 kB / 478.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1446, allocations: 3.953 kB / 478.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1446, allocations: 0 / 478.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.1449, allocations: 215.4 kB / 478.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.145, allocations: 85.03 kB / 478.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.145, allocations: 11.94 kB / 478.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.1451, allocations: 4 kB / 478.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.1452, allocations: 11.94 kB / 478.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1452, allocations: 0 / 478.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.1453, allocations: 95.27 kB / 478.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1453, allocations: 0 / 478.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1455, allocations: 31.91 kB / 478.6 MB, free: 6.316 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001198/0.1457, allocations: 95.25 kB / 478.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.1459, allocations: 116.3 kB / 478.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.146, allocations: 4 kB / 478.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1461, allocations: 39.97 kB / 478.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.1463, allocations: 11.98 kB / 478.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.1468, allocations: 297.4 kB / 479.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.1471, allocations: 0.716 MB / 479.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.504e-05/0.1472, allocations: 24.39 kB / 479.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.1472, allocations: 11.44 kB / 479.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1472, allocations: 3.938 kB / 479.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of Templates: time 0.003307/0.1506, allocations: 0.8293 MB / 480.7 MB, free: 4.148 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/jenkins/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/jenkins/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