Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 234.9 MB / 250.5 MB, free: 9.605 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.000442, allocations: 19.98 kB / 314.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2899, allocations: 54.87 MB / 369.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002421/0.2924, allocations: 1.455 MB / 370.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.2952, allocations: 1.487 MB / 372.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.142e-05/0.2954, allocations: 0 / 372.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.2956, allocations: 47.73 kB / 372.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.2959, allocations: 55.83 kB / 372.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000976/0.2969, allocations: 359.2 kB / 372.6 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.2972, allocations: 163.6 kB / 372.8 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.954e-05/0.2973, allocations: 24.41 kB / 372.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.2974, allocations: 79.7 kB / 372.9 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.2976, allocations: 91.53 kB / 373 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.2977, allocations: 8 kB / 373 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.2989, allocations: 0.698 MB / 373.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.299, allocations: 67.78 kB / 373.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.2991, allocations: 61.52 kB / 373.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007163/0.2999, allocations: 368 kB / 374.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.953e-06/0.2999, allocations: 0 / 374.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.031e-06/0.2999, allocations: 0 / 374.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.52e-06/0.2999, allocations: 0 / 374.2 MB, free: 7.793 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.001016/0.3009, allocations: 0.5809 MB / 374.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.301, allocations: 12.03 kB / 374.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.737e-05/0.3011, allocations: 31.56 kB / 374.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.3014, allocations: 238.6 kB / 375 MB, free: 6.848 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.3015, allocations: 20.56 kB / 375 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.3016, allocations: 20 kB / 375 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009696/0.3025, allocations: 471.3 kB / 375.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.3026, allocations: 11.94 kB / 375.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.3026, allocations: 8 kB / 375.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-05/0.3027, allocations: 60.84 kB / 375.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.3039, allocations: 0.5543 MB / 376.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.3064, allocations: 1.342 MB / 377.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.3071, allocations: 272.2 kB / 377.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.3072, allocations: 12.12 kB / 377.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3072, allocations: 38.56 kB / 377.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 3.458e-06/0.3073, allocations: 0 / 377.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009955/0.3083, allocations: 341.9 kB / 378.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.3083, allocations: 55.41 kB / 378.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3085, allocations: 151.3 kB / 378.3 MB, free: 3.352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.3086, allocations: 29.7 kB / 378.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.3088, allocations: 258.1 kB / 378.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.992e-05/0.3089, allocations: 90.73 kB / 378.7 MB, free: 2.973 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.3089, allocations: 4 kB / 378.7 MB, free: 2.969 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3091, allocations: 322.8 kB / 379 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.3094, allocations: 95.92 kB / 379.1 MB, free: 2.551 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.3097, allocations: 187.9 kB / 379.3 MB, free: 2.332 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.3101, allocations: 115.9 kB / 379.4 MB, free: 2.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.783e-06/0.3101, allocations: 0 / 379.4 MB, free: 2.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008239/0.3109, allocations: 325.1 kB / 379.7 MB, free: 1.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.311, allocations: 8 kB / 379.7 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.167e-06/0.311, allocations: 0 / 379.7 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.311, allocations: 7.984 kB / 379.7 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/0.3117, allocations: 123.8 kB / 379.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.3135, allocations: 2.364 MB / 382.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.3137, allocations: 35.67 kB / 382.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-05/0.3138, allocations: 19.98 kB / 382.3 MB, free: 15.25 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002713/0.3141, allocations: 173.7 kB / 382.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.438e-05/0.3142, allocations: 15.81 kB / 382.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.3153, allocations: 382.3 kB / 382.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.544e-06/0.3153, allocations: 4 kB / 382.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.101e-06/0.3153, allocations: 3.984 kB / 382.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.3153, allocations: 3.984 kB / 382.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.3159, allocations: 333.4 kB / 383.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3159, allocations: 0 / 383.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/0.3165, allocations: 111.8 kB / 383.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.319e-06/0.3165, allocations: 0 / 383.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.3165, allocations: 8 kB / 383.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.3183, allocations: 2.367 MB / 385.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.65e-06/0.3183, allocations: 0 / 385.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.3191, allocations: 379.8 kB / 386 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.3191, allocations: 100.8 kB / 386.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.3192, allocations: 4 kB / 386.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3194, allocations: 12 kB / 386.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.3195, allocations: 23.95 kB / 386.2 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.3196, allocations: 16 kB / 386.2 MB, free: 11.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.791e-05/0.3197, allocations: 97.23 kB / 386.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.19e-07/0.3197, allocations: 0 / 386.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006831/0.3204, allocations: 171.4 kB / 386.5 MB, free: 10.89 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005066/0.3209, allocations: 231 kB / 386.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.3219, allocations: 324.1 kB / 387 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.373e-06/0.3219, allocations: 0 / 387 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006181/0.3226, allocations: 175.8 kB / 387.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.3228, allocations: 12.88 kB / 387.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.3242, allocations: 0.7352 MB / 387.9 MB, free: 9.398 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.3248, allocations: 0.8102 MB / 388.7 MB, free: 8.562 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.3249, allocations: 31.42 kB / 388.8 MB, free: 8.531 MB / 314.7 MB Notification: Performance of SimCode: time 1.385e-06/0.3249, allocations: 0 / 388.8 MB, free: 8.531 MB / 314.7 MB Notification: Performance of Templates: time 0.01498/0.3399, allocations: 8.656 MB / 397.4 MB, free: 15.87 MB / 330.7 MB