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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.24/2.24, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.605e-05/1.615e-05, allocations: 0 / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2762, allocations: 54.86 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.304, allocations: 332.6 MB / 0.6745 GB, free: 149.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/1.304, allocations: 97.41 kB / 0.6746 GB, free: 149.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.852/3.156, allocations: 444.5 MB / 1.109 GB, free: 47.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.335e-06/3.156, allocations: 9.781 kB / 1.109 GB, free: 47.07 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001238/3.156, allocations: 45.44 kB / 1.109 GB, free: 47.06 MB / 474.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.004717/3.161, allocations: 1.919 MB / 1.111 GB, free: 45.87 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/3.161, allocations: 10.31 kB / 1.111 GB, free: 45.87 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/3.163, allocations: 233 kB / 1.111 GB, free: 45.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/3.166, allocations: 1.173 MB / 1.112 GB, free: 45.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/3.166, allocations: 42.19 kB / 1.112 GB, free: 45.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/3.166, allocations: 75.59 kB / 1.112 GB, free: 45.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00294/3.169, allocations: 1.379 MB / 1.113 GB, free: 44.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/3.172, allocations: 1.591 MB / 1.115 GB, free: 43.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.397e-05/3.172, allocations: 3.938 kB / 1.115 GB, free: 43.69 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002031/3.172, allocations: 7.75 kB / 1.115 GB, free: 43.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/3.172, allocations: 39.56 kB / 1.115 GB, free: 43.69 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/3.183, allocations: 10.89 MB / 1.126 GB, free: 33.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009985/3.184, allocations: 0.501 MB / 1.126 GB, free: 33.42 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/3.185, allocations: 283 kB / 1.126 GB, free: 33.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005152/3.19, allocations: 4.301 MB / 1.131 GB, free: 29.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/3.19, allocations: 42.28 kB / 1.131 GB, free: 29.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 3.886e-06/3.19, allocations: 0 / 1.131 GB, free: 29.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.006226/3.196, allocations: 0.9136 MB / 1.132 GB, free: 28.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/3.197, allocations: 375.5 kB / 1.132 GB, free: 28.19 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/3.198, allocations: 1.015 MB / 1.133 GB, free: 27.63 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/3.199, allocations: 25.7 kB / 1.133 GB, free: 27.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005707/3.199, allocations: 0.9843 MB / 1.134 GB, free: 26.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/3.199, allocations: 166.3 kB / 1.134 GB, free: 26.56 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/3.199, allocations: 0 / 1.134 GB, free: 26.56 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/3.2, allocations: 372.9 kB / 1.134 GB, free: 26.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/3.2, allocations: 235.5 kB / 1.135 GB, free: 26.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/3.201, allocations: 1.305 MB / 1.136 GB, free: 24.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005642/3.207, allocations: 0.9315 MB / 1.137 GB, free: 23.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-05/3.207, allocations: 8 kB / 1.137 GB, free: 23.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007563/3.214, allocations: 1.736 MB / 1.139 GB, free: 22.15 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/3.215, allocations: 24.25 kB / 1.139 GB, free: 22.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/3.215, allocations: 36 kB / 1.139 GB, free: 22.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.339e-05/3.215, allocations: 52 kB / 1.139 GB, free: 22.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004616/3.219, allocations: 0.6863 MB / 1.139 GB, free: 21.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/3.221, allocations: 1.937 MB / 1.141 GB, free: 19.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/3.223, allocations: 237.9 kB / 1.141 GB, free: 19.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/3.224, allocations: 112 kB / 1.142 GB, free: 19 MB / 474.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.0003232/3.224, allocations: 192.2 kB / 1.142 GB, free: 18.81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/3.224, allocations: 142.4 kB / 1.142 GB, free: 18.67 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005418/3.23, allocations: 1.432 MB / 1.143 GB, free: 17.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/3.23, allocations: 15.98 kB / 1.143 GB, free: 17.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.533e-06/3.23, allocations: 3.938 kB / 1.143 GB, free: 17.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/3.23, allocations: 0 / 1.143 GB, free: 17.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/3.232, allocations: 0.8314 MB / 1.144 GB, free: 16.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/3.232, allocations: 0 / 1.144 GB, free: 16.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/3.233, allocations: 199.7 kB / 1.144 GB, free: 16.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000269/3.233, allocations: 36.83 kB / 1.144 GB, free: 16.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/3.233, allocations: 15.98 kB / 1.144 GB, free: 16.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/3.234, allocations: 1.787 MB / 1.146 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/3.235, allocations: 3.938 kB / 1.146 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003453/3.238, allocations: 0.9684 MB / 1.147 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006215/3.239, allocations: 258.9 kB / 1.147 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/3.239, allocations: 4 kB / 1.147 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/3.24, allocations: 43.86 kB / 1.147 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/3.24, allocations: 44.5 kB / 1.147 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.401e-05/3.24, allocations: 35.97 kB / 1.147 GB, free: 12.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001335/3.242, allocations: 0.746 MB / 1.148 GB, free: 12.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.08e-07/3.242, allocations: 0 / 1.148 GB, free: 12.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003689/3.245, allocations: 0.7605 MB / 1.149 GB, free: 11.36 MB / 474.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.002361/3.248, allocations: 1.119 MB / 1.15 GB, free: 10.33 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004709/3.252, allocations: 1.037 MB / 1.151 GB, free: 9.305 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.71e-06/3.253, allocations: 0 / 1.151 GB, free: 9.305 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/3.254, allocations: 350 kB / 1.151 GB, free: 8.965 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/3.257, allocations: 0.5329 MB / 1.152 GB, free: 8.441 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004307/3.261, allocations: 1.995 MB / 1.154 GB, free: 6.422 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007513/3.262, allocations: 1.271 MB / 1.155 GB, free: 5.121 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/3.262, allocations: 155.4 kB / 1.155 GB, free: 4.969 MB / 474.7 MB Notification: Performance of SimCode: time 2.472e-06/3.262, allocations: 0 / 1.155 GB, free: 4.969 MB / 474.7 MB Notification: Performance of Templates: time 0.38/3.642, allocations: 47.34 MB / 1.201 GB, free: 57.14 MB / 490.7 MB