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_overall_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_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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.182/2.182, allocations: 234.9 MB / 250.5 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.000436, allocations: 12 kB / 314.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2883, allocations: 54.86 MB / 369.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002421/0.2908, allocations: 1.466 MB / 370.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004679/0.2955, allocations: 2.501 MB / 373.2 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.2956, allocations: 0 / 373.2 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.2959, allocations: 31.83 kB / 373.2 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.2962, allocations: 63.77 kB / 373.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.298, allocations: 0.6235 MB / 373.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.2983, allocations: 163.6 kB / 374.1 MB, free: 7.875 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.11e-05/0.2984, allocations: 24.39 kB / 374.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.2986, allocations: 83.62 kB / 374.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.2988, allocations: 95.59 kB / 374.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.2988, allocations: 8 kB / 374.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.3011, allocations: 1.197 MB / 375.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.639e-05/0.3012, allocations: 63.75 kB / 375.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.3013, allocations: 61.58 kB / 375.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.3025, allocations: 0.5309 MB / 376.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.907e-06/0.3025, allocations: 4 kB / 376.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.197e-06/0.3025, allocations: 0 / 376.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.961e-06/0.3025, allocations: 0 / 376.1 MB, free: 5.801 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.001087/0.3036, allocations: 0.6199 MB / 376.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3037, allocations: 12.03 kB / 376.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.3038, allocations: 27.62 kB / 376.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.3041, allocations: 246.6 kB / 377 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.3042, allocations: 20.56 kB / 377 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.3043, allocations: 31.94 kB / 377.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.3053, allocations: 475.2 kB / 377.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3053, allocations: 0 / 377.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.3053, allocations: 8 kB / 377.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.199e-05/0.3054, allocations: 44.97 kB / 377.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.3067, allocations: 0.5621 MB / 378.1 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.3093, allocations: 1.354 MB / 379.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/0.31, allocations: 270.5 kB / 379.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.3101, allocations: 12.36 kB / 379.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3101, allocations: 38.56 kB / 379.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 3.189e-06/0.3101, allocations: 0 / 379.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001026/0.3112, allocations: 337.9 kB / 380.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.3112, allocations: 59.36 kB / 380.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3114, allocations: 147.3 kB / 380.3 MB, free: 1.312 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.3115, allocations: 33.7 kB / 380.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3117, allocations: 262 kB / 380.6 MB, free: 1.016 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.908e-05/0.3118, allocations: 90.73 kB / 380.7 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.3118, allocations: 8 kB / 380.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.312, allocations: 326.8 kB / 381 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.3123, allocations: 83.92 kB / 381.1 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.3126, allocations: 180 kB / 381.3 MB, free: 304 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.313, allocations: 119.9 kB / 381.4 MB, free: 184 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.669e-06/0.313, allocations: 8 kB / 381.4 MB, free: 176 kB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008633/0.3139, allocations: 325.4 kB / 381.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3139, allocations: 4 kB / 381.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3139, allocations: 4 kB / 381.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.314, allocations: 4 kB / 381.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/0.3146, allocations: 119.8 kB / 381.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.3165, allocations: 2.367 MB / 384.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.3168, allocations: 36.02 kB / 384.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.3169, allocations: 19.98 kB / 384.3 MB, free: 13.2 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.0002745/0.3172, allocations: 173.7 kB / 384.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.3172, allocations: 27.69 kB / 384.5 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.3183, allocations: 378.2 kB / 384.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.141e-06/0.3184, allocations: 4 kB / 384.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3184, allocations: 0 / 384.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3184, allocations: 0 / 384.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005626/0.319, allocations: 337.3 kB / 385.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-06/0.319, allocations: 0 / 385.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/0.3196, allocations: 107.8 kB / 385.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.3196, allocations: 4 kB / 385.3 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.3197, allocations: 11.95 kB / 385.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.3213, allocations: 2.36 MB / 387.7 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.611e-06/0.3213, allocations: 0 / 387.7 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007599/0.3221, allocations: 383.4 kB / 388.1 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.3222, allocations: 96.94 kB / 388.1 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.3223, allocations: 4 kB / 388.2 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.3225, allocations: 12 kB / 388.2 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.3226, allocations: 23.97 kB / 388.2 MB, free: 9.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.3226, allocations: 7.984 kB / 388.2 MB, free: 9.117 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.27e-05/0.3227, allocations: 105.2 kB / 388.3 MB, free: 9.016 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.3227, allocations: 0 / 388.3 MB, free: 9.016 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008612/0.3236, allocations: 243.4 kB / 388.5 MB, free: 8.777 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.00078/0.3244, allocations: 346.7 kB / 388.9 MB, free: 8.422 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3254, allocations: 307.5 kB / 389.2 MB, free: 8.121 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.074e-06/0.3254, allocations: 0 / 389.2 MB, free: 8.121 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006286/0.3261, allocations: 188.4 kB / 389.4 MB, free: 7.938 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.3264, allocations: 16.83 kB / 389.4 MB, free: 7.922 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.3277, allocations: 0.7217 MB / 390.1 MB, free: 7.176 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.3283, allocations: 0.8179 MB / 390.9 MB, free: 6.332 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3284, allocations: 27.42 kB / 390.9 MB, free: 6.305 MB / 314.7 MB Notification: Performance of SimCode: time 1.575e-06/0.3284, allocations: 4 kB / 390.9 MB, free: 6.301 MB / 314.7 MB Notification: Performance of Templates: time 0.01714/0.3456, allocations: 9.784 MB / 400.7 MB, free: 12.51 MB / 330.7 MB