Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004312, allocations: 11.94 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2747, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4027, allocations: 84.44 MB / 453.7 MB, free: 6.133 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.403, allocations: 103.9 kB / 453.8 MB, free: 6.031 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2/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.02637/0.4294, allocations: 6.012 MB / 459.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.201e-06/0.4295, allocations: 0 / 459.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.4295, allocations: 4 kB / 459.9 MB, free: 15.98 MB / 394.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.0006596/0.4302, allocations: 454.7 kB / 460.3 MB, free: 15.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.4302, allocations: 8.031 kB / 460.3 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005802/0.4308, allocations: 75.67 kB / 460.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.4311, allocations: 226.7 kB / 460.6 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.4312, allocations: 8 kB / 460.6 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.4312, allocations: 12 kB / 460.6 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.4319, allocations: 281.3 kB / 460.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4319, allocations: 0 / 460.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.432, allocations: 4 kB / 460.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.432, allocations: 27.94 kB / 460.9 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006993/0.4327, allocations: 271.8 kB / 461.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.4344, allocations: 0.8026 MB / 462 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.4349, allocations: 186.3 kB / 462.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.435, allocations: 4 kB / 462.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.435, allocations: 30.56 kB / 462.2 MB, free: 13.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 3.301e-06/0.435, allocations: 3.938 kB / 462.2 MB, free: 13.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009307/0.436, allocations: 265.6 kB / 462.5 MB, free: 13.15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.436, allocations: 59.41 kB / 462.5 MB, free: 13.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.4363, allocations: 166.5 kB / 462.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.4363, allocations: 29.7 kB / 462.7 MB, free: 12.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.4365, allocations: 205.7 kB / 462.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.4365, allocations: 35.45 kB / 463 MB, free: 12.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/0.4366, allocations: 4 kB / 463 MB, free: 12.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4367, allocations: 326.8 kB / 463.3 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.437, allocations: 67.92 kB / 463.3 MB, free: 12.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.4373, allocations: 130.7 kB / 463.5 MB, free: 12.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.4376, allocations: 97.08 kB / 463.6 MB, free: 11.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4376, allocations: 0 / 463.6 MB, free: 11.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007066/0.4383, allocations: 245.3 kB / 463.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.4384, allocations: 11.98 kB / 463.8 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.821e-06/0.4384, allocations: 0 / 463.8 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.4384, allocations: 4 kB / 463.8 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.439, allocations: 79.86 kB / 463.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.4404, allocations: 1.786 MB / 465.7 MB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.4407, allocations: 23.75 kB / 465.7 MB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.4407, allocations: 19.97 kB / 465.7 MB, free: 9.75 MB / 394.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.0002123/0.441, allocations: 153.8 kB / 465.9 MB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.441, allocations: 7.906 kB / 465.9 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.4421, allocations: 290.7 kB / 466.2 MB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.994e-06/0.4421, allocations: 4 kB / 466.2 MB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.529e-06/0.4421, allocations: 3.984 kB / 466.2 MB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.317e-06/0.4421, allocations: 0 / 466.2 MB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.4425, allocations: 249.4 kB / 466.4 MB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-06/0.4426, allocations: 0 / 466.4 MB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.443, allocations: 55.95 kB / 466.5 MB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.783e-06/0.443, allocations: 3.984 kB / 466.5 MB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.4431, allocations: 4 kB / 466.5 MB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.4444, allocations: 1.781 MB / 468.3 MB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.336e-06/0.4445, allocations: 4 kB / 468.3 MB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.4451, allocations: 279.5 kB / 468.5 MB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4452, allocations: 92.91 kB / 468.6 MB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.4453, allocations: 3.938 kB / 468.6 MB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.4455, allocations: 19.98 kB / 468.7 MB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.4456, allocations: 7.984 kB / 468.7 MB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.4456, allocations: 4 kB / 468.7 MB, free: 6.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001929/0.4458, allocations: 155.2 kB / 468.8 MB, free: 6.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.4458, allocations: 0 / 468.8 MB, free: 6.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005129/0.4463, allocations: 55.94 kB / 468.9 MB, free: 6.426 MB / 394.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.0003057/0.4467, allocations: 151.1 kB / 469 MB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007864/0.4475, allocations: 204.4 kB / 469.2 MB, free: 6.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.239e-06/0.4475, allocations: 0 / 469.2 MB, free: 6.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.4479, allocations: 91.86 kB / 469.3 MB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.4482, allocations: 14.98 kB / 469.3 MB, free: 5.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.4492, allocations: 467.5 kB / 469.8 MB, free: 5.484 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.4497, allocations: 0.7514 MB / 470.5 MB, free: 4.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.4498, allocations: 23.42 kB / 470.6 MB, free: 4.684 MB / 394.7 MB Notification: Performance of SimCode: time 1.612e-06/0.4498, allocations: 4 kB / 470.6 MB, free: 4.68 MB / 394.7 MB Notification: Performance of Templates: time 0.2485/0.6983, allocations: 4.941 MB / 475.5 MB, free: 99.07 MB / 394.7 MB