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.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.939/1.939, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007152/0.0007155, allocations: 12 kB / 282.5 MB, free: 9.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3, allocations: 48.7 MB / 331.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.001872/0.3019, allocations: 1.309 MB / 332.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3033, allocations: 0.7832 MB / 333.3 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.3034, allocations: 0 / 333.3 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.3036, allocations: 23.84 kB / 333.3 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.3038, allocations: 39.75 kB / 333.4 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.3042, allocations: 96.55 kB / 333.5 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.3044, allocations: 90.56 kB / 333.6 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.561e-05/0.3044, allocations: 14.92 kB / 333.6 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.3045, allocations: 42.06 kB / 333.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.3046, allocations: 50.38 kB / 333.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.3047, allocations: 2.844 kB / 333.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004297/0.3051, allocations: 221.7 kB / 333.9 MB, free: 5.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.3052, allocations: 34.66 kB / 333.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.3052, allocations: 48.36 kB / 334 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.3055, allocations: 148.1 kB / 334.1 MB, free: 4.965 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.949e-06/0.3056, allocations: 0 / 334.1 MB, free: 4.965 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.001e-06/0.3056, allocations: 0 / 334.1 MB, free: 4.965 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.3056, allocations: 0 / 334.1 MB, free: 4.965 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005671/0.3062, allocations: 451.1 kB / 334.5 MB, free: 4.551 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3062, allocations: 9.141 kB / 334.6 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/0.3071, allocations: 86.69 kB / 334.6 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.3073, allocations: 219.2 kB / 334.9 MB, free: 4.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.3073, allocations: 9.75 kB / 334.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.3074, allocations: 16.62 kB / 334.9 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.308, allocations: 290.7 kB / 335.2 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3081, allocations: 3.938 kB / 335.2 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.3081, allocations: 5.094 kB / 335.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.581e-05/0.3082, allocations: 20.11 kB / 335.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000675/0.3089, allocations: 270.1 kB / 335.5 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.3103, allocations: 0.8076 MB / 336.3 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.3108, allocations: 189.9 kB / 336.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.3108, allocations: 2.812 kB / 336.5 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.3109, allocations: 30.56 kB / 336.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 3.268e-06/0.3109, allocations: 1.188 kB / 336.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008293/0.3117, allocations: 265.5 kB / 336.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.3118, allocations: 52.53 kB / 336.8 MB, free: 3.215 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.312, allocations: 185 kB / 337 MB, free: 3.074 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.312, allocations: 27.11 kB / 337 MB, free: 3.043 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.3121, allocations: 207.5 kB / 337.2 MB, free: 2.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.3121, allocations: 37.03 kB / 337.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.3122, allocations: 0 / 337.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.3122, allocations: 321.6 kB / 337.6 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.3125, allocations: 70.64 kB / 337.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.3127, allocations: 124.9 kB / 337.7 MB, free: 2.367 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.313, allocations: 94.48 kB / 337.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.313, allocations: 0 / 337.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006461/0.3137, allocations: 259.1 kB / 338.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3137, allocations: 8.312 kB / 338.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.709e-06/0.3137, allocations: 1.438 kB / 338.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3137, allocations: 3.125 kB / 338.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.3143, allocations: 86.12 kB / 338.2 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007427/0.315, allocations: 1.786 MB / 340 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.3153, allocations: 31.92 kB / 340 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.3153, allocations: 16.23 kB / 340 MB, free: 340 kB / 266.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 (17): * Single equations (assignments): 14 * 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.0001465/0.3155, allocations: 142.8 kB / 340.2 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.3156, allocations: 13.8 kB / 340.2 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009238/0.3165, allocations: 294.7 kB / 340.5 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.684e-06/0.3165, allocations: 2.375 kB / 340.5 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.283e-06/0.3165, allocations: 0 / 340.5 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3166, allocations: 0 / 340.5 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.317, allocations: 239.2 kB / 340.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.317, allocations: 0 / 340.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.3174, allocations: 67.33 kB / 340.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.845e-06/0.3174, allocations: 1.125 kB / 340.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.3174, allocations: 5.094 kB / 340.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.3188, allocations: 1.789 MB / 342.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.151e-06/0.3188, allocations: 0 / 342.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005698/0.3194, allocations: 266.4 kB / 342.8 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/0.3195, allocations: 106.9 kB / 342.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.3196, allocations: 5.344 kB / 342.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.3198, allocations: 10.23 kB / 342.9 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.3198, allocations: 13.95 kB / 342.9 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3199, allocations: 2.281 kB / 343 MB, free: 13.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001963/0.3201, allocations: 149.8 kB / 343.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.9e-07/0.3201, allocations: 0 / 343.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004849/0.3206, allocations: 51.78 kB / 343.1 MB, free: 13.51 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 (13): * Single equations (assignments): 10 * 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.0002671/0.3209, allocations: 131.1 kB / 343.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000817/0.3217, allocations: 199.6 kB / 343.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3217, allocations: 0 / 343.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004866/0.3222, allocations: 109.1 kB / 343.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.3225, allocations: 19.72 kB / 343.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.3235, allocations: 463 kB / 344 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.324, allocations: 0.7557 MB / 344.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.3241, allocations: 24.02 kB / 344.8 MB, free: 12.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.594e-06/0.3241, allocations: 0 / 344.8 MB, free: 12.18 MB / 282.7 MB Notification: Performance of Templates: time 0.009516/0.3337, allocations: 4.774 MB / 349.6 MB, free: 9.707 MB / 282.7 MB