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.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.001388/0.001388, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001467/0.001467, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2206/0.2206, allocations: 44.91 MB / 359.6 MB, free: 6.363 MB / 286.1 MB " [Timeout remaining time 180] 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.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.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=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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.89 kB / 0.4944 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3265, allocations: 65.45 MB / 0.5583 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003298/0.3298, allocations: 1.838 MB / 0.5601 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3313, allocations: 0.8501 MB / 0.5609 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.3313, allocations: 0 / 0.5609 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.3315, allocations: 35.77 kB / 0.5609 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.3318, allocations: 83.56 kB / 0.561 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.332, allocations: 67.73 kB / 0.5611 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.3322, allocations: 147.4 kB / 0.5612 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.3323, allocations: 3.984 kB / 0.5612 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.3325, allocations: 71.75 kB / 0.5613 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.3327, allocations: 87.7 kB / 0.5614 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3327, allocations: 4 kB / 0.5614 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.3329, allocations: 75.88 kB / 0.5614 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.3329, allocations: 23.91 kB / 0.5615 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.333, allocations: 43.73 kB / 0.5615 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.3332, allocations: 149.7 kB / 0.5617 GB, free: 4.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3332, allocations: 0 / 0.5617 GB, free: 4.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.699e-06/0.3333, allocations: 8 kB / 0.5617 GB, free: 4.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3333, allocations: 0 / 0.5617 GB, free: 4.215 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.0005832/0.3338, allocations: 329.9 kB / 0.562 GB, free: 3.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3339, allocations: 8.031 kB / 0.562 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003317/0.3342, allocations: 40.81 kB / 0.562 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.3344, allocations: 138.4 kB / 0.5622 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3344, allocations: 4.375 kB / 0.5622 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.3344, allocations: 16.12 kB / 0.5622 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.3348, allocations: 176.1 kB / 0.5623 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3348, allocations: 4 kB / 0.5623 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.3349, allocations: 4 kB / 0.5624 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.3349, allocations: 11.94 kB / 0.5624 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.3352, allocations: 131.8 kB / 0.5625 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.3361, allocations: 0.6162 MB / 0.5631 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.3365, allocations: 110.6 kB / 0.5632 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.3366, allocations: 40.81 kB / 0.5632 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3366, allocations: 0 / 0.5632 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.3366, allocations: 30.56 kB / 0.5633 GB, free: 2.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/0.3366, allocations: 3.984 kB / 0.5633 GB, free: 2.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004421/0.3371, allocations: 145.5 kB / 0.5634 GB, free: 2.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3371, allocations: 55.34 kB / 0.5635 GB, free: 2.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3372, allocations: 126.1 kB / 0.5636 GB, free: 2.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3373, allocations: 25.7 kB / 0.5636 GB, free: 2.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.3373, allocations: 128 kB / 0.5637 GB, free: 1.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3374, allocations: 27.92 kB / 0.5638 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.3374, allocations: 33.72 kB / 0.5638 GB, free: 1.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3376, allocations: 318.8 kB / 0.5641 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3377, allocations: 35.97 kB / 0.5641 GB, free: 1.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.3378, allocations: 95.69 kB / 0.5642 GB, free: 1.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.3381, allocations: 147.5 kB / 0.5644 GB, free: 1.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3381, allocations: 0 / 0.5644 GB, free: 1.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003204/0.3384, allocations: 153.6 kB / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3384, allocations: 12.02 kB / 0.5645 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3385, allocations: 4 kB / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3385, allocations: 4 kB / 0.5645 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.3386, allocations: 35.92 kB / 0.5646 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.3387, allocations: 7.984 kB / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.679e-05/0.3388, allocations: 19.89 kB / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3388, allocations: 4 kB / 0.5646 GB, free: 0.9453 MB / 398.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.0001108/0.3389, allocations: 133.7 kB / 0.5647 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.3389, allocations: 7.953 kB / 0.5647 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.3392, allocations: 126 kB / 0.5648 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3392, allocations: 0 / 0.5648 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3392, allocations: 0 / 0.5648 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3392, allocations: 0 / 0.5648 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.3395, allocations: 176.6 kB / 0.565 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3395, allocations: 0 / 0.565 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.3396, allocations: 35.92 kB / 0.565 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3396, allocations: 0 / 0.565 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3396, allocations: 0 / 0.565 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.3396, allocations: 4 kB / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3396, allocations: 0 / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.3399, allocations: 219.3 kB / 0.5653 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.3399, allocations: 3.953 kB / 0.5653 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.34, allocations: 8 kB / 0.5653 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.3401, allocations: 11.92 kB / 0.5653 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.3401, allocations: 3.984 kB / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.3401, allocations: 4 kB / 0.5653 GB, free: 148 kB / 398.1 MB Notification: Performance of sorting global known variables: time 6.579e-05/0.3402, allocations: 91.27 kB / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3402, allocations: 0 / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.3404, allocations: 27.95 kB / 0.5654 GB, free: 28 kB / 398.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.0001538/0.3406, allocations: 111.2 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.3409, allocations: 92.41 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3409, allocations: 0.5 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.341, allocations: 43.91 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.3413, allocations: 11.94 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.3418, allocations: 273.6 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.3421, allocations: 0.7157 MB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.3422, allocations: 15.44 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3422, allocations: 0 / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Templates: time 0.003247/0.3454, allocations: 1.325 MB / 0.5679 GB, free: 13.39 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.580185507889837]