Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.5 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2417/0.2417, allocations: 46.93 MB / 361.6 MB, free: 4.273 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 75.86 kB / 0.4975 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3938, allocations: 66.07 MB / 0.562 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003763/0.3976, allocations: 1.839 MB / 0.5638 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.3991, allocations: 0.8423 MB / 0.5646 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.3992, allocations: 7.938 kB / 0.5646 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.3995, allocations: 39.75 kB / 0.5647 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.3998, allocations: 79.58 kB / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.4, allocations: 79.72 kB / 0.5648 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.4002, allocations: 123.5 kB / 0.5649 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.242e-05/0.4002, allocations: 15.91 kB / 0.565 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.4004, allocations: 75.75 kB / 0.565 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.4006, allocations: 87.7 kB / 0.5651 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.4006, allocations: 4 kB / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.4008, allocations: 71.88 kB / 0.5652 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.4009, allocations: 31.91 kB / 0.5652 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.401, allocations: 43.73 kB / 0.5653 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.4013, allocations: 141.9 kB / 0.5654 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4013, allocations: 0 / 0.5654 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4013, allocations: 0 / 0.5654 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.4013, allocations: 0 / 0.5654 GB, free: 0.7656 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.0006492/0.4019, allocations: 341.9 kB / 0.5657 GB, free: 412 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.402, allocations: 8.031 kB / 0.5657 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.4023, allocations: 40.81 kB / 0.5658 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.4025, allocations: 130.4 kB / 0.5659 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.4025, allocations: 12.3 kB / 0.5659 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.4026, allocations: 12.12 kB / 0.5659 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.403, allocations: 176.9 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.403, allocations: 0 / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.403, allocations: 8 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.4031, allocations: 19.92 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.4034, allocations: 131.9 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009624/0.4044, allocations: 0.6045 MB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.4047, allocations: 106.6 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.4048, allocations: 36.83 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.4048, allocations: 4 kB / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.4049, allocations: 34.56 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.4049, allocations: 0 / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004655/0.4053, allocations: 141.6 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.4054, allocations: 51.41 kB / 0.5672 GB, free: 14.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.4055, allocations: 125.3 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.4055, allocations: 37.64 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.894e-05/0.4056, allocations: 128 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.4057, allocations: 27.78 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.4057, allocations: 29.7 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4059, allocations: 314.8 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.406, allocations: 35.97 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.4062, allocations: 98.22 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.4065, allocations: 143.5 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4065, allocations: 8 kB / 0.5681 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003367/0.4068, allocations: 165.4 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4068, allocations: 4 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4068, allocations: 4 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4068, allocations: 4 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.407, allocations: 39.91 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.407, allocations: 4.25 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.4071, allocations: 27.88 kB / 0.5683 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.4071, allocations: 4 kB / 0.5683 GB, free: 13.49 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.0001079/0.4073, allocations: 129.7 kB / 0.5685 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.4073, allocations: 7.953 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.4076, allocations: 126 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4076, allocations: 4 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4076, allocations: 0 / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.4076, allocations: 3.984 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.4079, allocations: 172.6 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4079, allocations: 3.938 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.408, allocations: 27.92 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.408, allocations: 4 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.408, allocations: 3.984 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.408, allocations: 0 / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.408, allocations: 4 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.4084, allocations: 211.8 kB / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.4084, allocations: 7.953 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.4084, allocations: 3.984 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.4085, allocations: 4 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.4085, allocations: 7.984 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.4085, allocations: 8 kB / 0.569 GB, free: 12.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.382e-05/0.4086, allocations: 103.1 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4086, allocations: 0 / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.4089, allocations: 23.95 kB / 0.5691 GB, free: 12.57 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.0001413/0.409, allocations: 99.25 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.4093, allocations: 99.84 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4093, allocations: 0 / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4095, allocations: 39.91 kB / 0.5694 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.4097, allocations: 15.92 kB / 0.5694 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.4102, allocations: 248.1 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.4106, allocations: 0.7079 MB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.848e-05/0.4107, allocations: 28.45 kB / 0.5703 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.4107, allocations: 15.44 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4107, allocations: 0 / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Templates: time 0.004147/0.4149, allocations: 1.007 MB / 0.5713 GB, free: 10.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.497795831412077]