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.861/1.861, allocations: 209.3 MB / 224.9 MB, free: 184 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004359, allocations: 8 kB / 282.6 MB, free: 9.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3489, allocations: 48.71 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.4629, allocations: 77.54 MB / 408.8 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.4633, allocations: 95.94 kB / 408.9 MB, free: 0.7734 MB / 330.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.01851/0.4818, allocations: 4.206 MB / 413.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.469e-06/0.4819, allocations: 0 / 413.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.4819, allocations: 4 kB / 413.1 MB, free: 12.57 MB / 346.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.0005997/0.4825, allocations: 434.7 kB / 413.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4826, allocations: 8.031 kB / 413.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00082/0.4834, allocations: 111.7 kB / 413.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.4837, allocations: 222.7 kB / 413.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.4837, allocations: 11.98 kB / 413.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.4838, allocations: 12 kB / 413.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.4844, allocations: 229.5 kB / 414.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4844, allocations: 4 kB / 414.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.4844, allocations: 4 kB / 414.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/0.4845, allocations: 15.98 kB / 414.2 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006032/0.4851, allocations: 235.5 kB / 414.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.4865, allocations: 0.7439 MB / 415.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.4868, allocations: 98.48 kB / 415.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.4869, allocations: 4 kB / 415.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.4869, allocations: 38.52 kB / 415.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.9e-06/0.4869, allocations: 0 / 415.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006605/0.4876, allocations: 185.4 kB / 415.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.4877, allocations: 55.41 kB / 415.5 MB, free: 9.965 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.4879, allocations: 166.5 kB / 415.7 MB, free: 9.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.4879, allocations: 25.7 kB / 415.7 MB, free: 9.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.4881, allocations: 210.1 kB / 415.9 MB, free: 9.555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.4881, allocations: 27.64 kB / 415.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.4881, allocations: 4 kB / 415.9 MB, free: 9.523 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4883, allocations: 314.8 kB / 416.3 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.4885, allocations: 51.94 kB / 416.3 MB, free: 9.156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.4888, allocations: 106.8 kB / 416.4 MB, free: 9.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.489, allocations: 67.89 kB / 416.5 MB, free: 8.961 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.12e-06/0.489, allocations: 0 / 416.5 MB, free: 8.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005751/0.4896, allocations: 185.4 kB / 416.7 MB, free: 8.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.4896, allocations: 8 kB / 416.7 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.644e-06/0.4897, allocations: 0 / 416.7 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.4897, allocations: 7.953 kB / 416.7 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000983/0.4907, allocations: 111.8 kB / 416.8 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.4925, allocations: 1.817 MB / 418.6 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.4928, allocations: 23.86 kB / 418.6 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.4928, allocations: 12 kB / 418.6 MB, free: 6.727 MB / 346.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.0001865/0.493, allocations: 141.7 kB / 418.8 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.4931, allocations: 7.906 kB / 418.8 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006161/0.4937, allocations: 198.8 kB / 419 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.88e-06/0.4937, allocations: 7.891 kB / 419 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.484e-06/0.4937, allocations: 0 / 419 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-06/0.4937, allocations: 4 kB / 419 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.4941, allocations: 225.6 kB / 419.2 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-06/0.4941, allocations: 0 / 419.2 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008358/0.495, allocations: 97.02 kB / 419.3 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.445e-06/0.495, allocations: 0 / 419.3 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.495, allocations: 4 kB / 419.3 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.4965, allocations: 1.781 MB / 421.1 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.42e-06/0.4965, allocations: 0 / 421.1 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.497, allocations: 259.4 kB / 421.3 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/0.4972, allocations: 88.95 kB / 421.4 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.4972, allocations: 0 / 421.4 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.4974, allocations: 19.98 kB / 421.4 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.4975, allocations: 11.94 kB / 421.5 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.4975, allocations: 4 kB / 421.5 MB, free: 3.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000185/0.4977, allocations: 139.9 kB / 421.6 MB, free: 3.594 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.4977, allocations: 0 / 421.6 MB, free: 3.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004436/0.4982, allocations: 47.91 kB / 421.6 MB, free: 3.547 MB / 346.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.0002466/0.4984, allocations: 132.6 kB / 421.8 MB, free: 3.406 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.4997, allocations: 201.7 kB / 422 MB, free: 3.211 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.819e-06/0.4997, allocations: 0 / 422 MB, free: 3.211 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000766/0.5005, allocations: 116.2 kB / 422.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.5009, allocations: 36.12 kB / 422.1 MB, free: 3.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000896/0.5019, allocations: 420.3 kB / 422.5 MB, free: 2.625 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.5023, allocations: 0.7513 MB / 423.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.5024, allocations: 19.44 kB / 423.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of SimCode: time 1.691e-06/0.5024, allocations: 0 / 423.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of Templates: time 0.008832/0.5113, allocations: 4.513 MB / 427.8 MB, free: 13.32 MB / 362.7 MB