Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") Notification: Performance of loadModel(ModelicaTest): time 2.063/2.063, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006041/0.0006042, allocations: 8 kB / 283.1 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4127, allocations: 48.71 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.5, allocations: 326.9 MB / 0.6432 GB, free: 108 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/1.5, allocations: 101.9 kB / 0.6433 GB, free: 108 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.041/3.541, allocations: 449.7 MB / 1.082 GB, free: 16.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.484e-06/3.542, allocations: 0 / 1.082 GB, free: 16.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001734/3.542, allocations: 43.98 kB / 1.083 GB, free: 16.95 MB / 442.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.00747/3.549, allocations: 2.112 MB / 1.085 GB, free: 14.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/3.549, allocations: 8.031 kB / 1.085 GB, free: 14.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/3.551, allocations: 241.7 kB / 1.085 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004338/3.556, allocations: 1.179 MB / 1.086 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/3.556, allocations: 106.7 kB / 1.086 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004451/3.556, allocations: 128 kB / 1.086 GB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006028/3.563, allocations: 1.913 MB / 1.088 GB, free: 10.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.843e-05/3.563, allocations: 3.938 kB / 1.088 GB, free: 10.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004239/3.563, allocations: 72 kB / 1.088 GB, free: 10.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/3.563, allocations: 39.66 kB / 1.088 GB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005255/3.568, allocations: 1.586 MB / 1.09 GB, free: 9.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3757/3.944, allocations: 9.152 MB / 1.099 GB, free: 38.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/3.947, allocations: 1.012 MB / 1.1 GB, free: 37.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/3.958, allocations: 6.496 MB / 1.106 GB, free: 32.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/3.958, allocations: 50.08 kB / 1.106 GB, free: 32.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 3.346e-06/3.958, allocations: 0 / 1.106 GB, free: 32.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.00336/3.961, allocations: 0.7013 MB / 1.107 GB, free: 32.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/3.961, allocations: 375 kB / 1.107 GB, free: 31.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/3.964, allocations: 1.252 MB / 1.108 GB, free: 31.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001974/3.964, allocations: 34.08 kB / 1.108 GB, free: 31.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008096/3.965, allocations: 0.9922 MB / 1.109 GB, free: 31.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/3.965, allocations: 167.3 kB / 1.109 GB, free: 31.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/3.966, allocations: 31.34 kB / 1.11 GB, free: 31.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/3.966, allocations: 373.7 kB / 1.11 GB, free: 30.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009108/3.967, allocations: 286.3 kB / 1.11 GB, free: 30.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/3.968, allocations: 1.366 MB / 1.111 GB, free: 29.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/3.97, allocations: 0.5242 MB / 1.112 GB, free: 29.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.772e-05/3.97, allocations: 14.25 kB / 1.112 GB, free: 29.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004143/3.974, allocations: 1.527 MB / 1.113 GB, free: 29.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/3.974, allocations: 19.97 kB / 1.114 GB, free: 29.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.545e-05/3.974, allocations: 42.05 kB / 1.114 GB, free: 29.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.583e-05/3.974, allocations: 52.22 kB / 1.114 GB, free: 29.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007686/3.982, allocations: 0.692 MB / 1.114 GB, free: 29.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/3.983, allocations: 1.899 MB / 1.116 GB, free: 27.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/3.986, allocations: 265.4 kB / 1.116 GB, free: 27.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/3.987, allocations: 113.1 kB / 1.116 GB, free: 27.43 MB / 442.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.001026/3.988, allocations: 388.7 kB / 1.117 GB, free: 27.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/3.988, allocations: 143.6 kB / 1.117 GB, free: 27.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/3.992, allocations: 1.28 MB / 1.118 GB, free: 27.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/3.992, allocations: 14.23 kB / 1.118 GB, free: 27.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/3.992, allocations: 3.953 kB / 1.118 GB, free: 27.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/3.992, allocations: 7.047 kB / 1.118 GB, free: 27.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/3.995, allocations: 0.9894 MB / 1.119 GB, free: 26.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/3.995, allocations: 1.375 kB / 1.119 GB, free: 26.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/3.997, allocations: 197.6 kB / 1.119 GB, free: 26.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005168/3.997, allocations: 55.52 kB / 1.119 GB, free: 26.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.898e-05/3.997, allocations: 22.3 kB / 1.12 GB, free: 26.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/3.998, allocations: 1.759 MB / 1.121 GB, free: 25.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/3.998, allocations: 5.891 kB / 1.121 GB, free: 25.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/4, allocations: 0.8086 MB / 1.122 GB, free: 24.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008123/4.001, allocations: 344.8 kB / 1.122 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003797/4.002, allocations: 16.5 kB / 1.122 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/4.003, allocations: 56.38 kB / 1.122 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/4.003, allocations: 51.34 kB / 1.122 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-05/4.003, allocations: 29.31 kB / 1.122 GB, free: 24.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001721/4.005, allocations: 0.8421 MB / 1.123 GB, free: 24.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.81e-07/4.005, allocations: 0 / 1.123 GB, free: 24.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004104/4.009, allocations: 0.8075 MB / 1.124 GB, free: 24.67 MB / 442.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.002906/4.012, allocations: 1.118 MB / 1.125 GB, free: 24.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008732/4.021, allocations: 1.165 MB / 1.126 GB, free: 24.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/4.021, allocations: 0 / 1.126 GB, free: 24.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/4.022, allocations: 382 kB / 1.127 GB, free: 24.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004611/4.027, allocations: 0.5488 MB / 1.127 GB, free: 24.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00632/4.033, allocations: 3.265 MB / 1.13 GB, free: 23.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000786/4.034, allocations: 1.271 MB / 1.132 GB, free: 22.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006036/4.035, allocations: 162.1 kB / 1.132 GB, free: 22.3 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/4.035, allocations: 0 / 1.132 GB, free: 22.3 MB / 442.7 MB Notification: Performance of Templates: time 0.09314/4.128, allocations: 47.41 MB / 1.178 GB, free: 19.89 MB / 442.7 MB