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.General.dp_nominalPressureLossLawDensity_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.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.385/2.385, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.000432, allocations: 12 kB / 314.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2796, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002591/0.2823, allocations: 1.544 MB / 370.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.2844, allocations: 0.9992 MB / 371.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.011e-05/0.2845, allocations: 3.938 kB / 371.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.2848, allocations: 63.77 kB / 371.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.285, allocations: 59.75 kB / 371.9 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.2855, allocations: 119.7 kB / 372 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.2858, allocations: 191.5 kB / 372.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.212e-05/0.2859, allocations: 28.73 kB / 372.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.2861, allocations: 91.56 kB / 372.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.2863, allocations: 99.47 kB / 372.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.2863, allocations: 8 kB / 372.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006869/0.287, allocations: 311.5 kB / 372.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.2871, allocations: 43.83 kB / 372.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.2872, allocations: 69.58 kB / 372.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.2878, allocations: 280.1 kB / 373.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2878, allocations: 3.938 kB / 373.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.303e-06/0.2878, allocations: 4 kB / 373.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.2878, allocations: 0 / 373.1 MB, free: 6.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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0008045/0.2886, allocations: 0.524 MB / 373.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.2887, allocations: 8.031 kB / 373.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.2888, allocations: 31.62 kB / 373.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.2891, allocations: 226.7 kB / 373.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.2892, allocations: 29 kB / 373.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.2893, allocations: 32 kB / 373.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009609/0.2902, allocations: 497.3 kB / 374.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.2903, allocations: 11.88 kB / 374.4 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.2903, allocations: 12 kB / 374.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.538e-05/0.2904, allocations: 28.98 kB / 374.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008787/0.2913, allocations: 435.7 kB / 374.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.2933, allocations: 1.209 MB / 376.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.2936, allocations: 78.53 kB / 376.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.2937, allocations: 3.938 kB / 376.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.2937, allocations: 42.56 kB / 376.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 3.183e-06/0.2937, allocations: 0 / 376.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005972/0.2943, allocations: 169.4 kB / 376.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.2944, allocations: 55.41 kB / 376.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.2946, allocations: 170.2 kB / 376.6 MB, free: 3.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.2946, allocations: 25.7 kB / 376.6 MB, free: 2.992 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.2948, allocations: 289.9 kB / 376.9 MB, free: 2.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.2949, allocations: 27.64 kB / 377 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.2949, allocations: 4 kB / 377 MB, free: 2.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2951, allocations: 318.8 kB / 377.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.2953, allocations: 63.88 kB / 377.3 MB, free: 2.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.2956, allocations: 176.2 kB / 377.5 MB, free: 2.062 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.2959, allocations: 87.89 kB / 377.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.783e-06/0.2959, allocations: 0 / 377.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006627/0.2965, allocations: 249.1 kB / 377.8 MB, free: 1.727 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.2966, allocations: 8 kB / 377.8 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.2966, allocations: 7.953 kB / 377.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.2966, allocations: 8 kB / 377.9 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.2971, allocations: 88.41 kB / 377.9 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.2985, allocations: 1.786 MB / 379.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.2987, allocations: 35.97 kB / 379.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.2988, allocations: 19.98 kB / 379.8 MB, free: 15.71 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003141/0.2991, allocations: 173.7 kB / 380 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.2992, allocations: 7.906 kB / 380 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007288/0.2999, allocations: 221.8 kB / 380.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3, allocations: 4 kB / 380.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.681e-06/0.3, allocations: 0 / 380.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3, allocations: 4 kB / 380.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.3005, allocations: 293.4 kB / 380.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.3005, allocations: 3.984 kB / 380.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.3008, allocations: 59.95 kB / 380.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3008, allocations: 0 / 380.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3008, allocations: 4 kB / 380.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.3022, allocations: 1.774 MB / 382.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.049e-06/0.3022, allocations: 288 / 382.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.3027, allocations: 231.3 kB / 382.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.3028, allocations: 89 kB / 382.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.3028, allocations: 0 / 382.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.303, allocations: 12 kB / 382.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.3031, allocations: 15.94 kB / 382.7 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3031, allocations: 4 kB / 382.7 MB, free: 12.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.3032, allocations: 114.5 kB / 382.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.3033, allocations: 0 / 382.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005967/0.3039, allocations: 107.5 kB / 382.9 MB, free: 12.45 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003141/0.3042, allocations: 154.4 kB / 383 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007567/0.305, allocations: 191.7 kB / 383.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.581e-06/0.305, allocations: 1.125 kB / 383.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.3054, allocations: 99.86 kB / 383.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.3057, allocations: 8 kB / 383.3 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.3068, allocations: 0.604 MB / 383.9 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.3073, allocations: 0.7982 MB / 384.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.3074, allocations: 23.36 kB / 384.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.461e-06/0.3074, allocations: 0 / 384.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of Templates: time 0.01185/0.3193, allocations: 6.786 MB / 391.5 MB, free: 3.734 MB / 314.7 MB