Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.074/2.074, allocations: 209.4 MB / 217.3 MB, free: 4.133 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.57e-05, allocations: 0 / 271.3 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3367, allocations: 48.69 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9248/1.262, allocations: 326.1 MB / 0.631 GB, free: 140.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/1.262, allocations: 84.47 kB / 0.6311 GB, free: 140.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.77/3.032, allocations: 444.5 MB / 1.065 GB, free: 14.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.022e-06/3.032, allocations: 0 / 1.065 GB, free: 14.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000128/3.032, allocations: 47.14 kB / 1.065 GB, free: 14.54 MB / 426.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.004896/3.037, allocations: 1.924 MB / 1.067 GB, free: 12.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/3.037, allocations: 12.03 kB / 1.067 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/3.039, allocations: 245.6 kB / 1.067 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/3.042, allocations: 1.168 MB / 1.068 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-05/3.042, allocations: 44 kB / 1.069 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/3.042, allocations: 72 kB / 1.069 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002796/3.045, allocations: 1.376 MB / 1.07 GB, free: 9.645 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/3.048, allocations: 1.584 MB / 1.071 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/3.048, allocations: 7.938 kB / 1.071 GB, free: 7.863 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002688/3.048, allocations: 8 kB / 1.071 GB, free: 7.855 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/3.048, allocations: 36 kB / 1.072 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/3.061, allocations: 10.9 MB / 1.082 GB, free: 11.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/3.062, allocations: 0.5021 MB / 1.083 GB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/3.063, allocations: 283.2 kB / 1.083 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006957/3.07, allocations: 4.294 MB / 1.087 GB, free: 6.297 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/3.07, allocations: 38.56 kB / 1.087 GB, free: 6.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 3.824e-06/3.07, allocations: 0 / 1.087 GB, free: 6.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.006237/3.076, allocations: 0.9289 MB / 1.088 GB, free: 5.312 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002252/3.076, allocations: 371.8 kB / 1.088 GB, free: 4.863 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/3.079, allocations: 1.013 MB / 1.089 GB, free: 3.844 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001333/3.079, allocations: 25.7 kB / 1.089 GB, free: 3.812 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009613/3.08, allocations: 0.9797 MB / 1.09 GB, free: 2.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/3.08, allocations: 165.9 kB / 1.091 GB, free: 2.656 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/3.08, allocations: 4 kB / 1.091 GB, free: 2.652 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002353/3.08, allocations: 370.8 kB / 1.091 GB, free: 2.281 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006047/3.081, allocations: 235.9 kB / 1.091 GB, free: 2.051 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/3.083, allocations: 1.303 MB / 1.092 GB, free: 216 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.285/3.368, allocations: 0.936 MB / 1.093 GB, free: 44.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.4e-05/3.368, allocations: 10.38 kB / 1.093 GB, free: 44.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.008312/3.376, allocations: 1.725 MB / 1.095 GB, free: 44.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/3.376, allocations: 20.31 kB / 1.095 GB, free: 44.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.066e-05/3.376, allocations: 35.66 kB / 1.095 GB, free: 44.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.439e-05/3.376, allocations: 52.41 kB / 1.095 GB, free: 44.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004962/3.381, allocations: 0.6913 MB / 1.096 GB, free: 44.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/3.383, allocations: 1.936 MB / 1.098 GB, free: 42.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/3.385, allocations: 237.7 kB / 1.098 GB, free: 42.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/3.386, allocations: 113.3 kB / 1.098 GB, free: 42.57 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 () * 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.000312/3.386, allocations: 193.2 kB / 1.098 GB, free: 42.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/3.386, allocations: 154.9 kB / 1.098 GB, free: 42.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005355/3.392, allocations: 1.425 MB / 1.1 GB, free: 42.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/3.392, allocations: 8.781 kB / 1.1 GB, free: 42.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/3.392, allocations: 0 / 1.1 GB, free: 42.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/3.392, allocations: 6.797 kB / 1.1 GB, free: 42.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/3.394, allocations: 0.8226 MB / 1.101 GB, free: 42.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.895e-06/3.394, allocations: 5.516 kB / 1.101 GB, free: 42.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/3.395, allocations: 193.4 kB / 1.101 GB, free: 42.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002797/3.395, allocations: 42.22 kB / 1.101 GB, free: 42.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/3.395, allocations: 18 kB / 1.101 GB, free: 42.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/3.396, allocations: 1.784 MB / 1.103 GB, free: 40.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.621e-06/3.396, allocations: 0 / 1.103 GB, free: 40.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/3.4, allocations: 0.9651 MB / 1.103 GB, free: 40.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/3.401, allocations: 346.1 kB / 1.104 GB, free: 40.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000411/3.401, allocations: 7.656 kB / 1.104 GB, free: 40.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/3.403, allocations: 38.98 kB / 1.104 GB, free: 40.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/3.404, allocations: 48.78 kB / 1.104 GB, free: 40.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/3.404, allocations: 31.75 kB / 1.104 GB, free: 40.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002049/3.406, allocations: 0.7608 MB / 1.105 GB, free: 39.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.248e-06/3.406, allocations: 0 / 1.105 GB, free: 39.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005627/3.411, allocations: 0.7608 MB / 1.105 GB, free: 39.91 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 () * 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.003245/3.415, allocations: 1.111 MB / 1.107 GB, free: 39.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004993/3.42, allocations: 1.042 MB / 1.108 GB, free: 39.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.159e-06/3.42, allocations: 0 / 1.108 GB, free: 39.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/3.421, allocations: 349.1 kB / 1.108 GB, free: 39.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/3.425, allocations: 0.5353 MB / 1.108 GB, free: 39.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/3.429, allocations: 1.998 MB / 1.11 GB, free: 39.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007903/3.43, allocations: 1.269 MB / 1.112 GB, free: 38.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/3.43, allocations: 156.2 kB / 1.112 GB, free: 38.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.792e-06/3.431, allocations: 0 / 1.112 GB, free: 38.48 MB / 442.7 MB Notification: Performance of Templates: time 0.0629/3.493, allocations: 47.34 MB / 1.158 GB, free: 36.09 MB / 442.7 MB