Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.546/2.546, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007088/0.0007089, allocations: 12 kB / 315 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4516, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1812/0.6329, allocations: 84.43 MB / 454.2 MB, free: 6.188 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/0.6334, allocations: 103.9 kB / 454.4 MB, free: 6.086 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.02998/0.6633, allocations: 6.02 MB / 460.4 MB, free: 36 kB / 378.7 MB Notification: Performance of FrontEnd: time 4.438e-06/0.6634, allocations: 3.984 kB / 460.4 MB, free: 32 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.6634, allocations: 4 kB / 460.4 MB, free: 28 kB / 378.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.0008276/0.6643, allocations: 446.7 kB / 460.8 MB, free: 15.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.6643, allocations: 8.031 kB / 460.8 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007861/0.6651, allocations: 79.67 kB / 460.9 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.6655, allocations: 222.7 kB / 461.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.6655, allocations: 12 kB / 461.1 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.6656, allocations: 16 kB / 461.1 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008289/0.6664, allocations: 285.4 kB / 461.4 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.6665, allocations: 0 / 461.4 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.6665, allocations: 4 kB / 461.4 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.6666, allocations: 15.95 kB / 461.4 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009256/0.6675, allocations: 279.8 kB / 461.7 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.6697, allocations: 0.7987 MB / 462.5 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.6704, allocations: 182.3 kB / 462.7 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.6704, allocations: 4 kB / 462.7 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.6705, allocations: 30.56 kB / 462.7 MB, free: 13.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.635e-06/0.6705, allocations: 7.938 kB / 462.7 MB, free: 13.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001163/0.6717, allocations: 261.4 kB / 463 MB, free: 13.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.6718, allocations: 55.41 kB / 463 MB, free: 13.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.6721, allocations: 191.3 kB / 463.2 MB, free: 12.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.6721, allocations: 26.08 kB / 463.3 MB, free: 12.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.6723, allocations: 205.7 kB / 463.5 MB, free: 12.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.6723, allocations: 43.39 kB / 463.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.6724, allocations: 0 / 463.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.6725, allocations: 326.7 kB / 463.8 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.6729, allocations: 75.91 kB / 463.9 MB, free: 12.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.6732, allocations: 120.8 kB / 464 MB, free: 12.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.6736, allocations: 92.75 kB / 464.1 MB, free: 12.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.6736, allocations: 0 / 464.1 MB, free: 12.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009212/0.6746, allocations: 257.2 kB / 464.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.6746, allocations: 4 kB / 464.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.6746, allocations: 4 kB / 464.4 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.6747, allocations: 0 / 464.4 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007702/0.6754, allocations: 84.12 kB / 464.4 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.6769, allocations: 1.785 MB / 466.2 MB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.6773, allocations: 27.73 kB / 466.3 MB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.6774, allocations: 11.98 kB / 466.3 MB, free: 9.785 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.0002309/0.6776, allocations: 145.7 kB / 466.4 MB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.6777, allocations: 15.89 kB / 466.4 MB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.6791, allocations: 302.7 kB / 466.7 MB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.6791, allocations: 0 / 466.7 MB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.6792, allocations: 4 kB / 466.7 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.6792, allocations: 3.984 kB / 466.7 MB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.6796, allocations: 241.5 kB / 467 MB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.6797, allocations: 0 / 467 MB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.6803, allocations: 59.95 kB / 467 MB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.6803, allocations: 0 / 467 MB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.6803, allocations: 3.984 kB / 467 MB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.6817, allocations: 1.789 MB / 468.8 MB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6817, allocations: 0 / 468.8 MB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.6825, allocations: 271.5 kB / 469.1 MB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.6826, allocations: 92.92 kB / 469.2 MB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.6827, allocations: 11.92 kB / 469.2 MB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.6829, allocations: 4 kB / 469.2 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.683, allocations: 19.98 kB / 469.2 MB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.683, allocations: 4 kB / 469.2 MB, free: 6.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002186/0.6833, allocations: 147.2 kB / 469.4 MB, free: 6.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6833, allocations: 4 kB / 469.4 MB, free: 6.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005366/0.6838, allocations: 67.86 kB / 469.4 MB, free: 6.449 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.0003811/0.6842, allocations: 151.1 kB / 469.6 MB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.6853, allocations: 203.8 kB / 469.8 MB, free: 6.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6854, allocations: 0 / 469.8 MB, free: 6.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.686, allocations: 108.3 kB / 469.9 MB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.6863, allocations: 12.14 kB / 469.9 MB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.6876, allocations: 468 kB / 470.3 MB, free: 5.488 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.6881, allocations: 0.7553 MB / 471.1 MB, free: 4.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.6882, allocations: 23.42 kB / 471.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of SimCode: time 9.51e-07/0.6882, allocations: 0 / 471.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of Templates: time 0.3199/1.008, allocations: 4.957 MB / 476.1 MB, free: 99.02 MB / 394.7 MB