Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.954/1.954, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004335, allocations: 12 kB / 282.5 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2793, allocations: 48.7 MB / 331.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002067/0.2814, allocations: 1.459 MB / 332.7 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.284, allocations: 1.465 MB / 334.1 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.315e-05/0.2841, allocations: 5.125 kB / 334.1 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.2843, allocations: 44.59 kB / 334.2 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.2846, allocations: 57.67 kB / 334.2 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009597/0.2856, allocations: 353.5 kB / 334.6 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.2858, allocations: 161.9 kB / 334.8 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.393e-05/0.2859, allocations: 28.59 kB / 334.8 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.2861, allocations: 86.2 kB / 334.9 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.2863, allocations: 91.59 kB / 335 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.2863, allocations: 5.375 kB / 335 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.2875, allocations: 0.6963 MB / 335.7 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.894e-05/0.2876, allocations: 61.8 kB / 335.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.2877, allocations: 64.05 kB / 335.8 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007127/0.2884, allocations: 365.2 kB / 336.1 MB, free: 3.984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2884, allocations: 0 / 336.1 MB, free: 3.984 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.861e-06/0.2884, allocations: 0 / 336.1 MB, free: 3.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.2885, allocations: 1.281 kB / 336.1 MB, free: 3.984 MB / 266.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.0008313/0.2893, allocations: 0.5849 MB / 336.7 MB, free: 3.453 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2894, allocations: 8.312 kB / 336.7 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.674e-05/0.2894, allocations: 29.97 kB / 336.8 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.2897, allocations: 244.6 kB / 337 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.2898, allocations: 24.64 kB / 337 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.2898, allocations: 29.5 kB / 337 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008479/0.2907, allocations: 468.8 kB / 337.5 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2907, allocations: 0 / 337.5 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.2908, allocations: 14.98 kB / 337.5 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.49e-05/0.2909, allocations: 47.53 kB / 337.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.2919, allocations: 0.5544 MB / 338.1 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.294, allocations: 1.338 MB / 339.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/0.2947, allocations: 281.5 kB / 339.7 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.2948, allocations: 8.5 kB / 339.7 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.2948, allocations: 35.84 kB / 339.8 MB, free: 1.375 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 3.405e-06/0.2948, allocations: 1.5 kB / 339.8 MB, free: 1.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009213/0.2957, allocations: 345 kB / 340.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.2958, allocations: 54.78 kB / 340.2 MB, free: 1.152 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.2959, allocations: 140.9 kB / 340.3 MB, free: 1.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.2959, allocations: 30.83 kB / 340.3 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.2961, allocations: 265.3 kB / 340.6 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.2961, allocations: 89.94 kB / 340.7 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.2962, allocations: 6.125 kB / 340.7 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.745e-05/0.2962, allocations: 322.4 kB / 341 MB, free: 348 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.2965, allocations: 94.45 kB / 341.1 MB, free: 308 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.2968, allocations: 168.9 kB / 341.3 MB, free: 168 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.2971, allocations: 127.1 kB / 341.4 MB, free: 112 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.13e-06/0.2971, allocations: 0 / 341.4 MB, free: 112 kB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008012/0.298, allocations: 338.3 kB / 341.7 MB, free: 15.94 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.298, allocations: 6.594 kB / 341.7 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.298, allocations: 6.938 kB / 341.7 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.298, allocations: 3.875 kB / 341.7 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.2987, allocations: 120.1 kB / 341.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.3006, allocations: 2.363 MB / 344.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.3009, allocations: 33.14 kB / 344.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.301, allocations: 12.12 kB / 344.3 MB, free: 13.5 MB / 282.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.0003072/0.3013, allocations: 184.3 kB / 344.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/0.3014, allocations: 13.91 kB / 344.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.3025, allocations: 388.5 kB / 344.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.079e-06/0.3026, allocations: 3.844 kB / 344.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.89e-06/0.3026, allocations: 0 / 344.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3026, allocations: 0 / 344.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.3032, allocations: 348.6 kB / 345.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.859e-06/0.3033, allocations: 0 / 345.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/0.3039, allocations: 102.1 kB / 345.3 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.769e-06/0.3039, allocations: 1.719 kB / 345.3 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.3039, allocations: 12.17 kB / 345.3 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.3058, allocations: 2.359 MB / 347.6 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.747e-06/0.3058, allocations: 3.953 kB / 347.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008229/0.3067, allocations: 386.6 kB / 348 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.3068, allocations: 90.39 kB / 348.1 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.3068, allocations: 5.125 kB / 348.1 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.3071, allocations: 14.83 kB / 348.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.3072, allocations: 23.27 kB / 348.2 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.3072, allocations: 19.8 kB / 348.2 MB, free: 9.996 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.773e-05/0.3073, allocations: 101.4 kB / 348.3 MB, free: 9.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.97e-07/0.3073, allocations: 0 / 348.3 MB, free: 9.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007784/0.3081, allocations: 168 kB / 348.4 MB, free: 9.848 MB / 282.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.0005697/0.3087, allocations: 236.6 kB / 348.7 MB, free: 9.684 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.3098, allocations: 297.3 kB / 349 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.407e-06/0.3098, allocations: 4 kB / 349 MB, free: 9.578 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006743/0.3105, allocations: 185.7 kB / 349.1 MB, free: 9.512 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.3108, allocations: 13.3 kB / 349.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.3123, allocations: 0.7313 MB / 349.9 MB, free: 8.984 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.3129, allocations: 0.8052 MB / 350.7 MB, free: 8.227 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.313, allocations: 37.77 kB / 350.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of SimCode: time 1.55e-06/0.3131, allocations: 0 / 350.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of Templates: time 0.01587/0.3289, allocations: 8.657 MB / 359.4 MB, free: 1.645 MB / 282.7 MB