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.89/1.89, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.548e-05, allocations: 0 / 277.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08537, allocations: 48.7 MB / 326.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.4526, allocations: 77.92 MB / 404.5 MB, free: 9.406 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.453, allocations: 101.4 kB / 404.6 MB, free: 9.387 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5587:11-5590:61: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:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02472/0.4777, allocations: 5.997 MB / 410.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.962e-06/0.4777, allocations: 0 / 410.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.4778, allocations: 3.844 kB / 410.6 MB, free: 7.051 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004589/0.4782, allocations: 442 kB / 411 MB, free: 6.633 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4783, allocations: 7.688 kB / 411 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005482/0.4788, allocations: 82.09 kB / 411.1 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.4791, allocations: 216.4 kB / 411.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.4791, allocations: 15.38 kB / 411.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.4792, allocations: 15.23 kB / 411.3 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.4796, allocations: 267.2 kB / 411.6 MB, free: 6.266 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4797, allocations: 0 / 411.6 MB, free: 6.266 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.4797, allocations: 7.531 kB / 411.6 MB, free: 6.266 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.4798, allocations: 11.53 kB / 411.6 MB, free: 6.266 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.4802, allocations: 245.5 kB / 411.9 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.4815, allocations: 0.7986 MB / 412.7 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.4818, allocations: 165.9 kB / 412.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.482, allocations: 54.89 kB / 412.9 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.482, allocations: 19.38 kB / 412.9 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.482, allocations: 30.56 kB / 412.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.321e-06/0.4821, allocations: 0 / 412.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.000437/0.4825, allocations: 170.9 kB / 413.1 MB, free: 5.359 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.4825, allocations: 55.41 kB / 413.1 MB, free: 5.293 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.4827, allocations: 171 kB / 413.3 MB, free: 5.137 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.4827, allocations: 25.7 kB / 413.3 MB, free: 5.105 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.4828, allocations: 202 kB / 413.5 MB, free: 4.918 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.4829, allocations: 33.88 kB / 413.6 MB, free: 4.891 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/0.4829, allocations: 2.875 kB / 413.6 MB, free: 4.891 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.483, allocations: 318.8 kB / 413.9 MB, free: 4.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.4831, allocations: 53.95 kB / 413.9 MB, free: 4.527 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.4833, allocations: 109.1 kB / 414 MB, free: 4.406 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.4834, allocations: 78.23 kB / 414.1 MB, free: 4.336 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.059e-06/0.4835, allocations: 0 / 414.1 MB, free: 4.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004592/0.4839, allocations: 210.3 kB / 414.3 MB, free: 4.145 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.484, allocations: 13.05 kB / 414.3 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.671e-06/0.484, allocations: 7.922 kB / 414.3 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.484, allocations: 4 kB / 414.3 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005451/0.4846, allocations: 83.45 kB / 414.4 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007303/0.4853, allocations: 1.787 MB / 416.2 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.4856, allocations: 23.83 kB / 416.2 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.4856, allocations: 15.55 kB / 416.3 MB, free: 2.164 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 (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 8.286e-05/0.4857, allocations: 112.3 kB / 416.4 MB, free: 2.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.4858, allocations: 15.81 kB / 416.4 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007824/0.4866, allocations: 264.2 kB / 416.6 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.521e-06/0.4866, allocations: 0 / 416.6 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.302e-06/0.4866, allocations: 8 kB / 416.6 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.24e-06/0.4866, allocations: 0 / 416.6 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.4869, allocations: 241.6 kB / 416.9 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-06/0.4869, allocations: 0 / 416.9 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.4873, allocations: 59.89 kB / 416.9 MB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.645e-06/0.4874, allocations: 0 / 416.9 MB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.4874, allocations: 11.83 kB / 416.9 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008323/0.4882, allocations: 1.78 MB / 418.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.36e-06/0.4883, allocations: 0 / 418.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.4887, allocations: 228.7 kB / 419 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.4888, allocations: 96.84 kB / 419 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.4888, allocations: 7.953 kB / 419.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.4891, allocations: 15.42 kB / 419.1 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.4891, allocations: 7.984 kB / 419.1 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.4892, allocations: 8 kB / 419.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.4893, allocations: 140.7 kB / 419.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.437e-06/0.4894, allocations: 0 / 419.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005123/0.4899, allocations: 79.27 kB / 419.3 MB, free: 15.08 MB / 330.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 (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.0002997/0.4902, allocations: 152.6 kB / 419.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006139/0.4908, allocations: 150 kB / 419.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.103e-06/0.4909, allocations: 4 kB / 419.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.4912, allocations: 78.7 kB / 419.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.4915, allocations: 10.73 kB / 419.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.4922, allocations: 272 kB / 420 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.4927, allocations: 0.7547 MB / 420.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.4928, allocations: 27.05 kB / 420.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.552e-06/0.4928, allocations: 0 / 420.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of Templates: time 0.009531/0.5024, allocations: 4.939 MB / 425.7 MB, free: 8.699 MB / 330.7 MB