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.001444/0.001444, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002555/0.002555, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2199/0.2199, allocations: 44.93 MB / 359.6 MB, free: 6.062 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.002127/0.002127, allocations: 63.89 kB / 0.4943 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3485, allocations: 65.48 MB / 0.5582 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003413/0.3519, allocations: 1.777 MB / 0.56 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.3534, allocations: 0.7762 MB / 0.5607 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.3534, allocations: 3.938 kB / 0.5607 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.3537, allocations: 31.78 kB / 0.5607 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.3539, allocations: 83.58 kB / 0.5608 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.3542, allocations: 71.72 kB / 0.5609 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.3544, allocations: 135.5 kB / 0.561 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.3544, allocations: 11.92 kB / 0.561 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.3546, allocations: 67.77 kB / 0.5611 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.3548, allocations: 87.69 kB / 0.5612 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.3548, allocations: 4 kB / 0.5612 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.3549, allocations: 51.91 kB / 0.5612 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.355, allocations: 27.91 kB / 0.5613 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.034e-05/0.3551, allocations: 35.8 kB / 0.5613 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.3553, allocations: 149.7 kB / 0.5614 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3553, allocations: 0 / 0.5614 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3553, allocations: 4 kB / 0.5614 GB, free: 4.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3553, allocations: 0 / 0.5614 GB, free: 4.156 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.0006089/0.356, allocations: 329.9 kB / 0.5618 GB, free: 3.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.356, allocations: 8.031 kB / 0.5618 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.3563, allocations: 36.8 kB / 0.5618 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.3565, allocations: 130.4 kB / 0.5619 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.3566, allocations: 12.38 kB / 0.5619 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3566, allocations: 12.11 kB / 0.562 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.357, allocations: 176.1 kB / 0.5621 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.357, allocations: 3.984 kB / 0.5621 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.357, allocations: 4 kB / 0.5621 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.357, allocations: 8 kB / 0.5621 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.3574, allocations: 135.8 kB / 0.5623 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.3582, allocations: 0.5159 MB / 0.5628 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.3586, allocations: 106.6 kB / 0.5629 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.3587, allocations: 44.81 kB / 0.5629 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3587, allocations: 3.938 kB / 0.5629 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3587, allocations: 30.56 kB / 0.5629 GB, free: 2.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3587, allocations: 0 / 0.5629 GB, free: 2.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004558/0.3592, allocations: 141.7 kB / 0.5631 GB, free: 2.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.3592, allocations: 55.34 kB / 0.5631 GB, free: 2.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3594, allocations: 134 kB / 0.5633 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.3594, allocations: 29.7 kB / 0.5633 GB, free: 2.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.3595, allocations: 116.1 kB / 0.5634 GB, free: 1.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.3595, allocations: 23.8 kB / 0.5634 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.3596, allocations: 37.66 kB / 0.5635 GB, free: 1.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3597, allocations: 322.8 kB / 0.5638 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.3598, allocations: 39.91 kB / 0.5638 GB, free: 1.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.36, allocations: 94.36 kB / 0.5639 GB, free: 1.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.3603, allocations: 143.5 kB / 0.564 GB, free: 1.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3603, allocations: 0 / 0.564 GB, free: 1.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003471/0.3607, allocations: 157.4 kB / 0.5642 GB, free: 1.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3607, allocations: 8 kB / 0.5642 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3607, allocations: 4.625 kB / 0.5642 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3607, allocations: 11.98 kB / 0.5642 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3609, allocations: 39.92 kB / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3609, allocations: 0 / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.361, allocations: 23.88 kB / 0.5643 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.361, allocations: 8 kB / 0.5643 GB, free: 1.012 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.0001139/0.3611, allocations: 137.6 kB / 0.5644 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.3612, allocations: 7.953 kB / 0.5644 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.3615, allocations: 126 kB / 0.5645 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3615, allocations: 0 / 0.5645 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3615, allocations: 8 kB / 0.5645 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3615, allocations: 0 / 0.5645 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.3617, allocations: 137.2 kB / 0.5647 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3617, allocations: 3.938 kB / 0.5647 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.3619, allocations: 35.91 kB / 0.5647 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3619, allocations: 0 / 0.5647 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3619, allocations: 4 kB / 0.5647 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3619, allocations: 0 / 0.5647 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3619, allocations: 4 kB / 0.5647 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.3622, allocations: 203.4 kB / 0.5649 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.3622, allocations: 15.88 kB / 0.5649 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.3622, allocations: 0 / 0.5649 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.3623, allocations: 8 kB / 0.5649 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.3624, allocations: 7.984 kB / 0.5649 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3624, allocations: 0 / 0.5649 GB, free: 264 kB / 398.1 MB Notification: Performance of sorting global known variables: time 6.43e-05/0.3624, allocations: 103.1 kB / 0.565 GB, free: 164 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3624, allocations: 0 / 0.565 GB, free: 164 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.3627, allocations: 27.94 kB / 0.5651 GB, free: 136 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.0001603/0.3629, allocations: 103.2 kB / 0.5652 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.3632, allocations: 92.19 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3632, allocations: 0 / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.3633, allocations: 51.88 kB / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.3636, allocations: 15.88 kB / 0.5653 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.3642, allocations: 273.3 kB / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.3643, allocations: 97.44 kB / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.3643, allocations: 15.44 kB / 0.5657 GB, free: 15.44 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3643, allocations: 0 / 0.5657 GB, free: 15.44 MB / 414.1 MB Notification: Performance of Templates: time 0.003371/0.3677, allocations: 1.348 MB / 0.567 GB, free: 14.09 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.7111163912341]