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.002335/0.002335, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002682/0.002682, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2479/0.2479, allocations: 46.95 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] 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.002097/0.002097, allocations: 71.89 kB / 0.4966 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3728, allocations: 66.04 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003086/0.3759, allocations: 1.768 MB / 0.5628 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3773, allocations: 0.7645 MB / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.3774, allocations: 0 / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.3776, allocations: 43.75 kB / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.3778, allocations: 75.64 kB / 0.5637 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.378, allocations: 75.66 kB / 0.5638 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3782, allocations: 131.5 kB / 0.5639 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.3783, allocations: 11.97 kB / 0.5639 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.3785, allocations: 71.7 kB / 0.564 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.3786, allocations: 83.7 kB / 0.5641 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.3786, allocations: 8 kB / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.3788, allocations: 55.89 kB / 0.5641 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.3788, allocations: 31.91 kB / 0.5642 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.3789, allocations: 35.73 kB / 0.5642 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.3791, allocations: 137.8 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3791, allocations: 0 / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3792, allocations: 0 / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3792, allocations: 0 / 0.5643 GB, free: 0.8633 MB / 398.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.0006758/0.3798, allocations: 337.9 kB / 0.5646 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3799, allocations: 11.97 kB / 0.5647 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003938/0.3803, allocations: 44.81 kB / 0.5647 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3805, allocations: 130.4 kB / 0.5648 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.3805, allocations: 12.38 kB / 0.5648 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.3805, allocations: 12.11 kB / 0.5648 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.381, allocations: 180.1 kB / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.381, allocations: 0 / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.381, allocations: 0 / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.381, allocations: 15.98 kB / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.3814, allocations: 132 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009664/0.3824, allocations: 0.5158 MB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.3828, allocations: 106.6 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.3829, allocations: 44.83 kB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3829, allocations: 0 / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.383, allocations: 34.56 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.011e-06/0.383, allocations: 0 / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004828/0.3835, allocations: 145.6 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.3835, allocations: 55.41 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.3836, allocations: 130 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3837, allocations: 29.7 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.3837, allocations: 128 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.3838, allocations: 19.8 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.3838, allocations: 37.66 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.384, allocations: 318.8 kB / 0.5667 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.3841, allocations: 35.95 kB / 0.5667 GB, free: 14.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.3843, allocations: 99.62 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.3846, allocations: 139.5 kB / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3846, allocations: 0 / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003425/0.3849, allocations: 161.4 kB / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3849, allocations: 8 kB / 0.5671 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.385, allocations: 0 / 0.5671 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.385, allocations: 4 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.3852, allocations: 43.97 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3852, allocations: 0 / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.3853, allocations: 20.12 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3853, allocations: 15.94 kB / 0.5672 GB, free: 13.7 MB / 414.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.0001185/0.3854, allocations: 133.7 kB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.3854, allocations: 7.953 kB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.3858, allocations: 121.9 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3858, allocations: 4 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3858, allocations: 0 / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3858, allocations: 3.938 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.3859, allocations: 141.2 kB / 0.5676 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.386, allocations: 3.938 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.3861, allocations: 23.98 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3861, allocations: 0 / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3861, allocations: 4 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3861, allocations: 3.984 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3861, allocations: 0 / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.3864, allocations: 211.4 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.3865, allocations: 15.89 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3865, allocations: 0 / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3866, allocations: 11.98 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.3866, allocations: 7.984 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.3866, allocations: 0 / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.637e-05/0.3867, allocations: 99.02 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3867, allocations: 3.938 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.387, allocations: 27.94 kB / 0.568 GB, free: 12.82 MB / 414.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.0001572/0.3871, allocations: 99.25 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.3874, allocations: 99.8 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3874, allocations: 0 / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3875, allocations: 37.17 kB / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.3878, allocations: 23.86 kB / 0.5682 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.3883, allocations: 247.6 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.3884, allocations: 93.25 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.259e-05/0.3885, allocations: 36.59 kB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.3886, allocations: 11.44 kB / 0.5686 GB, free: 12.13 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3886, allocations: 0 / 0.5686 GB, free: 12.13 MB / 414.1 MB Notification: Performance of Templates: time 0.004099/0.3927, allocations: 0.9895 MB / 0.5695 GB, free: 11.19 MB / 414.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/jenkins/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/jenkins/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: 5.532441411167383]