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.001365/0.001365, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001005/0.001005, allocations: 165.3 kB / 24.99 MB, free: 8.336 MB / 18.57 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 0.9835/0.9835, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2797/0.2797, allocations: 32.8 MB / 294.6 MB, free: 1.289 MB / 266.7 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.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|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.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.609e-05, allocations: 10.19 kB / 376 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002409/0.002435, allocations: 1.864 MB / 377.9 MB, free: 3.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.003636, allocations: 0.8177 MB / 378.7 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.003721, allocations: 0 / 378.7 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.003965, allocations: 39.77 kB / 378.8 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.004233, allocations: 75.52 kB / 378.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.004435, allocations: 75.59 kB / 378.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.004616, allocations: 143.3 kB / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.004659, allocations: 4 kB / 379 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.004856, allocations: 87.77 kB / 379.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.004984, allocations: 83.77 kB / 379.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.005, allocations: 8 kB / 379.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.005112, allocations: 47.91 kB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.005182, allocations: 35.84 kB / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.005222, allocations: 23.92 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.005449, allocations: 135.5 kB / 379.5 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005451, allocations: 0 / 379.5 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005452, allocations: 0 / 379.5 MB, free: 1.504 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.005457, allocations: 0 / 379.5 MB, free: 1.504 MB / 346.7 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.0004919/0.005949, allocations: 440.1 kB / 379.9 MB, free: 1.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.005989, allocations: 8.031 kB / 379.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.006271, allocations: 64.77 kB / 380 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.006419, allocations: 128.4 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.006433, allocations: 8.375 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.006449, allocations: 12.38 kB / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.006674, allocations: 153.9 kB / 380.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.006686, allocations: 3.938 kB / 380.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.0067, allocations: 7.984 kB / 380.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.00673, allocations: 11.98 kB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.006865, allocations: 51.95 kB / 380.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.007458, allocations: 0.6417 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.007658, allocations: 79.19 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.007693, allocations: 15.69 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.007706, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.007728, allocations: 37.33 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.007729, allocations: 4 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001945/0.007924, allocations: 77.58 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.007959, allocations: 55.39 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.008061, allocations: 189.8 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.008072, allocations: 25.7 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.008138, allocations: 166.8 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.008156, allocations: 31.92 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.008197, allocations: 35.36 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.008383, allocations: 0.4884 MB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.008414, allocations: 15.98 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.008473, allocations: 97.11 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.781e-05/0.00857, allocations: 125 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.008573, allocations: 3.938 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001387/0.008712, allocations: 121.4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.008727, allocations: 7.938 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.008735, allocations: 4 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.00875, allocations: 0 / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.008854, allocations: 39.92 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.008862, allocations: 3.984 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.008909, allocations: 15.89 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.008921, allocations: 8.641 kB / 382.6 MB, free: 14.06 MB / 362.7 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 7.356e-05/0.008995, allocations: 164.6 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.009016, allocations: 11.89 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.009163, allocations: 86.02 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.009166, allocations: 0 / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.00917, allocations: 0 / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.009175, allocations: 4 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.009299, allocations: 156.5 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.0093, allocations: 0 / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/0.009369, allocations: 27.98 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.009372, allocations: 3.984 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.00938, allocations: 3.938 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.009381, allocations: 0 / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009382, allocations: 0 / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.009512, allocations: 219.8 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-06/0.00952, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.009536, allocations: 11.94 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.859e-05/0.009575, allocations: 3.984 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.009612, allocations: 4 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.009618, allocations: 7.984 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.205e-05/0.00966, allocations: 139.2 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00966, allocations: 0 / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000194/0.009854, allocations: 31.94 kB / 383.5 MB, free: 13.12 MB / 362.7 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.0001198/0.009974, allocations: 103.2 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.0101, allocations: 63.97 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0101, allocations: 4.062 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.997e-05/0.01013, allocations: 31.61 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.01032, allocations: 11.05 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/0.01096, allocations: 254.1 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.965e-05/0.01101, allocations: 71.33 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.874e-05/0.01107, allocations: 20.45 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.01112, allocations: 16.5 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01112, allocations: 0 / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of Templates: time 0.00315/0.01427, allocations: 0.9246 MB / 384.9 MB, free: 11.62 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.255740938009694]