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.TestComponents.Fittings.TestMultiPort.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.TestComponents.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiPort.ports_b.1..m_flow|multiPort.ports_b.1..p|multiPort.ports_b.1..h_outflow|multiPort.ports_b.1..Xi_outflow.1.|multiPort.ports_b.2..m_flow|multiPort.ports_b.2..p|multiPort.ports_b.2..h_outflow|multiPort.ports_b.2..Xi_outflow.1.|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadModel(ModelicaTest): time 2.091/2.091, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.922e-05, allocations: 4 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3124, allocations: 54.86 MB / 364.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.492/8.804, allocations: 3.66 GB / 4.016 GB, free: 171.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/8.805, allocations: 85.59 kB / 4.016 GB, free: 171.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.122/10.93, allocations: 472.2 MB / 4.477 GB, free: 66.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.05e-06/10.93, allocations: 0 / 4.477 GB, free: 66.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001156/10.93, allocations: 26.42 kB / 4.477 GB, free: 66.79 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.009368/10.94, allocations: 1.934 MB / 4.479 GB, free: 65.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/10.94, allocations: 14.03 kB / 4.479 GB, free: 65.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/10.94, allocations: 125.3 kB / 4.479 GB, free: 65.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/10.94, allocations: 0.7702 MB / 4.48 GB, free: 65.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.756e-05/10.94, allocations: 57.23 kB / 4.48 GB, free: 65.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/10.94, allocations: 78.03 kB / 4.48 GB, free: 65.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00434/10.95, allocations: 1.205 MB / 4.481 GB, free: 65.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/10.95, allocations: 0 / 4.481 GB, free: 65.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/10.95, allocations: 32.09 kB / 4.481 GB, free: 65.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/10.95, allocations: 82.42 kB / 4.481 GB, free: 65.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005075/10.95, allocations: 1.327 MB / 4.482 GB, free: 65.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/10.97, allocations: 4.6 MB / 4.487 GB, free: 63.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/10.97, allocations: 0.6004 MB / 4.487 GB, free: 63.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/10.97, allocations: 281.3 kB / 4.488 GB, free: 63.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007885/10.97, allocations: 0.786 MB / 4.488 GB, free: 62.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/10.97, allocations: 45.52 kB / 4.488 GB, free: 62.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=54): time 4.168e-06/10.97, allocations: 0 / 4.488 GB, free: 62.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.00174/10.97, allocations: 0.6395 MB / 4.489 GB, free: 62.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/10.97, allocations: 106.9 kB / 4.489 GB, free: 62.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/10.97, allocations: 0.6449 MB / 4.49 GB, free: 62.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-05/10.97, allocations: 39.73 kB / 4.49 GB, free: 62.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/10.97, allocations: 0.4953 MB / 4.49 GB, free: 61.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/10.97, allocations: 192.7 kB / 4.491 GB, free: 61.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/10.97, allocations: 17 kB / 4.491 GB, free: 61.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.683e-05/10.97, allocations: 351.9 kB / 4.491 GB, free: 61.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000694/10.97, allocations: 319.5 kB / 4.491 GB, free: 61.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/10.97, allocations: 0.5607 MB / 4.492 GB, free: 61.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008254/10.98, allocations: 420.9 kB / 4.492 GB, free: 61.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.284e-06/10.98, allocations: 0 / 4.492 GB, free: 61.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002238/10.98, allocations: 0.9918 MB / 4.493 GB, free: 61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005704/10.98, allocations: 2.876 MB / 4.496 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/10.98, allocations: 10.59 kB / 4.496 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/10.98, allocations: 15.25 kB / 4.496 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/10.98, allocations: 230 kB / 4.496 GB, free: 57.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/10.98, allocations: 14.5 kB / 4.496 GB, free: 57.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/10.98, allocations: 134.9 kB / 4.496 GB, free: 57.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/10.98, allocations: 68.72 kB / 4.496 GB, free: 57.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/10.98, allocations: 4.969 kB / 4.496 GB, free: 57.93 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002023/10.98, allocations: 0.9079 MB / 4.497 GB, free: 57.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/10.98, allocations: 6.438 kB / 4.497 GB, free: 57.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/10.98, allocations: 15.58 kB / 4.497 GB, free: 57.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/10.98, allocations: 229.3 kB / 4.497 GB, free: 57.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/10.98, allocations: 15.02 kB / 4.497 GB, free: 57.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000905/10.99, allocations: 98.17 kB / 4.498 GB, free: 57.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/10.99, allocations: 69.73 kB / 4.498 GB, free: 57.81 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002842/10.99, allocations: 158.3 kB / 4.498 GB, free: 57.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/10.99, allocations: 80.14 kB / 4.498 GB, free: 57.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/10.99, allocations: 1.002 MB / 4.499 GB, free: 57.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.826e-06/10.99, allocations: 9.812 kB / 4.499 GB, free: 57.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.887e-06/10.99, allocations: 3.562 kB / 4.499 GB, free: 57.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/10.99, allocations: 2.312 kB / 4.499 GB, free: 57.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/10.99, allocations: 1.663 MB / 4.5 GB, free: 57.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.368e-06/10.99, allocations: 5.469 kB / 4.501 GB, free: 57.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/10.99, allocations: 136.5 kB / 4.501 GB, free: 57.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/10.99, allocations: 6.156 kB / 4.501 GB, free: 57.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.982e-05/10.99, allocations: 20.66 kB / 4.501 GB, free: 57.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.587e-06/10.99, allocations: 6.125 kB / 4.501 GB, free: 57.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.216e-06/10.99, allocations: 3.375 kB / 4.501 GB, free: 57.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/11, allocations: 0.9154 MB / 4.502 GB, free: 56.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/11, allocations: 179 kB / 4.502 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/11, allocations: 17.33 kB / 4.502 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007398/11, allocations: 50.14 kB / 4.502 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/11, allocations: 50.84 kB / 4.502 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/11, allocations: 35.77 kB / 4.502 GB, free: 56.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008673/11, allocations: 0.5075 MB / 4.502 GB, free: 56.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.014e-06/11, allocations: 3.938 kB / 4.502 GB, free: 56.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004499/11, allocations: 1.329 MB / 4.504 GB, free: 55.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005546/11.01, allocations: 1.968 MB / 4.506 GB, free: 55.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002694/11.01, allocations: 1.232 MB / 4.507 GB, free: 55.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.182e-06/11.01, allocations: 4 kB / 4.507 GB, free: 55.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000693/11.01, allocations: 330.8 kB / 4.507 GB, free: 54.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/11.01, allocations: 359.7 kB / 4.507 GB, free: 54.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/11.02, allocations: 1.398 MB / 4.509 GB, free: 54.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/11.02, allocations: 1.07 MB / 4.51 GB, free: 53.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/11.02, allocations: 143.1 kB / 4.51 GB, free: 53.47 MB / 490.7 MB Notification: Performance of SimCode: time 3.068e-06/11.02, allocations: 3.5 kB / 4.51 GB, free: 53.47 MB / 490.7 MB Notification: Performance of Templates: time 0.08575/11.11, allocations: 29.2 MB / 4.539 GB, free: 30.14 MB / 490.7 MB