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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.165/2.165, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004308, allocations: 8 kB / 314.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2725, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.3989, allocations: 86 MB / 455.3 MB, free: 4.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.3993, allocations: 103.9 kB / 455.4 MB, free: 4.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02381/0.4231, allocations: 5.938 MB / 461.3 MB, free: 14.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.508e-06/0.4232, allocations: 3.938 kB / 461.3 MB, free: 14.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.4232, allocations: 4 kB / 461.3 MB, free: 14.41 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.00073/0.4239, allocations: 0.4933 MB / 461.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.424, allocations: 8.031 kB / 461.8 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.4256, allocations: 199.3 kB / 462 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.4261, allocations: 262.8 kB / 462.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.4261, allocations: 28.55 kB / 462.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.369e-05/0.4262, allocations: 27.98 kB / 462.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.4275, allocations: 484.5 kB / 462.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4275, allocations: 0 / 462.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.4276, allocations: 15.98 kB / 462.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.652e-05/0.4276, allocations: 24.52 kB / 462.9 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.4293, allocations: 0.5915 MB / 463.5 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.432, allocations: 1.169 MB / 464.6 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008521/0.4329, allocations: 178.3 kB / 464.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.4329, allocations: 0 / 464.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.4329, allocations: 38.55 kB / 464.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.147e-06/0.433, allocations: 4 kB / 464.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001546/0.4345, allocations: 309.3 kB / 465.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.4346, allocations: 51.41 kB / 465.2 MB, free: 10.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.4349, allocations: 245.8 kB / 465.4 MB, free: 10.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.435, allocations: 33.7 kB / 465.5 MB, free: 10.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.4352, allocations: 225.8 kB / 465.7 MB, free: 9.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.4352, allocations: 23.64 kB / 465.7 MB, free: 9.816 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.4353, allocations: 4 kB / 465.7 MB, free: 9.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4354, allocations: 318.8 kB / 466 MB, free: 9.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/0.4359, allocations: 99.89 kB / 466.1 MB, free: 9.395 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/0.4364, allocations: 111.3 kB / 466.2 MB, free: 9.273 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.4369, allocations: 103.9 kB / 466.3 MB, free: 9.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.04e-06/0.4369, allocations: 0 / 466.3 MB, free: 9.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001103/0.438, allocations: 257.4 kB / 466.6 MB, free: 8.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.438, allocations: 4 kB / 466.6 MB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.113e-06/0.4381, allocations: 4 kB / 466.6 MB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4381, allocations: 0 / 466.6 MB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00601/0.4441, allocations: 447.4 kB / 467 MB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003721/0.4479, allocations: 1.953 MB / 469 MB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.4484, allocations: 43.69 kB / 469 MB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.4485, allocations: 7.984 kB / 469 MB, free: 6.395 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0002444/0.4487, allocations: 153.8 kB / 469.2 MB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.4488, allocations: 19.91 kB / 469.2 MB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.43e-05/0.4489, allocations: 29.7 kB / 469.2 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.019e-06/0.4489, allocations: 0 / 469.2 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.4489, allocations: 3.953 kB / 469.2 MB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.663e-06/0.449, allocations: 3.938 kB / 469.2 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.4495, allocations: 293.4 kB / 469.5 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.368e-06/0.4495, allocations: 4 kB / 469.5 MB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005929/0.4554, allocations: 444 kB / 470 MB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.28e-06/0.4555, allocations: 0 / 470 MB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.4555, allocations: 3.984 kB / 470 MB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.4592, allocations: 1.945 MB / 471.9 MB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.559e-06/0.4592, allocations: 0 / 471.9 MB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.4604, allocations: 323.5 kB / 472.2 MB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.4605, allocations: 96.91 kB / 472.3 MB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.035e-05/0.4606, allocations: 4 kB / 472.3 MB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.461, allocations: 23.97 kB / 472.4 MB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.4611, allocations: 3.984 kB / 472.4 MB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.4612, allocations: 7.984 kB / 472.4 MB, free: 2.895 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003002/0.4615, allocations: 209.9 kB / 472.6 MB, free: 2.688 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.63e-07/0.4615, allocations: 3.938 kB / 472.6 MB, free: 2.684 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005021/0.462, allocations: 79.84 kB / 472.7 MB, free: 2.605 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 (7): * Single equations (assignments): 4 * 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.0002708/0.4623, allocations: 135.2 kB / 472.8 MB, free: 2.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006259/0.4686, allocations: 0.5357 MB / 473.3 MB, free: 1.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.919e-06/0.4686, allocations: 4.281 kB / 473.3 MB, free: 1.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005634/0.4742, allocations: 431.5 kB / 473.7 MB, free: 1.504 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.4747, allocations: 40.47 kB / 473.8 MB, free: 1.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.476, allocations: 0.5589 MB / 474.3 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.4766, allocations: 0.7833 MB / 475.1 MB, free: 60 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.4767, allocations: 19.42 kB / 475.1 MB, free: 40 kB / 394.7 MB Notification: Performance of SimCode: time 1.567e-06/0.4767, allocations: 0 / 475.1 MB, free: 40 kB / 394.7 MB Notification: Performance of Templates: time 0.2485/0.7252, allocations: 6.672 MB / 481.8 MB, free: 97.9 MB / 394.7 MB