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.164/2.164, allocations: 234.9 MB / 250.5 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004302, allocations: 12 kB / 314.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2899, allocations: 54.85 MB / 369.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.295, allocations: 333.4 MB / 0.6862 GB, free: 135 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.295, allocations: 96.55 kB / 0.6863 GB, free: 135 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913/3.208, allocations: 449.7 MB / 1.125 GB, free: 52.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.574e-06/3.208, allocations: 0 / 1.125 GB, free: 52.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000131/3.208, allocations: 51.33 kB / 1.126 GB, free: 52.57 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.005518/3.214, allocations: 2.107 MB / 1.128 GB, free: 51.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/3.214, allocations: 7.594 kB / 1.128 GB, free: 51.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/3.215, allocations: 241.9 kB / 1.128 GB, free: 51.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/3.219, allocations: 1.183 MB / 1.129 GB, free: 51.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.262e-05/3.219, allocations: 100.9 kB / 1.129 GB, free: 51.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/3.219, allocations: 124.8 kB / 1.129 GB, free: 51.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003972/3.223, allocations: 1.905 MB / 1.131 GB, free: 50.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/3.223, allocations: 8.5 kB / 1.131 GB, free: 50.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002999/3.223, allocations: 63.28 kB / 1.131 GB, free: 50.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/3.223, allocations: 38.31 kB / 1.131 GB, free: 50.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003824/3.227, allocations: 1.589 MB / 1.133 GB, free: 50.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/3.238, allocations: 9.159 MB / 1.142 GB, free: 44.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/3.241, allocations: 1.036 MB / 1.143 GB, free: 44.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008158/3.249, allocations: 6.547 MB / 1.149 GB, free: 38.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/3.249, allocations: 40.62 kB / 1.149 GB, free: 38.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 3.539e-06/3.249, allocations: 1.562 kB / 1.149 GB, free: 38.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.002846/3.252, allocations: 0.7053 MB / 1.15 GB, free: 38.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/3.252, allocations: 372 kB / 1.15 GB, free: 38.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/3.254, allocations: 1.095 MB / 1.151 GB, free: 38.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/3.254, allocations: 37.11 kB / 1.151 GB, free: 38.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/3.254, allocations: 0.9814 MB / 1.152 GB, free: 37.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/3.255, allocations: 167.6 kB / 1.152 GB, free: 37.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-05/3.255, allocations: 34.5 kB / 1.152 GB, free: 37.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/3.255, allocations: 369.7 kB / 1.153 GB, free: 37.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007027/3.255, allocations: 288.9 kB / 1.153 GB, free: 37.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/3.257, allocations: 1.364 MB / 1.154 GB, free: 35.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/3.258, allocations: 0.5251 MB / 1.155 GB, free: 35.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-05/3.258, allocations: 13.97 kB / 1.155 GB, free: 35.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003459/3.261, allocations: 1.519 MB / 1.156 GB, free: 35.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.026e-05/3.261, allocations: 20.75 kB / 1.156 GB, free: 35.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.871e-05/3.261, allocations: 39.47 kB / 1.156 GB, free: 35.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-05/3.261, allocations: 52.31 kB / 1.156 GB, free: 35.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004698/3.266, allocations: 0.6956 MB / 1.157 GB, free: 35.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/3.267, allocations: 1.905 MB / 1.159 GB, free: 33.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/3.27, allocations: 264.8 kB / 1.159 GB, free: 33.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/3.27, allocations: 118.2 kB / 1.159 GB, free: 33.52 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.000875/3.271, allocations: 387.8 kB / 1.16 GB, free: 33.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/3.271, allocations: 143.7 kB / 1.16 GB, free: 33.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/3.275, allocations: 1.284 MB / 1.161 GB, free: 33.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/3.275, allocations: 7.75 kB / 1.161 GB, free: 33.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/3.275, allocations: 0 / 1.161 GB, free: 33.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/3.275, allocations: 7.203 kB / 1.161 GB, free: 33.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/3.277, allocations: 0.9911 MB / 1.162 GB, free: 32.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.742e-06/3.277, allocations: 0 / 1.162 GB, free: 32.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/3.279, allocations: 202.3 kB / 1.162 GB, free: 32.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004144/3.279, allocations: 61.69 kB / 1.162 GB, free: 32.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/3.279, allocations: 18.77 kB / 1.162 GB, free: 32.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008815/3.28, allocations: 1.754 MB / 1.164 GB, free: 31.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.493e-06/3.28, allocations: 0 / 1.164 GB, free: 31.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/3.282, allocations: 0.8081 MB / 1.165 GB, free: 30.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005439/3.282, allocations: 271.2 kB / 1.165 GB, free: 30.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/3.283, allocations: 13.91 kB / 1.165 GB, free: 30.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009011/3.284, allocations: 56.2 kB / 1.165 GB, free: 30.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/3.284, allocations: 48.75 kB / 1.165 GB, free: 30.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-05/3.284, allocations: 29.8 kB / 1.165 GB, free: 30.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001446/3.285, allocations: 0.8353 MB / 1.166 GB, free: 30.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.014e-06/3.285, allocations: 0 / 1.166 GB, free: 30.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003581/3.289, allocations: 0.8091 MB / 1.167 GB, free: 30.48 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.002454/3.291, allocations: 1.109 MB / 1.168 GB, free: 30.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005771/3.297, allocations: 1.16 MB / 1.169 GB, free: 30.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/3.297, allocations: 3.906 kB / 1.169 GB, free: 30.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/3.299, allocations: 378.1 kB / 1.169 GB, free: 30.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/3.302, allocations: 0.5487 MB / 1.17 GB, free: 30 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/3.308, allocations: 3.251 MB / 1.173 GB, free: 28.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/3.309, allocations: 1.267 MB / 1.174 GB, free: 27.76 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/3.309, allocations: 156.8 kB / 1.175 GB, free: 27.75 MB / 490.7 MB Notification: Performance of SimCode: time 1.786e-06/3.309, allocations: 0 / 1.175 GB, free: 27.75 MB / 490.7 MB Notification: Performance of Templates: time 0.06228/3.372, allocations: 47.42 MB / 1.221 GB, free: 5.484 MB / 490.7 MB