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.001024/0.001024, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001559/0.001559, allocations: 174.3 kB / 24.91 MB, free: 8.77 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 1.127/1.127, allocations: 177.1 MB / 205.3 MB, free: 5.125 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.2746/0.2746, allocations: 32.81 MB / 294.6 MB, free: 1.195 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.433e-06/1.433e-06, allocations: 0 / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.92e-05, allocations: 2.312 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.00327/0.003299, allocations: 1.928 MB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.005352, allocations: 1.648 MB / 326.9 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.005434, allocations: 0 / 326.9 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.005655, allocations: 47.62 kB / 326.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.005908, allocations: 91.48 kB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000752/0.00666, allocations: 399 kB / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.006915, allocations: 254.6 kB / 327.7 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.006967, allocations: 14.55 kB / 327.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.007203, allocations: 143.4 kB / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.007333, allocations: 103.6 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.007356, allocations: 8 kB / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.007867, allocations: 339.2 kB / 328.3 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.858e-05/0.007956, allocations: 79.61 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.974e-05/0.008035, allocations: 67.73 kB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00058/0.008615, allocations: 0.5059 MB / 328.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.008618, allocations: 0 / 328.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008619, allocations: 4 kB / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.008624, allocations: 0 / 328.9 MB, free: 4.031 MB / 298.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.0006318/0.009255, allocations: 0.524 MB / 329.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.009288, allocations: 8.031 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.00935, allocations: 40.91 kB / 329.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.009524, allocations: 149.4 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.009543, allocations: 28.77 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.009568, allocations: 24 kB / 329.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.0099, allocations: 283.5 kB / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.009912, allocations: 0 / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.00994, allocations: 19.98 kB / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.203e-05/0.01, allocations: 44.97 kB / 330 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.0102, allocations: 170.9 kB / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.01123, allocations: 0.7825 MB / 331 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.01147, allocations: 150.1 kB / 331.1 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.386e-05/0.01151, allocations: 32.84 kB / 331.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.01154, allocations: 11.98 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.01157, allocations: 38.55 kB / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/0.01157, allocations: 0 / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002191/0.01179, allocations: 134.8 kB / 331.3 MB, free: 1.488 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.01182, allocations: 55.41 kB / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.158e-05/0.01191, allocations: 153.4 kB / 331.5 MB, free: 1.262 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.01193, allocations: 29.7 kB / 331.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.01202, allocations: 204.1 kB / 331.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.01206, allocations: 83.22 kB / 331.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.01213, allocations: 69.61 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.01221, allocations: 326.8 kB / 332.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.804e-05/0.01225, allocations: 27.98 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.377e-05/0.01233, allocations: 117 kB / 332.4 MB, free: 368 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.01248, allocations: 181.7 kB / 332.5 MB, free: 148 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.01249, allocations: 0 / 332.5 MB, free: 148 kB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001962/0.01268, allocations: 169.6 kB / 332.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.0127, allocations: 11.94 kB / 332.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.01271, allocations: 4 kB / 332.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.01272, allocations: 4 kB / 332.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.01309, allocations: 127.8 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008352/0.01393, allocations: 2.354 MB / 335.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.01403, allocations: 31.78 kB / 335.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.01405, allocations: 15.98 kB / 335.3 MB, free: 13.32 MB / 314.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.0001078/0.01416, allocations: 128.6 kB / 335.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.01419, allocations: 19.92 kB / 335.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.01448, allocations: 212 kB / 335.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.01449, allocations: 4 kB / 335.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.01449, allocations: 4 kB / 335.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.0145, allocations: 3.984 kB / 335.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.01468, allocations: 145.7 kB / 335.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01468, allocations: 3.938 kB / 335.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.01498, allocations: 119.9 kB / 335.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01498, allocations: 0 / 335.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.015, allocations: 11.94 kB / 335.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007083/0.01571, allocations: 2.353 MB / 338.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01571, allocations: 0 / 338.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.01589, allocations: 234.2 kB / 338.5 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.0159, allocations: 15.84 kB / 338.5 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.01592, allocations: 7.938 kB / 338.5 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.01599, allocations: 12.25 kB / 338.5 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.01603, allocations: 19.95 kB / 338.5 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01604, allocations: 8 kB / 338.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.025e-05/0.01607, allocations: 24.83 kB / 338.6 MB, free: 9.859 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01607, allocations: 0 / 338.6 MB, free: 9.859 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003742/0.01645, allocations: 175.2 kB / 338.7 MB, free: 9.688 MB / 314.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.000327/0.01678, allocations: 231.6 kB / 339 MB, free: 9.453 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.01706, allocations: 173.8 kB / 339.1 MB, free: 9.281 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.01706, allocations: 0 / 339.1 MB, free: 9.281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.0172, allocations: 113.2 kB / 339.2 MB, free: 9.168 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.01737, allocations: 19.94 kB / 339.3 MB, free: 9.148 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008641/0.01823, allocations: 0.5582 MB / 339.8 MB, free: 8.566 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.854e-05/0.0183, allocations: 108.3 kB / 339.9 MB, free: 8.441 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.01842, allocations: 49.81 kB / 340 MB, free: 8.387 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.48e-05/0.01851, allocations: 79.36 kB / 340.1 MB, free: 8.309 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01852, allocations: 0 / 340.1 MB, free: 8.309 MB / 314.7 MB Notification: Performance of Templates: time 0.007868/0.02638, allocations: 5.187 MB / 345.2 MB, free: 3.184 MB / 314.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 -s gbode -gbm=radauIIA3 -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.4252911782823503]