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.TestCases.PressureLoss.SeveralTestCases.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.TestCases.PressureLoss.SeveralTestCases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|d_hyd|A_cross|eta|rho|Re_cir|Re_rec|vel_cir|vel_rec|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow|input_p2.y|IN_p2.ports.1..m_flow|IN_p2.ports.1..p|IN_p2.ports.1..h_outflow|OUT_dp2.ports.1..m_flow|OUT_dp2.ports.1..p|OUT_dp2.ports.1..h_outflow|OUT_mflow2.ports.1..m_flow|OUT_mflow2.ports.1..p|OUT_mflow2.ports.1..h_outflow|IN_mflow2.ports.1..m_flow|IN_mflow2.ports.1..p|IN_mflow2.ports.1..h_outflow|from_dp2.port_b.m_flow|from_dp2.port_b.p|from_dp2.port_b.h_outflow|from_mflow2.port_b.m_flow|from_mflow2.port_b.p|from_mflow2.port_b.h_outflow|input_p3.y|IN_p3.ports.1..m_flow|IN_p3.ports.1..p|IN_p3.ports.1..h_outflow|OUT_dp3.ports.1..m_flow|OUT_dp3.ports.1..p|OUT_dp3.ports.1..h_outflow|OUT_mflow3.ports.1..m_flow|OUT_mflow3.ports.1..p|OUT_mflow3.ports.1..h_outflow|IN_mflow3.ports.1..m_flow|IN_mflow3.ports.1..p|IN_mflow3.ports.1..h_outflow|from_dp3.port_b.m_flow|from_dp3.port_b.p|from_dp3.port_b.h_outflow|from_mflow3.port_b.m_flow|from_mflow3.port_b.p|from_mflow3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") Notification: Performance of loadModel(ModelicaTest): time 2.51/2.51, allocations: 234.9 MB / 251.1 MB, free: 10.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004343/0.0004343, allocations: 16 kB / 315 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3425, allocations: 54.86 MB / 369.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/1.499, allocations: 333.4 MB / 0.6867 GB, free: 129 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.499, allocations: 100.6 kB / 0.6868 GB, free: 129 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.232/3.731, allocations: 449.7 MB / 1.126 GB, free: 56.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.074e-06/3.731, allocations: 0 / 1.126 GB, free: 56.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001335/3.731, allocations: 47.91 kB / 1.126 GB, free: 56.36 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005959/3.737, allocations: 2.117 MB / 1.128 GB, free: 55.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/3.737, allocations: 10.38 kB / 1.128 GB, free: 55.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/3.739, allocations: 235.6 kB / 1.128 GB, free: 55.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/3.742, allocations: 1.171 MB / 1.129 GB, free: 54.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/3.742, allocations: 102.7 kB / 1.13 GB, free: 54.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/3.742, allocations: 124.7 kB / 1.13 GB, free: 54.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004276/3.746, allocations: 1.912 MB / 1.132 GB, free: 54.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.9e-05/3.747, allocations: 7.812 kB / 1.132 GB, free: 54.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00026/3.747, allocations: 69.78 kB / 1.132 GB, free: 54.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/3.747, allocations: 35 kB / 1.132 GB, free: 54.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003872/3.751, allocations: 1.591 MB / 1.133 GB, free: 54.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/3.763, allocations: 9.153 MB / 1.142 GB, free: 48.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/3.766, allocations: 1.018 MB / 1.143 GB, free: 47.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008685/3.774, allocations: 6.51 MB / 1.15 GB, free: 41.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/3.774, allocations: 50.92 kB / 1.15 GB, free: 41.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 2.796e-06/3.774, allocations: 0 / 1.15 GB, free: 41.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.002884/3.777, allocations: 0.6987 MB / 1.15 GB, free: 41.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/3.777, allocations: 372.4 kB / 1.151 GB, free: 40.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/3.779, allocations: 1.247 MB / 1.152 GB, free: 40.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.81e-05/3.779, allocations: 37.64 kB / 1.152 GB, free: 40.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/3.78, allocations: 0.9864 MB / 1.153 GB, free: 39.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/3.78, allocations: 175.6 kB / 1.153 GB, free: 39.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/3.78, allocations: 34.84 kB / 1.153 GB, free: 39.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/3.78, allocations: 367.4 kB / 1.153 GB, free: 38.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007783/3.781, allocations: 287.8 kB / 1.154 GB, free: 38.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/3.783, allocations: 1.37 MB / 1.155 GB, free: 37.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/3.784, allocations: 0.5207 MB / 1.155 GB, free: 37.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.226e-05/3.784, allocations: 15.58 kB / 1.155 GB, free: 37.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003474/3.787, allocations: 1.522 MB / 1.157 GB, free: 36.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/3.787, allocations: 19.38 kB / 1.157 GB, free: 36.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.903e-05/3.787, allocations: 36.72 kB / 1.157 GB, free: 36.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-05/3.787, allocations: 53.53 kB / 1.157 GB, free: 36.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007514/3.795, allocations: 0.6923 MB / 1.158 GB, free: 36.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/3.797, allocations: 1.895 MB / 1.16 GB, free: 34.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/3.799, allocations: 274 kB / 1.16 GB, free: 34.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/3.799, allocations: 116.3 kB / 1.16 GB, free: 34.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * 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 (203): * Single equations (assignments): 200 * 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.0008882/3.8, allocations: 381.5 kB / 1.16 GB, free: 34.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/3.8, allocations: 141.3 kB / 1.16 GB, free: 34.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/3.805, allocations: 1.289 MB / 1.162 GB, free: 33.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/3.805, allocations: 11.25 kB / 1.162 GB, free: 33.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/3.805, allocations: 0 / 1.162 GB, free: 33.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/3.805, allocations: 3.422 kB / 1.162 GB, free: 33.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/3.807, allocations: 1 MB / 1.163 GB, free: 33.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/3.807, allocations: 0 / 1.163 GB, free: 33.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/3.808, allocations: 192.5 kB / 1.163 GB, free: 33.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004896/3.809, allocations: 58.95 kB / 1.163 GB, free: 33.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/3.809, allocations: 23.19 kB / 1.163 GB, free: 33.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009662/3.81, allocations: 1.758 MB / 1.165 GB, free: 31.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/3.81, allocations: 0 / 1.165 GB, free: 31.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/3.812, allocations: 0.805 MB / 1.165 GB, free: 31.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/3.812, allocations: 269.8 kB / 1.166 GB, free: 30.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000339/3.813, allocations: 19.62 kB / 1.166 GB, free: 30.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/3.814, allocations: 50.05 kB / 1.166 GB, free: 30.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/3.814, allocations: 45.58 kB / 1.166 GB, free: 30.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-05/3.814, allocations: 34.03 kB / 1.166 GB, free: 30.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001539/3.815, allocations: 0.8369 MB / 1.167 GB, free: 30.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/3.815, allocations: 0 / 1.167 GB, free: 30.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003567/3.819, allocations: 0.8058 MB / 1.167 GB, free: 30.24 MB / 490.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 (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002708/3.822, allocations: 1.106 MB / 1.169 GB, free: 29.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007223/3.829, allocations: 1.17 MB / 1.17 GB, free: 29.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/3.829, allocations: 0 / 1.17 GB, free: 29.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001557/3.831, allocations: 387.2 kB / 1.17 GB, free: 29.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004572/3.835, allocations: 0.5516 MB / 1.171 GB, free: 29.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/3.841, allocations: 3.246 MB / 1.174 GB, free: 27.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/3.843, allocations: 1.274 MB / 1.175 GB, free: 42.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005524/3.843, allocations: 160 kB / 1.175 GB, free: 42.17 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/3.843, allocations: 0 / 1.175 GB, free: 42.17 MB / 0.4948 GB Notification: Performance of Templates: time 0.4499/4.293, allocations: 47.41 MB / 1.221 GB, free: 69.59 MB / 0.4948 GB