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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.919/1.919, allocations: 209.3 MB / 222.4 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.118e-05, allocations: 4 kB / 277.8 MB, free: 12.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08527/0.08533, allocations: 48.71 MB / 326.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8102/0.8956, allocations: 326.8 MB / 0.638 GB, free: 3.504 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.8959, allocations: 85.08 kB / 0.6381 GB, free: 3.457 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.188/3.084, allocations: 448.1 MB / 1.076 GB, free: 35.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.899e-06/3.084, allocations: 3.938 kB / 1.076 GB, free: 35.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000126/3.084, allocations: 44.7 kB / 1.076 GB, free: 35.29 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.004382/3.089, allocations: 1.933 MB / 1.078 GB, free: 34.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/3.089, allocations: 7 kB / 1.078 GB, free: 34.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/3.091, allocations: 230.3 kB / 1.078 GB, free: 33.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002744/3.093, allocations: 1.183 MB / 1.079 GB, free: 33.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.03e-05/3.093, allocations: 99.19 kB / 1.079 GB, free: 33.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/3.094, allocations: 127.7 kB / 1.079 GB, free: 33.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004028/3.098, allocations: 1.869 MB / 1.081 GB, free: 31.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/3.098, allocations: 3.938 kB / 1.081 GB, free: 31.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/3.098, allocations: 67.19 kB / 1.081 GB, free: 31.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/3.098, allocations: 35.48 kB / 1.081 GB, free: 31.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003502/3.102, allocations: 1.55 MB / 1.083 GB, free: 31.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/3.112, allocations: 9.156 MB / 1.092 GB, free: 22.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/3.115, allocations: 1.022 MB / 1.093 GB, free: 22.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009371/3.116, allocations: 478.5 kB / 1.093 GB, free: 21.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008343/3.124, allocations: 6.898 MB / 1.1 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/3.124, allocations: 42.56 kB / 1.1 GB, free: 14.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=41): time 3.931e-06/3.124, allocations: 3.938 kB / 1.1 GB, free: 14.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=41): time 0.002278/3.127, allocations: 0.581 MB / 1.1 GB, free: 13.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/3.127, allocations: 375.8 kB / 1.101 GB, free: 13.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/3.128, allocations: 1.078 MB / 1.102 GB, free: 12.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.841e-05/3.128, allocations: 37.64 kB / 1.102 GB, free: 12.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/3.129, allocations: 0.9875 MB / 1.103 GB, free: 11.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/3.129, allocations: 165.9 kB / 1.103 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/3.129, allocations: 32 kB / 1.103 GB, free: 10.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/3.129, allocations: 374.8 kB / 1.103 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005821/3.13, allocations: 271.9 kB / 1.104 GB, free: 10.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009855/3.131, allocations: 1.338 MB / 1.105 GB, free: 8.297 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009/3.132, allocations: 0.511 MB / 1.105 GB, free: 7.785 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-05/3.132, allocations: 8 kB / 1.105 GB, free: 7.777 MB / 426.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002927/3.135, allocations: 1.501 MB / 1.107 GB, free: 6.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/3.135, allocations: 20 kB / 1.107 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/3.135, allocations: 36 kB / 1.107 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-05/3.135, allocations: 52 kB / 1.107 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/3.14, allocations: 0.6944 MB / 1.108 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/3.141, allocations: 1.902 MB / 1.11 GB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/3.144, allocations: 278.1 kB / 1.11 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/3.144, allocations: 112 kB / 1.11 GB, free: 3.113 MB / 426.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.0002788/3.144, allocations: 232.1 kB / 1.11 GB, free: 2.879 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/3.144, allocations: 142.2 kB / 1.11 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/3.148, allocations: 1.269 MB / 1.112 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/3.148, allocations: 11.94 kB / 1.112 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.879e-06/3.148, allocations: 7.938 kB / 1.112 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/3.148, allocations: 3.984 kB / 1.112 GB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/3.15, allocations: 0.9835 MB / 1.113 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.544e-06/3.15, allocations: 0 / 1.113 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/3.151, allocations: 199.7 kB / 1.113 GB, free: 224 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/3.152, allocations: 56.8 kB / 1.113 GB, free: 164 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/3.152, allocations: 23.98 kB / 1.113 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/3.153, allocations: 1.756 MB / 1.115 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.819e-06/3.153, allocations: 0 / 1.115 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/3.155, allocations: 0.7844 MB / 1.115 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008152/3.156, allocations: 350.7 kB / 1.116 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/3.156, allocations: 12 kB / 1.116 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008836/3.157, allocations: 60 kB / 1.116 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/3.157, allocations: 44.5 kB / 1.116 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.795e-05/3.157, allocations: 35.97 kB / 1.116 GB, free: 12.99 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001638/3.159, allocations: 0.8231 MB / 1.117 GB, free: 12.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.16e-07/3.159, allocations: 0 / 1.117 GB, free: 12.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00334/3.162, allocations: 0.8074 MB / 1.117 GB, free: 11.36 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.002594/3.165, allocations: 1.117 MB / 1.118 GB, free: 10.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005379/3.17, allocations: 1.131 MB / 1.12 GB, free: 9.152 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.376e-06/3.17, allocations: 0 / 1.12 GB, free: 9.152 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/3.172, allocations: 367.2 kB / 1.12 GB, free: 8.793 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/3.175, allocations: 0.5439 MB / 1.12 GB, free: 8.258 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005171/3.18, allocations: 2.036 MB / 1.122 GB, free: 6.199 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/3.182, allocations: 1.263 MB / 1.124 GB, free: 4.906 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/3.182, allocations: 163.4 kB / 1.124 GB, free: 4.746 MB / 442.7 MB Notification: Performance of SimCode: time 1.909e-06/3.182, allocations: 0 / 1.124 GB, free: 4.746 MB / 442.7 MB Notification: Performance of Templates: time 0.348/3.53, allocations: 47.35 MB / 1.17 GB, free: 60.8 MB / 458.7 MB