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_pressureLossCoefficient_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_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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.964/1.964, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.108e-05/4.131e-05, allocations: 4 kB / 277.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 48.7 MB / 326.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.343/0.4477, allocations: 77.44 MB / 404 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.448, allocations: 94.5 kB / 404.1 MB, free: 9.535 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02467/0.4727, allocations: 4.192 MB / 408.3 MB, free: 7.855 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.191e-06/0.4727, allocations: 0 / 408.3 MB, free: 7.855 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.4728, allocations: 7.938 kB / 408.3 MB, free: 7.848 MB / 314.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.0007052/0.4735, allocations: 433.1 kB / 408.7 MB, free: 7.441 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.4736, allocations: 11.56 kB / 408.7 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.4751, allocations: 100.3 kB / 408.8 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.4755, allocations: 218.1 kB / 409 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.4756, allocations: 12.75 kB / 409.1 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.4757, allocations: 14.06 kB / 409.1 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/0.4764, allocations: 214.9 kB / 409.3 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.4765, allocations: 0 / 409.3 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/0.4765, allocations: 3.812 kB / 409.3 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.4766, allocations: 11.62 kB / 409.3 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/0.4774, allocations: 203.5 kB / 409.5 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.4794, allocations: 0.7381 MB / 410.2 MB, free: 6.457 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.4797, allocations: 80.38 kB / 410.3 MB, free: 6.418 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.4799, allocations: 30.12 kB / 410.3 MB, free: 6.406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.48, allocations: 3.844 kB / 410.3 MB, free: 6.406 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.48, allocations: 45.2 kB / 410.4 MB, free: 6.355 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 3.787e-06/0.48, allocations: 0 / 410.4 MB, free: 6.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005288/0.4806, allocations: 99.61 kB / 410.5 MB, free: 6.305 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.4806, allocations: 54.97 kB / 410.5 MB, free: 6.242 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.4809, allocations: 170.4 kB / 410.7 MB, free: 6.129 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.481, allocations: 25.7 kB / 410.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.4811, allocations: 207.3 kB / 410.9 MB, free: 5.918 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.4812, allocations: 27.34 kB / 411 MB, free: 5.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.4812, allocations: 3.25 kB / 411 MB, free: 5.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.4813, allocations: 322.2 kB / 411.3 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.4815, allocations: 26.45 kB / 411.3 MB, free: 5.574 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.4818, allocations: 91.78 kB / 411.4 MB, free: 5.496 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.482, allocations: 50.3 kB / 411.4 MB, free: 5.484 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.74e-06/0.482, allocations: 4 kB / 411.4 MB, free: 5.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006203/0.4827, allocations: 147.3 kB / 411.6 MB, free: 5.414 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.4827, allocations: 7.844 kB / 411.6 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4827, allocations: 4.109 kB / 411.6 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.4828, allocations: 3.844 kB / 411.6 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.4845, allocations: 117.4 kB / 411.7 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.4865, allocations: 1.823 MB / 413.5 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.4869, allocations: 23.39 kB / 413.6 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.487, allocations: 7.719 kB / 413.6 MB, free: 3.551 MB / 314.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 () * 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.0001196/0.4871, allocations: 108.6 kB / 413.7 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.4872, allocations: 19.44 kB / 413.7 MB, free: 3.434 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007152/0.488, allocations: 165.5 kB / 413.9 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.488, allocations: 4 kB / 413.9 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.611e-06/0.488, allocations: 0 / 413.9 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.44e-06/0.4881, allocations: 3.984 kB / 413.9 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.4886, allocations: 231.9 kB / 414.1 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.663e-06/0.4886, allocations: 0 / 414.1 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/0.4901, allocations: 93.17 kB / 414.2 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.734e-06/0.4902, allocations: 0 / 414.2 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.4902, allocations: 4 kB / 414.2 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.4916, allocations: 1.781 MB / 416 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.4916, allocations: 7.922 kB / 416 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.4921, allocations: 207.5 kB / 416.2 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/0.4922, allocations: 84.83 kB / 416.3 MB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.4923, allocations: 7.547 kB / 416.3 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.4927, allocations: 11.69 kB / 416.3 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.24e-05/0.4928, allocations: 11.78 kB / 416.3 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.4929, allocations: 11.69 kB / 416.3 MB, free: 1.035 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.4931, allocations: 137 kB / 416.4 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.127e-06/0.4931, allocations: 0 / 416.4 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009014/0.494, allocations: 54.42 kB / 416.5 MB, free: 0.9336 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 () * 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.0003183/0.4944, allocations: 139.1 kB / 416.6 MB, free: 0.832 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002077/0.4965, allocations: 159.4 kB / 416.8 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.996e-06/0.4966, allocations: 0 / 416.8 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.4978, allocations: 96.23 kB / 416.9 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.4986, allocations: 37.97 kB / 416.9 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009605/0.4996, allocations: 243.5 kB / 417.2 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.5, allocations: 0.7459 MB / 417.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.5002, allocations: 16.56 kB / 417.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of SimCode: time 6.788e-06/0.5002, allocations: 0 / 417.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of Templates: time 0.01583/0.516, allocations: 4.512 MB / 422.4 MB, free: 11.34 MB / 330.7 MB