Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2341/0.2341, allocations: 46.92 MB / 357.8 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,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.1.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=5050,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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 59.91 kB / 0.4921 GB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1543, allocations: 66 MB / 0.5565 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003879/0.1582, allocations: 1.814 MB / 0.5583 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.1599, allocations: 0.8374 MB / 0.5591 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.16, allocations: 0 / 0.5591 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.1603, allocations: 43.75 kB / 0.5592 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.1607, allocations: 79.62 kB / 0.5592 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.161, allocations: 71.67 kB / 0.5593 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.1612, allocations: 131.4 kB / 0.5594 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.1613, allocations: 11.98 kB / 0.5595 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.1615, allocations: 67.75 kB / 0.5595 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.1617, allocations: 87.7 kB / 0.5596 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.1617, allocations: 4 kB / 0.5596 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.1619, allocations: 79.88 kB / 0.5597 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.587e-05/0.162, allocations: 31.84 kB / 0.5597 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.1621, allocations: 43.78 kB / 0.5598 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.1624, allocations: 147.3 kB / 0.5599 GB, free: 1.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1624, allocations: 4 kB / 0.5599 GB, free: 1.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1624, allocations: 0 / 0.5599 GB, free: 1.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1624, allocations: 0 / 0.5599 GB, free: 1.871 MB / 414.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.0006708/0.163, allocations: 411 kB / 0.5603 GB, free: 1.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1631, allocations: 8.031 kB / 0.5603 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003812/0.1635, allocations: 32.81 kB / 0.5603 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.1637, allocations: 188.2 kB / 0.5605 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1637, allocations: 12.38 kB / 0.5605 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1637, allocations: 12.12 kB / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.1642, allocations: 178.3 kB / 0.5607 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1642, allocations: 0 / 0.5607 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.1642, allocations: 3.984 kB / 0.5607 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/0.1642, allocations: 11.98 kB / 0.5607 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.1646, allocations: 139.8 kB / 0.5608 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009704/0.1655, allocations: 0.6406 MB / 0.5615 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.1659, allocations: 110.6 kB / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.166, allocations: 36.83 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1661, allocations: 4 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.1661, allocations: 42.48 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1661, allocations: 0 / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004739/0.1666, allocations: 133.6 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.1666, allocations: 55.34 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1667, allocations: 126 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1668, allocations: 29.7 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.1669, allocations: 128.2 kB / 0.5621 GB, free: 15.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1669, allocations: 31.78 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.1669, allocations: 25.72 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1671, allocations: 322.8 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.1672, allocations: 31.97 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.1674, allocations: 95.69 kB / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.1677, allocations: 143.5 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1677, allocations: 0 / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003743/0.1681, allocations: 161.5 kB / 0.5629 GB, free: 14.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1681, allocations: 8 kB / 0.5629 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1681, allocations: 0 / 0.5629 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1681, allocations: 4 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.1683, allocations: 43.91 kB / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.1683, allocations: 4 kB / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.1684, allocations: 15.89 kB / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.1684, allocations: 8.156 kB / 0.563 GB, free: 14.41 MB / 430.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.0001205/0.1685, allocations: 141.6 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.1686, allocations: 7.953 kB / 0.5631 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.169, allocations: 122.4 kB / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.169, allocations: 4 kB / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.169, allocations: 0 / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.169, allocations: 0 / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.1692, allocations: 205.5 kB / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1692, allocations: 0 / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1694, allocations: 27.92 kB / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1694, allocations: 0 / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1694, allocations: 4 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1694, allocations: 4 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1694, allocations: 0 / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.1697, allocations: 219.4 kB / 0.5637 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.1698, allocations: 89 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.1698, allocations: 0 / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1699, allocations: 11.98 kB / 0.5638 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.17, allocations: 11.98 kB / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.17, allocations: 0 / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.86e-05/0.17, allocations: 99.14 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.17, allocations: 0 / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1703, allocations: 31.95 kB / 0.5639 GB, free: 13.36 MB / 430.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.0001624/0.1705, allocations: 99.19 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.1708, allocations: 92.3 kB / 0.5641 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1708, allocations: 4.062 kB / 0.5641 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.1709, allocations: 43.91 kB / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.1712, allocations: 7.938 kB / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.1718, allocations: 280.3 kB / 0.5644 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.1722, allocations: 0.7158 MB / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.1722, allocations: 11.44 kB / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1722, allocations: 0 / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of Templates: time 0.00344/0.1756, allocations: 1.329 MB / 0.5664 GB, free: 10.72 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.855826371989679]