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_nominalPressureLossLawDensity_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_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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.965/1.965, allocations: 209.3 MB / 224.8 MB, free: 1.223 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004395, allocations: 12 kB / 282.5 MB, free: 9.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08763/0.0881, allocations: 48.72 MB / 331.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.00251/0.09066, allocations: 1.528 MB / 332.8 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.09267, allocations: 0.9867 MB / 333.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.384e-05/0.09281, allocations: 4 kB / 333.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.09314, allocations: 63.64 kB / 333.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.09335, allocations: 63.81 kB / 333.9 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.09381, allocations: 115.7 kB / 334 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.0941, allocations: 187.5 kB / 334.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.09422, allocations: 44.7 kB / 334.2 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.0944, allocations: 83.52 kB / 334.3 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.09461, allocations: 95.53 kB / 334.4 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.09466, allocations: 8 kB / 334.4 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006417/0.09532, allocations: 315.6 kB / 334.7 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.09541, allocations: 47.75 kB / 334.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.68e-05/0.0955, allocations: 65.58 kB / 334.8 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.09601, allocations: 279.7 kB / 335.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.95e-06/0.09603, allocations: 0 / 335.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.252e-06/0.09604, allocations: 0 / 335.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.616e-06/0.09606, allocations: 3.938 kB / 335.1 MB, free: 5.059 MB / 282.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.0007928/0.09686, allocations: 0.5268 MB / 335.6 MB, free: 4.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.09691, allocations: 8.031 kB / 335.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.083e-05/0.09702, allocations: 35.58 kB / 335.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.09735, allocations: 238.6 kB / 335.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.0974, allocations: 25 kB / 335.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.09747, allocations: 35.98 kB / 335.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009614/0.09845, allocations: 493.4 kB / 336.4 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.09848, allocations: 0 / 336.4 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.09853, allocations: 15.98 kB / 336.4 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-05/0.0986, allocations: 28.98 kB / 336.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/0.09952, allocations: 435.6 kB / 336.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.1017, allocations: 1.201 MB / 338.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.102, allocations: 90.52 kB / 338.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.102, allocations: 4 kB / 338.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.102, allocations: 30.56 kB / 338.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 3.616e-06/0.1021, allocations: 3.938 kB / 338.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006234/0.1027, allocations: 173.5 kB / 338.4 MB, free: 1.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1028, allocations: 51.41 kB / 338.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.103, allocations: 170.2 kB / 338.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.103, allocations: 25.7 kB / 338.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.1032, allocations: 289.7 kB / 338.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.1033, allocations: 27.66 kB / 338.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.1033, allocations: 0 / 338.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1035, allocations: 326.8 kB / 339.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.1037, allocations: 55.95 kB / 339.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.104, allocations: 176.2 kB / 339.5 MB, free: 336 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.1042, allocations: 83.89 kB / 339.6 MB, free: 252 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.869e-06/0.1043, allocations: 0 / 339.6 MB, free: 252 kB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.2104/0.3147, allocations: 256.3 kB / 339.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.3148, allocations: 7.078 kB / 339.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.3148, allocations: 7.375 kB / 339.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.3149, allocations: 8.234 kB / 339.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.3154, allocations: 87.41 kB / 339.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007802/0.3162, allocations: 1.784 MB / 341.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.3164, allocations: 31.89 kB / 341.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.3164, allocations: 15.3 kB / 341.8 MB, free: 13.65 MB / 282.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.0002798/0.3167, allocations: 182.4 kB / 341.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.3168, allocations: 8.844 kB / 342 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007337/0.3175, allocations: 211.5 kB / 342.2 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.612e-06/0.3176, allocations: 1.688 kB / 342.2 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.397e-06/0.3176, allocations: 7.734 kB / 342.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.657e-06/0.3176, allocations: 2.047 kB / 342.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.318, allocations: 290.8 kB / 342.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-06/0.318, allocations: 1.703 kB / 342.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.3183, allocations: 60.95 kB / 342.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.393e-06/0.3184, allocations: 0 / 342.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3184, allocations: 8.391 kB / 342.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000698/0.3191, allocations: 1.776 MB / 344.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.234e-06/0.3191, allocations: 8.703 kB / 344.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.3195, allocations: 223.5 kB / 344.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.3196, allocations: 91.2 kB / 344.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.3196, allocations: 6.797 kB / 344.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3198, allocations: 9.672 kB / 344.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.3199, allocations: 8.359 kB / 344.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.3199, allocations: 14.36 kB / 344.7 MB, free: 11.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.407e-05/0.32, allocations: 115 kB / 344.8 MB, free: 11.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.09e-07/0.32, allocations: 0 / 344.8 MB, free: 11.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005802/0.3206, allocations: 100.7 kB / 344.9 MB, free: 11.23 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 (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.0002796/0.3209, allocations: 148.4 kB / 345 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007543/0.3217, allocations: 193.6 kB / 345.2 MB, free: 11.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.093e-06/0.3217, allocations: 1.344 kB / 345.2 MB, free: 11.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.3221, allocations: 99.27 kB / 345.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.3224, allocations: 11.17 kB / 345.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009631/0.3233, allocations: 0.6011 MB / 345.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3237, allocations: 0.7984 MB / 346.7 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.3237, allocations: 23.3 kB / 346.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of SimCode: time 1.566e-06/0.3237, allocations: 4 kB / 346.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of Templates: time 0.01156/0.3353, allocations: 6.786 MB / 353.5 MB, free: 8.711 MB / 282.7 MB