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.868/1.868, allocations: 209.3 MB / 224.9 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004489, allocations: 16 kB / 282.6 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0868/0.08727, allocations: 48.69 MB / 331.3 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3762/0.4635, allocations: 78.01 MB / 409.3 MB, free: 7.176 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005489/0.4641, allocations: 95.92 kB / 409.4 MB, free: 7.082 MB / 330.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.04315/0.5073, allocations: 6.016 MB / 415.4 MB, free: 1.047 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.641e-06/0.5073, allocations: 4 kB / 415.4 MB, free: 1.043 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.5074, allocations: 0 / 415.4 MB, free: 1.043 MB / 330.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.0006703/0.508, allocations: 454.7 kB / 415.9 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.5081, allocations: 8.031 kB / 415.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005903/0.5087, allocations: 75.64 kB / 415.9 MB, free: 480 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.509, allocations: 222.8 kB / 416.2 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.5091, allocations: 8 kB / 416.2 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.5091, allocations: 16 kB / 416.2 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.5098, allocations: 281.3 kB / 416.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5098, allocations: 3.938 kB / 416.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.5099, allocations: 8 kB / 416.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/0.5099, allocations: 19.98 kB / 416.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006995/0.5106, allocations: 275.7 kB / 416.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.5122, allocations: 0.7948 MB / 417.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.5128, allocations: 198.3 kB / 417.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.5128, allocations: 3.984 kB / 417.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.5129, allocations: 34.78 kB / 417.8 MB, free: 14.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.863e-06/0.5129, allocations: 0 / 417.8 MB, free: 14.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.000874/0.5137, allocations: 265.3 kB / 418 MB, free: 14.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.5138, allocations: 59.39 kB / 418.1 MB, free: 14.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.5141, allocations: 174.4 kB / 418.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.5141, allocations: 25.7 kB / 418.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.5143, allocations: 202 kB / 418.5 MB, free: 13.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.5143, allocations: 31.55 kB / 418.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/0.5144, allocations: 4 kB / 418.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5145, allocations: 318.8 kB / 418.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.5148, allocations: 67.92 kB / 418.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.5151, allocations: 131.6 kB / 419 MB, free: 13.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.5154, allocations: 92.7 kB / 419.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.809e-06/0.5154, allocations: 4.359 kB / 419.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007034/0.5161, allocations: 249.3 kB / 419.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.5161, allocations: 15.42 kB / 419.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.76e-06/0.5162, allocations: 4 kB / 419.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5162, allocations: 0 / 419.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/0.5167, allocations: 87.84 kB / 419.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.5182, allocations: 1.781 MB / 421.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.5184, allocations: 27.83 kB / 421.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.5185, allocations: 15.98 kB / 421.3 MB, free: 10.81 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 (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.0002063/0.5187, allocations: 153.5 kB / 421.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.5188, allocations: 19.77 kB / 421.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.5198, allocations: 294.7 kB / 421.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.084e-06/0.5198, allocations: 0 / 421.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.502e-06/0.5198, allocations: 0 / 421.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.269e-06/0.5199, allocations: 8 kB / 421.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.5202, allocations: 237.5 kB / 422 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.741e-06/0.5203, allocations: 0 / 422 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.5207, allocations: 63.89 kB / 422.1 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.362e-06/0.5207, allocations: 0 / 422.1 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.5207, allocations: 3.953 kB / 422.1 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.5221, allocations: 1.781 MB / 423.9 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.119e-06/0.5221, allocations: 3.938 kB / 423.9 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.5227, allocations: 271.6 kB / 424.1 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.5228, allocations: 88.92 kB / 424.2 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.5229, allocations: 11.95 kB / 424.2 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.5231, allocations: 7.984 kB / 424.2 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.5231, allocations: 15.98 kB / 424.2 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.5232, allocations: 0 / 424.2 MB, free: 7.711 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.5234, allocations: 151.2 kB / 424.4 MB, free: 7.562 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.5234, allocations: 3.938 kB / 424.4 MB, free: 7.559 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005137/0.5239, allocations: 59.94 kB / 424.5 MB, free: 7.5 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 (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.0003002/0.5242, allocations: 157.1 kB / 424.6 MB, free: 7.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007752/0.525, allocations: 188.1 kB / 424.8 MB, free: 7.156 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.399e-06/0.525, allocations: 4 kB / 424.8 MB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.5255, allocations: 91.86 kB / 424.9 MB, free: 7.062 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.5257, allocations: 16.17 kB / 424.9 MB, free: 7.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.5268, allocations: 478.2 kB / 425.4 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.5273, allocations: 0.7475 MB / 426.1 MB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.5274, allocations: 23.42 kB / 426.1 MB, free: 5.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.494e-06/0.5274, allocations: 0 / 426.1 MB, free: 5.75 MB / 346.7 MB Notification: Performance of Templates: time 0.009564/0.537, allocations: 4.948 MB / 431.1 MB, free: 0.7969 MB / 346.7 MB