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.001121/0.001121, allocations: 110 kB / 17.86 MB, free: 5.504 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.001108/0.001108, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.34 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.2565/0.2565, allocations: 44.16 MB / 336.8 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 69 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1423, allocations: 60.82 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.004817/0.1471, allocations: 1.844 MB / 471 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.149, allocations: 0.7947 MB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1492, allocations: 4 kB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.1495, allocations: 39.81 kB / 471.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000385/0.15, allocations: 67.66 kB / 471.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1503, allocations: 55.81 kB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.1506, allocations: 203.3 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.218e-05/0.1507, allocations: 15.98 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.1509, allocations: 59.78 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.1512, allocations: 87.64 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.1512, allocations: 4 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.1515, allocations: 67.89 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1517, allocations: 35.91 kB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1518, allocations: 31.8 kB / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1521, allocations: 104 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1521, allocations: 3.938 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1521, allocations: 0 / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1521, allocations: 0 / 472.6 MB, free: 11.38 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.0008848/0.153, allocations: 419.2 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.153, allocations: 8.031 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006107/0.1537, allocations: 32.81 kB / 473.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.154, allocations: 188.2 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.154, allocations: 12.36 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.1541, allocations: 12.12 kB / 473.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006249/0.1547, allocations: 180.1 kB / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1547, allocations: 3.938 kB / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.1548, allocations: 0 / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.1548, allocations: 11.98 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004699/0.1553, allocations: 135.8 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009635/0.1563, allocations: 0.6405 MB / 474.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.1567, allocations: 118.6 kB / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.1568, allocations: 36.83 kB / 474.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1569, allocations: 0 / 474.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.1569, allocations: 30.56 kB / 474.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.1569, allocations: 4 kB / 474.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006806/0.1576, allocations: 141.7 kB / 474.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1577, allocations: 51.41 kB / 474.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.1579, allocations: 122.1 kB / 474.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1579, allocations: 29.64 kB / 474.7 MB, free: 9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/0.158, allocations: 127.8 kB / 474.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.158, allocations: 23.64 kB / 474.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.701e-05/0.1581, allocations: 37.56 kB / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1583, allocations: 322.8 kB / 475.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1585, allocations: 35.97 kB / 475.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.1587, allocations: 95.69 kB / 475.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.1591, allocations: 143.5 kB / 475.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1591, allocations: 4 kB / 475.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000487/0.1596, allocations: 157.6 kB / 475.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.1596, allocations: 7.984 kB / 475.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.1596, allocations: 4 kB / 475.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1597, allocations: 0 / 475.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.1599, allocations: 39.92 kB / 475.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.16, allocations: 8.375 kB / 475.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.1601, allocations: 19.84 kB / 475.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1602, allocations: 4 kB / 475.8 MB, free: 7.906 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.0001434/0.1603, allocations: 133.8 kB / 475.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.1604, allocations: 7.906 kB / 475.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.1608, allocations: 122 kB / 476 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.1608, allocations: 7.984 kB / 476 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1609, allocations: 0 / 476 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1609, allocations: 0 / 476 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.1612, allocations: 209.5 kB / 476.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1612, allocations: 0 / 476.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.1614, allocations: 23.98 kB / 476.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.1614, allocations: 0 / 476.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.1615, allocations: 7.938 kB / 476.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.1615, allocations: 7.938 kB / 476.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1615, allocations: 0 / 476.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.1619, allocations: 211.3 kB / 476.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.162, allocations: 88.95 kB / 476.6 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.162, allocations: 4 kB / 476.6 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1622, allocations: 7.984 kB / 476.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.1623, allocations: 4 kB / 476.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1623, allocations: 3.984 kB / 476.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.344e-05/0.1624, allocations: 94.28 kB / 476.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1624, allocations: 0 / 476.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000449/0.1629, allocations: 35.89 kB / 476.7 MB, free: 6.859 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.000186/0.163, allocations: 103.7 kB / 476.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.1635, allocations: 100.3 kB / 476.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1635, allocations: 4 kB / 476.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.1637, allocations: 43.91 kB / 476.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.1641, allocations: 19.53 kB / 477 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007047/0.1648, allocations: 306.2 kB / 477.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.1652, allocations: 0.7082 MB / 478 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.1653, allocations: 11.44 kB / 478 MB, free: 5.512 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1653, allocations: 3.938 kB / 478 MB, free: 5.508 MB / 350.1 MB Notification: Performance of Templates: time 0.004128/0.1694, allocations: 1.307 MB / 479.3 MB, free: 4.211 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