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_overall_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_overall_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_overall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.996/1.996, allocations: 209.3 MB / 224.8 MB, free: 188 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004997, allocations: 12 kB / 282.5 MB, free: 9.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3574, allocations: 48.7 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.00336/0.3608, allocations: 1.463 MB / 332.7 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004687/0.3655, allocations: 2.479 MB / 335.2 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.3657, allocations: 1.688 kB / 335.2 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.3659, allocations: 41.58 kB / 335.2 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.3662, allocations: 64.44 kB / 335.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.3684, allocations: 0.6206 MB / 335.9 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.3686, allocations: 166.5 kB / 336 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.302e-05/0.3687, allocations: 28.98 kB / 336.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.3689, allocations: 81.27 kB / 336.2 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3691, allocations: 95.23 kB / 336.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.3692, allocations: 11.12 kB / 336.3 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.3714, allocations: 1.192 MB / 337.4 MB, free: 3.027 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.153e-05/0.3715, allocations: 66.72 kB / 337.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.285e-05/0.3716, allocations: 65.14 kB / 337.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.3728, allocations: 0.5277 MB / 338.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.11e-06/0.3728, allocations: 0 / 338.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.163e-06/0.3728, allocations: 0 / 338.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.767e-06/0.3728, allocations: 1.188 kB / 338.1 MB, free: 2.672 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.0008738/0.3737, allocations: 0.6241 MB / 338.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3738, allocations: 12.09 kB / 338.7 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.3739, allocations: 33.7 kB / 338.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.3741, allocations: 237.5 kB / 339 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.3742, allocations: 22.98 kB / 339 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/0.3743, allocations: 21.44 kB / 339.1 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008444/0.3751, allocations: 478.6 kB / 339.5 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3751, allocations: 0 / 339.5 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.3752, allocations: 17.2 kB / 339.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.789e-05/0.3753, allocations: 47.34 kB / 339.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.3763, allocations: 0.5553 MB / 340.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.3785, allocations: 1.338 MB / 341.5 MB, free: 204 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006333/0.3791, allocations: 277.5 kB / 341.7 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.3792, allocations: 8.875 kB / 341.8 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.3792, allocations: 43.7 kB / 341.8 MB, free: 16 kB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 3.274e-06/0.3792, allocations: 0 / 341.8 MB, free: 16 kB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.00102/0.3803, allocations: 343 kB / 342.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3803, allocations: 53.88 kB / 342.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.3805, allocations: 141 kB / 342.3 MB, free: 15.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.3806, allocations: 30.98 kB / 342.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.3808, allocations: 261.9 kB / 342.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.3809, allocations: 85.94 kB / 342.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.3809, allocations: 9.156 kB / 342.7 MB, free: 15.31 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3811, allocations: 322.8 kB / 343 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.3814, allocations: 90.83 kB / 343.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.3817, allocations: 177.3 kB / 343.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.3821, allocations: 125.2 kB / 343.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.857e-06/0.3821, allocations: 1.156 kB / 343.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008585/0.383, allocations: 330.5 kB / 343.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.383, allocations: 5.156 kB / 343.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.383, allocations: 7 kB / 343.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.3831, allocations: 5.438 kB / 343.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.3837, allocations: 124.4 kB / 343.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.3856, allocations: 2.358 MB / 346.2 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.3859, allocations: 40.75 kB / 346.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.3859, allocations: 21.09 kB / 346.3 MB, free: 12.13 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.0002777/0.3862, allocations: 176.1 kB / 346.5 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.3863, allocations: 14.28 kB / 346.5 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.3874, allocations: 380.8 kB / 346.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.563e-06/0.3875, allocations: 3.156 kB / 346.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.3875, allocations: 4 kB / 346.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.3875, allocations: 0 / 346.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.3881, allocations: 348.2 kB / 347.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-06/0.3881, allocations: 0 / 347.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/0.3887, allocations: 106.5 kB / 347.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.451e-06/0.3887, allocations: 2.125 kB / 347.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.3888, allocations: 7.812 kB / 347.3 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.3905, allocations: 2.371 MB / 349.7 MB, free: 9.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.272e-06/0.3905, allocations: 0 / 349.7 MB, free: 9.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007899/0.3913, allocations: 374.2 kB / 350 MB, free: 8.785 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/0.3915, allocations: 97.39 kB / 350.1 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.3915, allocations: 6.75 kB / 350.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.3917, allocations: 19.03 kB / 350.2 MB, free: 8.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/0.3918, allocations: 22.25 kB / 350.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.3919, allocations: 16.33 kB / 350.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.967e-05/0.392, allocations: 95.59 kB / 350.3 MB, free: 8.559 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.392, allocations: 1.062 kB / 350.3 MB, free: 8.559 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000954/0.393, allocations: 238.8 kB / 350.5 MB, free: 8.465 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.0008885/0.3939, allocations: 351.7 kB / 350.9 MB, free: 8.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.3952, allocations: 301.8 kB / 351.2 MB, free: 8.137 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3952, allocations: 0 / 351.2 MB, free: 8.137 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.3959, allocations: 191 kB / 351.3 MB, free: 8.066 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.3962, allocations: 8.078 kB / 351.4 MB, free: 8.062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3977, allocations: 0.7317 MB / 352.1 MB, free: 7.543 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.3982, allocations: 0.8063 MB / 352.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.3984, allocations: 37.27 kB / 352.9 MB, free: 6.766 MB / 282.7 MB Notification: Performance of SimCode: time 1.715e-06/0.3984, allocations: 0 / 352.9 MB, free: 6.766 MB / 282.7 MB Notification: Performance of Templates: time 0.01768/0.4161, allocations: 9.791 MB / 362.7 MB, free: 14.32 MB / 298.7 MB