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.001074/0.001074, allocations: 109.3 kB / 18.39 MB, free: 4.762 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.001068/0.001068, allocations: 184.1 kB / 19.32 MB, free: 3.832 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.391/1.391, allocations: 222.9 MB / 243 MB, free: 15.16 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.2067/0.2067, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 67.66 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1396, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002918/0.1425, allocations: 1.788 MB / 472.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1439, allocations: 0.7946 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.144, allocations: 4 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.1442, allocations: 39.75 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.1445, allocations: 79.64 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.1447, allocations: 63.67 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1448, allocations: 135.5 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.195e-05/0.1449, allocations: 19.97 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.145, allocations: 63.7 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1452, allocations: 83.7 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1452, allocations: 4 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.1454, allocations: 71.89 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.1455, allocations: 31.91 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.05e-05/0.1455, allocations: 35.73 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1458, allocations: 147.5 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1458, allocations: 0 / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1458, allocations: 0 / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1458, allocations: 0 / 474.1 MB, free: 10.27 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.0005717/0.1464, allocations: 403.2 kB / 474.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1465, allocations: 12.03 kB / 474.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003314/0.1468, allocations: 36.81 kB / 474.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.147, allocations: 184.2 kB / 474.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.147, allocations: 16.3 kB / 474.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.147, allocations: 12.12 kB / 474.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.1474, allocations: 176.1 kB / 474.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1474, allocations: 0 / 474.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.1475, allocations: 12 kB / 474.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.1475, allocations: 11.98 kB / 474.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.1478, allocations: 127.9 kB / 475 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.1487, allocations: 0.6521 MB / 475.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.149, allocations: 110.7 kB / 475.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.1491, allocations: 44.83 kB / 475.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1492, allocations: 0 / 475.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1492, allocations: 30.56 kB / 475.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1492, allocations: 0 / 475.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004546/0.1497, allocations: 137.5 kB / 476 MB, free: 8.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.1497, allocations: 51.41 kB / 476.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1498, allocations: 134.1 kB / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1499, allocations: 29.7 kB / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.1499, allocations: 119.8 kB / 476.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.15, allocations: 27.64 kB / 476.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.1501, allocations: 33.62 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1502, allocations: 318.8 kB / 476.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.1503, allocations: 31.97 kB / 476.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.1505, allocations: 99.62 kB / 476.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.1507, allocations: 151.6 kB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1507, allocations: 0 / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003222/0.1511, allocations: 157.4 kB / 477.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1511, allocations: 4 kB / 477.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1511, allocations: 4 kB / 477.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1511, allocations: 4 kB / 477.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.1513, allocations: 36.22 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.1513, allocations: 8 kB / 477.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.91e-05/0.1514, allocations: 23.78 kB / 477.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1515, allocations: 4 kB / 477.2 MB, free: 6.805 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 0.0001245/0.1516, allocations: 125.8 kB / 477.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.1516, allocations: 11.91 kB / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.1521, allocations: 129.9 kB / 477.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1521, allocations: 0 / 477.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1521, allocations: 0 / 477.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1521, allocations: 0 / 477.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.1523, allocations: 201.5 kB / 477.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1523, allocations: 0 / 477.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.1525, allocations: 31.92 kB / 477.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1525, allocations: 3.938 kB / 477.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1525, allocations: 0 / 477.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1525, allocations: 4 kB / 477.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1525, allocations: 0 / 477.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.1528, allocations: 219.7 kB / 477.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.1529, allocations: 84.95 kB / 478 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.1529, allocations: 0 / 478 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.153, allocations: 7.984 kB / 478 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.1531, allocations: 15.98 kB / 478 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.1531, allocations: 11.98 kB / 478 MB, free: 5.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.927e-05/0.1531, allocations: 91.27 kB / 478.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1532, allocations: 0 / 478.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1534, allocations: 23.91 kB / 478.2 MB, free: 5.762 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.0001473/0.1536, allocations: 99.25 kB / 478.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.1539, allocations: 111.8 kB / 478.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1539, allocations: 0 / 478.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.154, allocations: 39.97 kB / 478.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.1543, allocations: 11.94 kB / 478.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.1548, allocations: 247.2 kB / 478.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1551, allocations: 0.7119 MB / 479.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.013e-05/0.1552, allocations: 28.53 kB / 479.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.1552, allocations: 11.44 kB / 479.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1552, allocations: 0 / 479.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of Templates: time 0.003774/0.159, allocations: 0.9238 MB / 480.3 MB, free: 3.559 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 -s cvode -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