Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001562/0.001562, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001797/0.001797, allocations: 218.9 kB / 23 MB, free: 5.574 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.485/1.485, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2465/0.2465, allocations: 46.9 MB / 359.4 MB, free: 4.926 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003332/0.003332, allocations: 75.86 kB / 0.4947 GB, free: 8.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3957, allocations: 65.98 MB / 0.5591 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.0032/0.3989, allocations: 1.826 MB / 0.5609 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.4003, allocations: 0.8578 MB / 0.5617 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.4004, allocations: 0 / 0.5617 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.4006, allocations: 35.77 kB / 0.5618 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.4009, allocations: 83.56 kB / 0.5618 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.4011, allocations: 71.67 kB / 0.5619 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.4013, allocations: 135.5 kB / 0.562 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.4013, allocations: 15.95 kB / 0.5621 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.4015, allocations: 67.7 kB / 0.5621 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.4017, allocations: 91.69 kB / 0.5622 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.4017, allocations: 4 kB / 0.5622 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.4018, allocations: 67.95 kB / 0.5623 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.34e-05/0.4019, allocations: 31.84 kB / 0.5623 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.402, allocations: 43.73 kB / 0.5623 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.4022, allocations: 145.8 kB / 0.5625 GB, free: 1.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4022, allocations: 3.984 kB / 0.5625 GB, free: 1.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4022, allocations: 0 / 0.5625 GB, free: 1.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.4023, allocations: 3.938 kB / 0.5625 GB, free: 1.531 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.0006828/0.4029, allocations: 403 kB / 0.5629 GB, free: 1.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.403, allocations: 12.03 kB / 0.5629 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.4033, allocations: 40.8 kB / 0.5629 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.4035, allocations: 180.3 kB / 0.5631 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.4036, allocations: 12.36 kB / 0.5631 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.4036, allocations: 12.12 kB / 0.5631 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.404, allocations: 180.1 kB / 0.5633 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.404, allocations: 0 / 0.5633 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.404, allocations: 4 kB / 0.5633 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.404, allocations: 8 kB / 0.5633 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.4044, allocations: 135.8 kB / 0.5634 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.4054, allocations: 0.6523 MB / 0.5641 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.4058, allocations: 98.69 kB / 0.5642 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.4059, allocations: 40.83 kB / 0.5642 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.4059, allocations: 7.938 kB / 0.5642 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.4059, allocations: 30.56 kB / 0.5642 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.4059, allocations: 0 / 0.5642 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004759/0.4064, allocations: 141.5 kB / 0.5644 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.4065, allocations: 51.41 kB / 0.5644 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4066, allocations: 129.2 kB / 0.5645 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.4066, allocations: 25.7 kB / 0.5646 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.4067, allocations: 132 kB / 0.5647 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.4067, allocations: 19.95 kB / 0.5647 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.4068, allocations: 33.7 kB / 0.5648 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4069, allocations: 322.8 kB / 0.5651 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.4071, allocations: 35.95 kB / 0.5651 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.4072, allocations: 99.62 kB / 0.5652 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.4075, allocations: 147.5 kB / 0.5653 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4075, allocations: 0 / 0.5653 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003293/0.4078, allocations: 157.7 kB / 0.5655 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4079, allocations: 8 kB / 0.5655 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4079, allocations: 80 / 0.5655 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4079, allocations: 4 kB / 0.5655 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.4081, allocations: 48.16 kB / 0.5655 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4081, allocations: 7.984 kB / 0.5655 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-05/0.4082, allocations: 23.88 kB / 0.5656 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.4082, allocations: 8 kB / 0.5656 GB, free: 14.06 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.0001082/0.4083, allocations: 129.8 kB / 0.5657 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.4083, allocations: 7.953 kB / 0.5657 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.4087, allocations: 125.9 kB / 0.5658 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4087, allocations: 4 kB / 0.5658 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4087, allocations: 0 / 0.5658 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4087, allocations: 0 / 0.5658 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.4089, allocations: 201.5 kB / 0.566 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4089, allocations: 0 / 0.566 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.4091, allocations: 27.97 kB / 0.566 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4091, allocations: 0 / 0.566 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4091, allocations: 4 kB / 0.5661 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4091, allocations: 8 kB / 0.5661 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4091, allocations: 0 / 0.5661 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.4094, allocations: 211.3 kB / 0.5663 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.4095, allocations: 85.06 kB / 0.5663 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.4095, allocations: 0 / 0.5663 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.4096, allocations: 11.92 kB / 0.5664 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.4097, allocations: 15.98 kB / 0.5664 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.4097, allocations: 0 / 0.5664 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.322e-05/0.4097, allocations: 95.27 kB / 0.5665 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4097, allocations: 0 / 0.5665 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.41, allocations: 23.95 kB / 0.5665 GB, free: 13.03 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.0001469/0.4102, allocations: 103.2 kB / 0.5666 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.4105, allocations: 95.81 kB / 0.5667 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4105, allocations: 4 kB / 0.5667 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.4106, allocations: 47.89 kB / 0.5667 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.4108, allocations: 11.88 kB / 0.5667 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.4113, allocations: 247.2 kB / 0.567 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.4117, allocations: 0.7166 MB / 0.5677 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.461e-05/0.4118, allocations: 24.53 kB / 0.5677 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.4118, allocations: 11.44 kB / 0.5677 GB, free: 11.71 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4118, allocations: 0 / 0.5677 GB, free: 11.71 MB / 414.1 MB Notification: Performance of Templates: time 0.003944/0.4158, allocations: 0.9853 MB / 0.5687 GB, free: 10.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.469509259797633]