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_turbulent_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.0009652/0.0009652, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.00108/0.00108, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9448/0.9448, allocations: 177.1 MB / 205 MB, free: 5.613 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.254/0.254, allocations: 32.8 MB / 294.3 MB, free: 1.285 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_turbulent_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_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.199e-05, allocations: 5.547 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002557/0.002589, allocations: 1.896 MB / 377.9 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.004792, allocations: 1.656 MB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.004877, allocations: 0 / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.005118, allocations: 43.75 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.005417, allocations: 95.38 kB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007818/0.006199, allocations: 410.5 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.006464, allocations: 258.5 kB / 380.4 MB, free: 276 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.006511, allocations: 12.59 kB / 380.4 MB, free: 264 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.006757, allocations: 135.5 kB / 380.5 MB, free: 128 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.006903, allocations: 103.6 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.006923, allocations: 8 kB / 380.6 MB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005463/0.007469, allocations: 335.3 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.262e-05/0.007562, allocations: 71.69 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.00765, allocations: 71.72 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00067/0.00832, allocations: 0.502 MB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.008324, allocations: 7.938 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.008325, allocations: 0 / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.00833, allocations: 0 / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007679/0.009098, allocations: 0.6593 MB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.009136, allocations: 12.03 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.352e-05/0.00923, allocations: 52.69 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.009445, allocations: 184.1 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.00947, allocations: 24.78 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.009507, allocations: 27.98 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.009925, allocations: 288.8 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.009936, allocations: 0 / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.009961, allocations: 12 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.183e-05/0.01002, allocations: 44.97 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.01037, allocations: 249.8 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.01169, allocations: 0.962 MB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.01205, allocations: 179 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.131e-05/0.01213, allocations: 47.67 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.01216, allocations: 8 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.01218, allocations: 37.39 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.894e-06/0.01218, allocations: 0 / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.000401/0.01258, allocations: 202.7 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.01262, allocations: 59.34 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.01275, allocations: 209.9 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.01277, allocations: 33.64 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.01288, allocations: 242.9 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.01294, allocations: 87.23 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/0.01303, allocations: 75.34 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.01317, allocations: 0.5001 MB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.01325, allocations: 43.83 kB / 385.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.01339, allocations: 161.7 kB / 386 MB, free: 10.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.01364, allocations: 224.2 kB / 386.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.01364, allocations: 4 kB / 386.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003418/0.01398, allocations: 233.2 kB / 386.4 MB, free: 9.891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.014, allocations: 7.984 kB / 386.4 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.01401, allocations: 4.344 kB / 386.4 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01402, allocations: 8 kB / 386.4 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.01441, allocations: 135.8 kB / 386.6 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.01599, allocations: 3.585 MB / 390.2 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.01611, allocations: 28.03 kB / 390.2 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.01614, allocations: 20 kB / 390.2 MB, free: 5.992 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.01627, allocations: 180.4 kB / 390.4 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.01632, allocations: 23.91 kB / 390.4 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.01677, allocations: 267.1 kB / 390.7 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01678, allocations: 4 kB / 390.7 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.01678, allocations: 0 / 390.7 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01678, allocations: 0 / 390.7 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.01707, allocations: 252.8 kB / 390.9 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01707, allocations: 0 / 390.9 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.0174, allocations: 123.9 kB / 391 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01741, allocations: 0 / 391 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.01743, allocations: 15.98 kB / 391.1 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.01857, allocations: 3.577 MB / 394.6 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.01857, allocations: 4.188 kB / 394.6 MB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.0189, allocations: 343.8 kB / 395 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.01892, allocations: 15.84 kB / 395 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.01894, allocations: 4 kB / 395 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.01903, allocations: 8 kB / 395 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.0191, allocations: 31.89 kB / 395 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.01912, allocations: 8 kB / 395 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.011e-05/0.01918, allocations: 142.1 kB / 395.2 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01918, allocations: 3.938 kB / 395.2 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005401/0.01972, allocations: 179.1 kB / 395.4 MB, free: 0.6602 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003915/0.02011, allocations: 246.5 kB / 395.6 MB, free: 420 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004335/0.02054, allocations: 216.6 kB / 395.8 MB, free: 200 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.02054, allocations: 3.938 kB / 395.8 MB, free: 196 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.02077, allocations: 144 kB / 396 MB, free: 48 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.02106, allocations: 20 kB / 396 MB, free: 28 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.02216, allocations: 0.5214 MB / 396.5 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.91e-05/0.02224, allocations: 112.3 kB / 396.6 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.02244, allocations: 93.72 kB / 396.7 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.02251, allocations: 32.48 kB / 396.7 MB, free: 15.22 MB / 378.7 MB Notification: Performance of SimCode: time 9.01e-07/0.02251, allocations: 3.938 kB / 396.7 MB, free: 15.22 MB / 378.7 MB Notification: Performance of Templates: time 0.008832/0.03134, allocations: 5.307 MB / 402 MB, free: 9.969 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW/dp_turbulent_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.4670733180828393]