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.001761/0.001761, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002184/0.002184, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.57/1.57, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.3182/0.3182, allocations: 46.93 MB / 360.8 MB, free: 4.312 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.003464/0.003464, allocations: 59.91 kB / 0.4967 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3943, allocations: 66.03 MB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003591/0.3979, allocations: 1.83 MB / 0.5629 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.3995, allocations: 0.85 MB / 0.5638 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3996, allocations: 0 / 0.5638 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.3999, allocations: 39.75 kB / 0.5638 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.4003, allocations: 83.62 kB / 0.5639 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.4005, allocations: 67.73 kB / 0.5639 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.4007, allocations: 135.4 kB / 0.5641 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.145e-05/0.4007, allocations: 11.97 kB / 0.5641 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.4009, allocations: 75.69 kB / 0.5642 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.4011, allocations: 87.77 kB / 0.5642 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.4011, allocations: 4 kB / 0.5642 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.4013, allocations: 67.89 kB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.4014, allocations: 35.83 kB / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.4014, allocations: 43.73 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.4017, allocations: 145.8 kB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4017, allocations: 0 / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4017, allocations: 0 / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.4017, allocations: 0 / 0.5645 GB, free: 0.9531 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.0006226/0.4023, allocations: 333.9 kB / 0.5648 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4024, allocations: 12.03 kB / 0.5649 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.4027, allocations: 36.81 kB / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.403, allocations: 138.4 kB / 0.565 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.403, allocations: 8.375 kB / 0.565 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.403, allocations: 12.12 kB / 0.565 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.4034, allocations: 180 kB / 0.5652 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4034, allocations: 0 / 0.5652 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.4035, allocations: 3.984 kB / 0.5652 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.4035, allocations: 19.97 kB / 0.5652 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.4038, allocations: 135.8 kB / 0.5654 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009602/0.4048, allocations: 0.6124 MB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.4051, allocations: 102.6 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.4052, allocations: 36.83 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.4053, allocations: 4 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.4053, allocations: 34.56 kB / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4053, allocations: 3.938 kB / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005184/0.4058, allocations: 141.7 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.4059, allocations: 55.41 kB / 0.5663 GB, free: 14.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.406, allocations: 126 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.406, allocations: 25.7 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.4061, allocations: 132 kB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.4061, allocations: 23.8 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.4062, allocations: 33.7 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.4063, allocations: 318.8 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.4065, allocations: 35.95 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.4066, allocations: 91.64 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.4069, allocations: 151.5 kB / 0.5672 GB, free: 13.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4069, allocations: 0 / 0.5672 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000356/0.4072, allocations: 157.4 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4073, allocations: 8 kB / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4073, allocations: 0 / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4073, allocations: 4 kB / 0.5674 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.4075, allocations: 43.97 kB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4075, allocations: 3.938 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.4076, allocations: 24.12 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.4076, allocations: 8 kB / 0.5675 GB, free: 13.67 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.00012/0.4077, allocations: 129.8 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.4077, allocations: 7.953 kB / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.4081, allocations: 121.9 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4081, allocations: 3.984 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4081, allocations: 8 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4081, allocations: 0 / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.4083, allocations: 168.6 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4083, allocations: 0 / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.4085, allocations: 31.97 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4085, allocations: 0 / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4085, allocations: 4 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.4085, allocations: 4 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4085, allocations: 0 / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.4088, allocations: 215.3 kB / 0.5681 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.4088, allocations: 11.94 kB / 0.5681 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.4089, allocations: 0 / 0.5681 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.409, allocations: 11.94 kB / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.409, allocations: 7.984 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.409, allocations: 3.938 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.972e-05/0.4091, allocations: 102.6 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4091, allocations: 0 / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.4094, allocations: 23.95 kB / 0.5683 GB, free: 12.75 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.0001768/0.4095, allocations: 99.23 kB / 0.5684 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.4099, allocations: 96 kB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4099, allocations: 4 kB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.41, allocations: 44.66 kB / 0.5685 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.4103, allocations: 7.938 kB / 0.5685 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.4108, allocations: 243.9 kB / 0.5688 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.4112, allocations: 0.7235 MB / 0.5695 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.732e-05/0.4113, allocations: 24.61 kB / 0.5695 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.4113, allocations: 15.44 kB / 0.5695 GB, free: 11.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4113, allocations: 0 / 0.5695 GB, free: 11.45 MB / 414.1 MB Notification: Performance of Templates: time 0.004448/0.4158, allocations: 1.011 MB / 0.5705 GB, free: 10.48 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.780666540144011]