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.001516/0.001516, 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.001546/0.001546, allocations: 212 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.662/1.662, 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.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.238/0.238, allocations: 44.93 MB / 358.8 MB, free: 6.152 MB / 286.1 MB " [Timeout remaining time 179] 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.002123/0.002123, allocations: 61.94 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3756, allocations: 65.49 MB / 0.5575 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003301/0.3789, allocations: 1.777 MB / 0.5592 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3804, allocations: 0.7684 MB / 0.56 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.3804, allocations: 0 / 0.56 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.3807, allocations: 39.75 kB / 0.56 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.3811, allocations: 75.58 kB / 0.5601 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.3813, allocations: 75.72 kB / 0.5602 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.3816, allocations: 135.4 kB / 0.5603 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.532e-05/0.3816, allocations: 15.95 kB / 0.5603 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.3819, allocations: 63.77 kB / 0.5604 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.3821, allocations: 87.7 kB / 0.5604 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.3821, allocations: 4 kB / 0.5604 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.3822, allocations: 55.89 kB / 0.5605 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.499e-05/0.3823, allocations: 31.84 kB / 0.5605 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.3824, allocations: 27.86 kB / 0.5606 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.3827, allocations: 145.8 kB / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3827, allocations: 0 / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3827, allocations: 0 / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.3827, allocations: 4 kB / 0.5607 GB, free: 4.176 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.0007529/0.3835, allocations: 337.9 kB / 0.561 GB, free: 3.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.3835, allocations: 8.031 kB / 0.561 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003855/0.3839, allocations: 32.81 kB / 0.5611 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.3841, allocations: 134.4 kB / 0.5612 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.3841, allocations: 8.375 kB / 0.5612 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.3842, allocations: 20.09 kB / 0.5612 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.3846, allocations: 168.1 kB / 0.5614 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3846, allocations: 8 kB / 0.5614 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.3846, allocations: 4 kB / 0.5614 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.3846, allocations: 11.98 kB / 0.5614 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.385, allocations: 139.8 kB / 0.5615 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008932/0.3859, allocations: 0.5159 MB / 0.562 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.3862, allocations: 106.6 kB / 0.5621 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.3863, allocations: 36.83 kB / 0.5622 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3864, allocations: 0 / 0.5622 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3864, allocations: 38.5 kB / 0.5622 GB, free: 2.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.3864, allocations: 0 / 0.5622 GB, free: 2.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004509/0.3868, allocations: 145.7 kB / 0.5624 GB, free: 2.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3869, allocations: 51.41 kB / 0.5624 GB, free: 2.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.387, allocations: 133.3 kB / 0.5625 GB, free: 2.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.387, allocations: 33.64 kB / 0.5626 GB, free: 2.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.3871, allocations: 120.1 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.3872, allocations: 23.8 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.3872, allocations: 37.66 kB / 0.5627 GB, free: 1.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3874, allocations: 314.8 kB / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.3875, allocations: 39.95 kB / 0.5631 GB, free: 1.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.3877, allocations: 91.7 kB / 0.5632 GB, free: 1.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.3879, allocations: 143.5 kB / 0.5633 GB, free: 1.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3879, allocations: 4 kB / 0.5633 GB, free: 1.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003383/0.3883, allocations: 157.4 kB / 0.5634 GB, free: 1.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3883, allocations: 10.97 kB / 0.5635 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3883, allocations: 0 / 0.5635 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3883, allocations: 4 kB / 0.5635 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.3885, allocations: 52.16 kB / 0.5635 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3885, allocations: 0 / 0.5635 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3886, allocations: 23.88 kB / 0.5635 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3886, allocations: 8 kB / 0.5635 GB, free: 1.02 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.0001156/0.3888, allocations: 133.6 kB / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.3888, allocations: 7.953 kB / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.3892, allocations: 122 kB / 0.5638 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3892, allocations: 7.984 kB / 0.5638 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3892, allocations: 3.938 kB / 0.5638 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3892, allocations: 0 / 0.5638 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.3895, allocations: 133.2 kB / 0.5639 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3895, allocations: 3.938 kB / 0.5639 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.3896, allocations: 23.98 kB / 0.564 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3896, allocations: 0 / 0.564 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3896, allocations: 7.938 kB / 0.564 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3896, allocations: 8 kB / 0.564 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3896, allocations: 480 / 0.564 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.39, allocations: 211.4 kB / 0.5642 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.39, allocations: 11.89 kB / 0.5642 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.39, allocations: 0 / 0.5642 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3901, allocations: 7.984 kB / 0.5642 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.3901, allocations: 11.98 kB / 0.5642 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3901, allocations: 0 / 0.5642 GB, free: 276 kB / 398.1 MB Notification: Performance of sorting global known variables: time 6.763e-05/0.3902, allocations: 99.2 kB / 0.5643 GB, free: 176 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3902, allocations: 4 kB / 0.5643 GB, free: 172 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.3905, allocations: 27.94 kB / 0.5643 GB, free: 144 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.000151/0.3906, allocations: 103.2 kB / 0.5644 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003419/0.391, allocations: 96.36 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.391, allocations: 0 / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.3911, allocations: 43.91 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3914, allocations: 16.52 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.3919, allocations: 243.6 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.392, allocations: 97.31 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.083e-05/0.3921, allocations: 32.39 kB / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.3921, allocations: 11.44 kB / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3921, allocations: 0 / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Templates: time 0.004108/0.3962, allocations: 0.9874 MB / 0.5659 GB, free: 14.52 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/jenkins/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/jenkins/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: 5.536462200805545]