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.TestCases.PressureLoss.SeveralTestCases.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.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.205/2.205, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.495e-05, allocations: 0 / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3227, allocations: 54.86 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6425/0.9652, allocations: 333.3 MB / 0.6815 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.9655, allocations: 90.8 kB / 0.6816 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.199/3.164, allocations: 448.2 MB / 1.119 GB, free: 50.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.06e-06/3.164, allocations: 0 / 1.119 GB, free: 50.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001388/3.164, allocations: 51.73 kB / 1.119 GB, free: 50.97 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.004755/3.169, allocations: 1.916 MB / 1.121 GB, free: 50.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/3.169, allocations: 10.75 kB / 1.121 GB, free: 50.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/3.171, allocations: 228.4 kB / 1.121 GB, free: 49.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/3.174, allocations: 1.178 MB / 1.123 GB, free: 49.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.611e-05/3.174, allocations: 100.9 kB / 1.123 GB, free: 49.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/3.174, allocations: 126.7 kB / 1.123 GB, free: 49.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004059/3.178, allocations: 1.875 MB / 1.125 GB, free: 49.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.621e-05/3.178, allocations: 13.12 kB / 1.125 GB, free: 49.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/3.179, allocations: 67.19 kB / 1.125 GB, free: 49.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/3.179, allocations: 33.72 kB / 1.125 GB, free: 49.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003343/3.182, allocations: 1.547 MB / 1.126 GB, free: 49.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/3.192, allocations: 9.15 MB / 1.135 GB, free: 43.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/3.195, allocations: 1.009 MB / 1.136 GB, free: 43.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009029/3.196, allocations: 475.6 kB / 1.137 GB, free: 43.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00827/3.204, allocations: 6.905 MB / 1.143 GB, free: 37.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/3.204, allocations: 41.84 kB / 1.143 GB, free: 37.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 3.243e-06/3.204, allocations: 0 / 1.143 GB, free: 37.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.00235/3.207, allocations: 0.5769 MB / 1.144 GB, free: 37.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/3.207, allocations: 367.5 kB / 1.144 GB, free: 36.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/3.208, allocations: 1.083 MB / 1.145 GB, free: 36.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-05/3.209, allocations: 38.94 kB / 1.145 GB, free: 36.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005279/3.209, allocations: 0.9849 MB / 1.146 GB, free: 35.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/3.209, allocations: 166.7 kB / 1.147 GB, free: 35.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-05/3.209, allocations: 33.62 kB / 1.147 GB, free: 35.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/3.209, allocations: 371.2 kB / 1.147 GB, free: 35.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/3.21, allocations: 270.9 kB / 1.147 GB, free: 35.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/3.211, allocations: 1.343 MB / 1.148 GB, free: 34.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009826/3.212, allocations: 0.5173 MB / 1.149 GB, free: 34.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.038e-05/3.212, allocations: 12.41 kB / 1.149 GB, free: 34.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003163/3.215, allocations: 1.499 MB / 1.15 GB, free: 34.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/3.215, allocations: 18.34 kB / 1.15 GB, free: 34.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.096e-05/3.215, allocations: 36.31 kB / 1.15 GB, free: 34.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.729e-05/3.216, allocations: 55.09 kB / 1.151 GB, free: 34.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004905/3.22, allocations: 0.6912 MB / 1.151 GB, free: 34.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/3.222, allocations: 1.903 MB / 1.153 GB, free: 32.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/3.225, allocations: 277.2 kB / 1.153 GB, free: 32.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/3.225, allocations: 118.7 kB / 1.153 GB, free: 32.2 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 () * 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.0003394/3.225, allocations: 229.9 kB / 1.154 GB, free: 32.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/3.226, allocations: 144.2 kB / 1.154 GB, free: 32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/3.229, allocations: 1.27 MB / 1.155 GB, free: 31.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/3.23, allocations: 13.62 kB / 1.155 GB, free: 31.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.913e-06/3.23, allocations: 0 / 1.155 GB, free: 31.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/3.23, allocations: 5.25 kB / 1.155 GB, free: 31.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/3.232, allocations: 0.9838 MB / 1.156 GB, free: 31.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.892e-06/3.232, allocations: 0 / 1.156 GB, free: 31.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/3.233, allocations: 199 kB / 1.156 GB, free: 31.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00042/3.233, allocations: 57.75 kB / 1.156 GB, free: 31.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.773e-05/3.233, allocations: 21.95 kB / 1.156 GB, free: 31.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008975/3.234, allocations: 1.756 MB / 1.158 GB, free: 29.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.6e-06/3.234, allocations: 0 / 1.158 GB, free: 29.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/3.236, allocations: 0.7882 MB / 1.159 GB, free: 29.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005096/3.236, allocations: 260.9 kB / 1.159 GB, free: 29.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/3.237, allocations: 13.88 kB / 1.159 GB, free: 29.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009507/3.238, allocations: 64.38 kB / 1.159 GB, free: 29.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/3.238, allocations: 43.36 kB / 1.159 GB, free: 29.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/3.238, allocations: 31.8 kB / 1.159 GB, free: 29.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001378/3.239, allocations: 0.8272 MB / 1.16 GB, free: 29.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.36e-07/3.239, allocations: 2.516 kB / 1.16 GB, free: 29.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003543/3.243, allocations: 0.8005 MB / 1.161 GB, free: 29.25 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 () * 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.002322/3.245, allocations: 1.115 MB / 1.162 GB, free: 28.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0058/3.251, allocations: 1.133 MB / 1.163 GB, free: 28.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.027e-06/3.251, allocations: 0 / 1.163 GB, free: 28.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/3.252, allocations: 364.7 kB / 1.163 GB, free: 28.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/3.256, allocations: 0.5514 MB / 1.164 GB, free: 28.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/3.26, allocations: 2.03 MB / 1.166 GB, free: 28.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007865/3.261, allocations: 1.265 MB / 1.167 GB, free: 27.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/3.261, allocations: 161.5 kB / 1.167 GB, free: 27.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.823e-06/3.261, allocations: 0 / 1.167 GB, free: 27.54 MB / 490.7 MB Notification: Performance of Templates: time 0.06312/3.325, allocations: 47.36 MB / 1.213 GB, free: 21.36 MB / 490.7 MB