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_nominalDensityViscosity_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_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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.954/1.954, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 12 kB / 282.6 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08775/0.08824, allocations: 48.71 MB / 331.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3332/0.4215, allocations: 79.58 MB / 410.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.4219, allocations: 95.94 kB / 411 MB, free: 5.465 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02399/0.4459, allocations: 5.937 MB / 416.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.48e-06/0.446, allocations: 4 kB / 416.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.446, allocations: 4 kB / 416.9 MB, free: 15.43 MB / 346.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.0007408/0.4467, allocations: 497.2 kB / 417.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4468, allocations: 12.03 kB / 417.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.4485, allocations: 199.3 kB / 417.6 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.449, allocations: 270.5 kB / 417.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.624e-05/0.4491, allocations: 32.53 kB / 417.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.4491, allocations: 24 kB / 417.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.4504, allocations: 484.5 kB / 418.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4505, allocations: 0 / 418.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.297e-05/0.4505, allocations: 8 kB / 418.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/0.4506, allocations: 24.55 kB / 418.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.4523, allocations: 0.5876 MB / 419 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.455, allocations: 1.178 MB / 420.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008919/0.456, allocations: 166.3 kB / 420.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.4561, allocations: 11.98 kB / 420.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.4561, allocations: 30.56 kB / 420.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 3.531e-06/0.4561, allocations: 0 / 420.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001595/0.4577, allocations: 313.3 kB / 420.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.4578, allocations: 55.34 kB / 420.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.4582, allocations: 253.7 kB / 421 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.4583, allocations: 29.7 kB / 421 MB, free: 11.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.4584, allocations: 225.9 kB / 421.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.4585, allocations: 23.66 kB / 421.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.4585, allocations: 0 / 421.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4587, allocations: 322.8 kB / 421.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/0.4592, allocations: 91.91 kB / 421.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.4597, allocations: 123.3 kB / 421.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.4602, allocations: 95.91 kB / 421.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.76e-06/0.4603, allocations: 3.938 kB / 421.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001154/0.4614, allocations: 253.4 kB / 422.2 MB, free: 9.926 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.4615, allocations: 8.625 kB / 422.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.601e-06/0.4615, allocations: 0 / 422.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4615, allocations: 0 / 422.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006112/0.4676, allocations: 455.3 kB / 422.6 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003837/0.4715, allocations: 1.945 MB / 424.5 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.4721, allocations: 51.75 kB / 424.6 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.4722, allocations: 11.98 kB / 424.6 MB, free: 7.395 MB / 346.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.000258/0.4724, allocations: 153.8 kB / 424.8 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.4725, allocations: 19.72 kB / 424.8 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.757e-05/0.4726, allocations: 29.64 kB / 424.8 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.456e-06/0.4726, allocations: 0 / 424.8 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.992e-06/0.4727, allocations: 0 / 424.8 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4727, allocations: 0 / 424.8 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.4732, allocations: 293.4 kB / 425.1 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.4732, allocations: 8 kB / 425.1 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005991/0.4792, allocations: 432.1 kB / 425.5 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.491e-06/0.4793, allocations: 0 / 425.5 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.4793, allocations: 11.98 kB / 425.5 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003794/0.4832, allocations: 1.937 MB / 427.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.574e-06/0.4832, allocations: 4.188 kB / 427.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.4844, allocations: 323.1 kB / 427.8 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4845, allocations: 96.91 kB / 427.9 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.4846, allocations: 3.938 kB / 427.9 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/0.485, allocations: 23.97 kB / 427.9 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.4851, allocations: 11.98 kB / 427.9 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.4852, allocations: 3.984 kB / 427.9 MB, free: 3.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002958/0.4855, allocations: 205.9 kB / 428.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.4855, allocations: 0 / 428.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005116/0.486, allocations: 75.84 kB / 428.2 MB, free: 3.637 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 (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.0002752/0.4863, allocations: 144.5 kB / 428.3 MB, free: 3.488 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006292/0.4926, allocations: 0.5304 MB / 428.9 MB, free: 2.957 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.4927, allocations: 0 / 428.9 MB, free: 2.957 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005689/0.4984, allocations: 435.9 kB / 429.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.4988, allocations: 32.66 kB / 429.3 MB, free: 2.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.5002, allocations: 0.5782 MB / 429.9 MB, free: 1.895 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.5007, allocations: 0.7794 MB / 430.7 MB, free: 1.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.5009, allocations: 19.44 kB / 430.7 MB, free: 1.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.482e-06/0.5009, allocations: 4 kB / 430.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of Templates: time 0.01222/0.5131, allocations: 6.67 MB / 437.4 MB, free: 10.4 MB / 362.7 MB