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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 234.9 MB / 250.5 MB, free: 9.605 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004532, allocations: 12 kB / 314.3 MB, free: 9.633 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.291, allocations: 54.87 MB / 369.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002238/0.2933, allocations: 1.336 MB / 370.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.2948, allocations: 0.7392 MB / 371.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.2949, allocations: 3.938 kB / 371.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.2951, allocations: 31.88 kB / 371.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.2953, allocations: 43.88 kB / 371.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.2956, allocations: 75.75 kB / 371.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.2958, allocations: 95.78 kB / 371.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.2959, allocations: 13.11 kB / 371.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.296, allocations: 51.83 kB / 371.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.2962, allocations: 55.77 kB / 371.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2962, allocations: 4 kB / 371.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.2966, allocations: 151.8 kB / 371.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.2967, allocations: 31.91 kB / 371.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/0.2967, allocations: 53.58 kB / 371.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.297, allocations: 132.4 kB / 372 MB, free: 9.922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.697e-06/0.2971, allocations: 0 / 372 MB, free: 9.922 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.999e-06/0.2971, allocations: 0 / 372 MB, free: 9.922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.999e-06/0.2971, allocations: 4 kB / 372 MB, free: 9.918 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006844/0.2978, allocations: 434.9 kB / 372.4 MB, free: 9.445 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2978, allocations: 8.031 kB / 372.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005852/0.2984, allocations: 67.73 kB / 372.5 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.2987, allocations: 202.9 kB / 372.7 MB, free: 9.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.2988, allocations: 8 kB / 372.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.2988, allocations: 16 kB / 372.7 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000581/0.2994, allocations: 249.2 kB / 373 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2994, allocations: 3.953 kB / 373 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.2995, allocations: 0 / 373 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.843e-05/0.2995, allocations: 23.98 kB / 373 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006227/0.3002, allocations: 235.8 kB / 373.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.3016, allocations: 0.744 MB / 374 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.3019, allocations: 94.5 kB / 374.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3019, allocations: 0 / 374.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.302, allocations: 30.56 kB / 374.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.96e-06/0.302, allocations: 0 / 374.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006569/0.3027, allocations: 193.2 kB / 374.3 MB, free: 7.434 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3027, allocations: 51.41 kB / 374.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.303, allocations: 191.3 kB / 374.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.303, allocations: 29.7 kB / 374.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.3032, allocations: 206.1 kB / 374.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.3032, allocations: 23.66 kB / 374.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.3032, allocations: 0 / 374.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3034, allocations: 322.8 kB / 375.1 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.3036, allocations: 47.95 kB / 375.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.3039, allocations: 106.8 kB / 375.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.3041, allocations: 67.89 kB / 375.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.033e-06/0.3041, allocations: 0 / 375.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005569/0.3047, allocations: 185.7 kB / 375.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3047, allocations: 4 kB / 375.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.837e-06/0.3047, allocations: 4 kB / 375.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3047, allocations: 0 / 375.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.3058, allocations: 112.1 kB / 375.6 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.3075, allocations: 1.817 MB / 377.4 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.3077, allocations: 31.72 kB / 377.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.3077, allocations: 8 kB / 377.5 MB, free: 4.117 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * 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.00019/0.3079, allocations: 141.9 kB / 377.6 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.308, allocations: 15.89 kB / 377.6 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006359/0.3087, allocations: 194.8 kB / 377.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.715e-06/0.3087, allocations: 0 / 377.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3087, allocations: 0 / 377.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.397e-06/0.3087, allocations: 0 / 377.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.3091, allocations: 237.4 kB / 378 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-06/0.3091, allocations: 4 kB / 378.1 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008361/0.31, allocations: 91.89 kB / 378.1 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.164e-06/0.31, allocations: 0 / 378.1 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.31, allocations: 8 kB / 378.1 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.3115, allocations: 1.777 MB / 379.9 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.804e-06/0.3115, allocations: 0 / 379.9 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.312, allocations: 259.5 kB / 380.2 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3122, allocations: 88.92 kB / 380.3 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.3122, allocations: 0 / 380.3 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3124, allocations: 15.98 kB / 380.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.3125, allocations: 11.98 kB / 380.3 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3125, allocations: 4 kB / 380.3 MB, free: 1.121 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001681/0.3127, allocations: 136.9 kB / 380.4 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.3127, allocations: 0 / 380.4 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000438/0.3131, allocations: 39.94 kB / 380.5 MB, free: 0.9492 MB / 298.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 (11): * Single equations (assignments): 8 * 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.000213/0.3134, allocations: 114 kB / 380.6 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.3148, allocations: 220.1 kB / 380.8 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.786e-06/0.3148, allocations: 7.938 kB / 380.8 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007532/0.3156, allocations: 111.9 kB / 380.9 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.316, allocations: 40.3 kB / 381 MB, free: 468 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008606/0.3168, allocations: 432.2 kB / 381.4 MB, free: 8 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.3173, allocations: 0.7397 MB / 382.1 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.3174, allocations: 19.44 kB / 382.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of SimCode: time 1.645e-06/0.3174, allocations: 0 / 382.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Templates: time 0.008746/0.3262, allocations: 4.341 MB / 386.5 MB, free: 10.89 MB / 314.7 MB