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_nominalDensityViscosity_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_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.553/2.553, allocations: 234.9 MB / 251.1 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006438/0.0006439, allocations: 12 kB / 314.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3406, allocations: 54.87 MB / 369.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.4959, allocations: 86.01 MB / 455.8 MB, free: 4.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004028/0.4964, allocations: 103.9 kB / 455.9 MB, free: 4.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02896/0.5253, allocations: 5.948 MB / 461.9 MB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5254, allocations: 0 / 461.9 MB, free: 14.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.5254, allocations: 4 kB / 461.9 MB, free: 14.57 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.0008135/0.5262, allocations: 499.1 kB / 462.4 MB, free: 14.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5263, allocations: 8.031 kB / 462.4 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/0.5286, allocations: 203.3 kB / 462.6 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.5292, allocations: 258.8 kB / 462.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/0.5293, allocations: 28.55 kB / 462.9 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.5294, allocations: 23.94 kB / 462.9 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.5311, allocations: 492.5 kB / 463.4 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.5311, allocations: 4 kB / 463.4 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.965e-05/0.5312, allocations: 8 kB / 463.4 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/0.5313, allocations: 32.5 kB / 463.4 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.5336, allocations: 0.5837 MB / 464 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003483/0.5371, allocations: 1.173 MB / 465.2 MB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.5384, allocations: 178.3 kB / 465.3 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.5384, allocations: 0 / 465.3 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.5385, allocations: 38.56 kB / 465.4 MB, free: 10.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/0.5385, allocations: 0 / 465.4 MB, free: 10.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.002287/0.5408, allocations: 309.4 kB / 465.7 MB, free: 10.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.5409, allocations: 59.41 kB / 465.7 MB, free: 10.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.5413, allocations: 278.5 kB / 466 MB, free: 10.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.5414, allocations: 25.7 kB / 466 MB, free: 10.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.5415, allocations: 229.9 kB / 466.2 MB, free: 9.961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.5416, allocations: 27.64 kB / 466.3 MB, free: 9.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.5417, allocations: 4 kB / 466.3 MB, free: 9.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5418, allocations: 314.8 kB / 466.6 MB, free: 9.613 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006871/0.5425, allocations: 95.91 kB / 466.7 MB, free: 9.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007245/0.5432, allocations: 123.3 kB / 466.8 MB, free: 9.387 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007058/0.5439, allocations: 103.8 kB / 466.9 MB, free: 9.285 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.544, allocations: 0 / 466.9 MB, free: 9.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001566/0.5455, allocations: 253.5 kB / 467.2 MB, free: 9.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.5456, allocations: 8 kB / 467.2 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.5456, allocations: 0 / 467.2 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.5456, allocations: 0 / 467.2 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/0.5557, allocations: 455.2 kB / 467.6 MB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/0.5599, allocations: 1.938 MB / 469.5 MB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006524/0.5606, allocations: 43.66 kB / 469.6 MB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.5607, allocations: 7.984 kB / 469.6 MB, free: 6.52 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.0002756/0.561, allocations: 157.9 kB / 469.7 MB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.561, allocations: 19.75 kB / 469.8 MB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.5612, allocations: 25.7 kB / 469.8 MB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5612, allocations: 0 / 469.8 MB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.5612, allocations: 3.953 kB / 469.8 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5612, allocations: 0 / 469.8 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.5618, allocations: 293.4 kB / 470.1 MB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5618, allocations: 4 kB / 470.1 MB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009859/0.5716, allocations: 436.1 kB / 470.5 MB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.5717, allocations: 0 / 470.5 MB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.5718, allocations: 7.984 kB / 470.5 MB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004003/0.5758, allocations: 1.93 MB / 472.4 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5758, allocations: 3.953 kB / 472.5 MB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.5774, allocations: 331.3 kB / 472.8 MB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.5775, allocations: 92.92 kB / 472.9 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/0.5776, allocations: 7.984 kB / 472.9 MB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.5782, allocations: 19.97 kB / 472.9 MB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-05/0.5783, allocations: 15.91 kB / 472.9 MB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.5783, allocations: 3.953 kB / 472.9 MB, free: 3.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003277/0.5787, allocations: 209.9 kB / 473.1 MB, free: 2.824 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5787, allocations: 0 / 473.1 MB, free: 2.824 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000562/0.5793, allocations: 79.83 kB / 473.2 MB, free: 2.746 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.0003089/0.5796, allocations: 139.2 kB / 473.3 MB, free: 2.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01033/0.5899, allocations: 0.5865 MB / 473.9 MB, free: 2.016 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.59, allocations: 0 / 473.9 MB, free: 2.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009465/0.5995, allocations: 487.5 kB / 474.4 MB, free: 1.539 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.6, allocations: 36.55 kB / 474.4 MB, free: 1.504 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.6016, allocations: 0.5654 MB / 475 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.602, allocations: 0.7794 MB / 475.8 MB, free: 100 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.6022, allocations: 23.44 kB / 475.8 MB, free: 76 kB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6022, allocations: 0 / 475.8 MB, free: 76 kB / 394.7 MB Notification: Performance of Templates: time 0.3232/0.9254, allocations: 6.66 MB / 482.5 MB, free: 98.07 MB / 394.7 MB