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.205/2.205, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.974e-05, allocations: 4 kB / 309.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3109, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.44, allocations: 85.92 MB / 450.5 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.4403, allocations: 95.92 kB / 450.6 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02466/0.465, allocations: 5.936 MB / 456.5 MB, free: 4.445 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.899e-06/0.465, allocations: 0 / 456.5 MB, free: 4.445 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.4651, allocations: 4.844 kB / 456.5 MB, free: 4.441 MB / 378.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.000662/0.4658, allocations: 490.3 kB / 457 MB, free: 3.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4658, allocations: 12.02 kB / 457 MB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.4675, allocations: 195.3 kB / 457.2 MB, free: 3.715 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.4679, allocations: 266.7 kB / 457.5 MB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.829e-05/0.468, allocations: 28.55 kB / 457.5 MB, free: 3.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.4681, allocations: 24 kB / 457.5 MB, free: 3.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009669/0.4691, allocations: 440.6 kB / 457.9 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4691, allocations: 3.938 kB / 457.9 MB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.739e-05/0.4692, allocations: 17.02 kB / 458 MB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.975e-05/0.4692, allocations: 24.5 kB / 458 MB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.4704, allocations: 0.5097 MB / 458.5 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.4731, allocations: 1.168 MB / 459.7 MB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.4735, allocations: 118.5 kB / 459.8 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.4737, allocations: 48.77 kB / 459.8 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.4737, allocations: 7.938 kB / 459.8 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.4738, allocations: 34.56 kB / 459.9 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.271e-06/0.4738, allocations: 0 / 459.9 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005857/0.4744, allocations: 153.5 kB / 460 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.4745, allocations: 55.41 kB / 460.1 MB, free: 0.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.4748, allocations: 248.2 kB / 460.3 MB, free: 428 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.4749, allocations: 29.7 kB / 460.3 MB, free: 392 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.4751, allocations: 218 kB / 460.6 MB, free: 172 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.4751, allocations: 27.64 kB / 460.6 MB, free: 144 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.4751, allocations: 4 kB / 460.6 MB, free: 140 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4753, allocations: 310.8 kB / 460.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.4755, allocations: 59.97 kB / 461 MB, free: 15.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.4758, allocations: 87.33 kB / 461 MB, free: 15.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.476, allocations: 59.89 kB / 461.1 MB, free: 15.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.476, allocations: 0 / 461.1 MB, free: 15.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005761/0.4766, allocations: 177.5 kB / 461.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4766, allocations: 8 kB / 461.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4767, allocations: 0 / 461.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.4767, allocations: 11.94 kB / 461.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006242/0.4829, allocations: 450.6 kB / 461.7 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003774/0.4868, allocations: 1.918 MB / 463.6 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.4873, allocations: 43.84 kB / 463.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.4874, allocations: 15.98 kB / 463.7 MB, free: 12.93 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 () * 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.000131/0.4875, allocations: 101 kB / 463.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.616e-05/0.4876, allocations: 19.81 kB / 463.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-05/0.4877, allocations: 25.83 kB / 463.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.638e-06/0.4877, allocations: 3.953 kB / 463.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4877, allocations: 0 / 463.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.598e-06/0.4877, allocations: 0 / 463.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005338/0.4883, allocations: 289.4 kB / 464.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-06/0.4883, allocations: 4 kB / 464.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006127/0.4944, allocations: 435.4 kB / 464.6 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.072e-06/0.4945, allocations: 0 / 464.6 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.4945, allocations: 7.984 kB / 464.6 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003407/0.4979, allocations: 1.914 MB / 466.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/0.498, allocations: 7.891 kB / 466.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.4986, allocations: 243.2 kB / 466.7 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.4988, allocations: 100.8 kB / 466.8 MB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.211e-05/0.4989, allocations: 4.094 kB / 466.8 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007496/0.4997, allocations: 19.97 kB / 466.9 MB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.4998, allocations: 11.94 kB / 466.9 MB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.4998, allocations: 3.984 kB / 466.9 MB, free: 9.602 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000302/0.5002, allocations: 207.1 kB / 467.1 MB, free: 9.398 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.5002, allocations: 0 / 467.1 MB, free: 9.398 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004984/0.5007, allocations: 75.84 kB / 467.1 MB, free: 9.324 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 () * 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.0002733/0.501, allocations: 143.2 kB / 467.3 MB, free: 9.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005917/0.5069, allocations: 467.4 kB / 467.7 MB, free: 8.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.696e-06/0.507, allocations: 4.188 kB / 467.7 MB, free: 8.711 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005464/0.5124, allocations: 399.4 kB / 468.1 MB, free: 8.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.5129, allocations: 28.55 kB / 468.2 MB, free: 8.293 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008001/0.5137, allocations: 335.1 kB / 468.5 MB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.5142, allocations: 0.7714 MB / 469.3 MB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.5143, allocations: 23.42 kB / 469.3 MB, free: 7.113 MB / 394.7 MB Notification: Performance of SimCode: time 1.988e-06/0.5144, allocations: 0 / 469.3 MB, free: 7.113 MB / 394.7 MB Notification: Performance of Templates: time 0.01177/0.5261, allocations: 6.677 MB / 476 MB, free: 468 kB / 394.7 MB