Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.405/2.405, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004435, allocations: 12 kB / 314.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3388, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.77/11.11, allocations: 3.66 GB / 4.021 GB, free: 3.805 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/11.11, allocations: 96.77 kB / 4.021 GB, free: 3.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755/13.87, allocations: 473 MB / 4.483 GB, free: 67.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.635e-06/13.87, allocations: 0 / 4.483 GB, free: 67.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.966e-05/13.87, allocations: 30.62 kB / 4.483 GB, free: 67.74 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.008695/13.88, allocations: 2.05 MB / 4.485 GB, free: 66.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/13.88, allocations: 6.625 kB / 4.485 GB, free: 66.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008797/13.88, allocations: 120 kB / 4.485 GB, free: 66.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/13.88, allocations: 0.7889 MB / 4.486 GB, free: 66.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-05/13.88, allocations: 56.92 kB / 4.486 GB, free: 66.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/13.88, allocations: 66.97 kB / 4.486 GB, free: 66.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/13.88, allocations: 1.25 MB / 4.487 GB, free: 66.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/13.88, allocations: 3.938 kB / 4.487 GB, free: 66.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/13.88, allocations: 27.62 kB / 4.487 GB, free: 66.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/13.88, allocations: 82.94 kB / 4.487 GB, free: 66.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003715/13.89, allocations: 1.376 MB / 4.489 GB, free: 66.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/13.9, allocations: 4.607 MB / 4.493 GB, free: 64.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/13.9, allocations: 0.6345 MB / 4.494 GB, free: 64.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009508/13.9, allocations: 0.7826 MB / 4.494 GB, free: 63.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/13.9, allocations: 39.91 kB / 4.494 GB, free: 63.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=54): time 3.537e-06/13.9, allocations: 0 / 4.494 GB, free: 63.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.003056/13.91, allocations: 0.9255 MB / 4.495 GB, free: 63.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/13.91, allocations: 117.9 kB / 4.495 GB, free: 63.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/13.91, allocations: 0.7339 MB / 4.496 GB, free: 63.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002373/13.91, allocations: 36.77 kB / 4.496 GB, free: 63.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/13.91, allocations: 0.4947 MB / 4.497 GB, free: 62.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/13.91, allocations: 190.5 kB / 4.497 GB, free: 62.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/13.91, allocations: 24.12 kB / 4.497 GB, free: 62.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.556e-05/13.91, allocations: 348 kB / 4.497 GB, free: 62.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/13.91, allocations: 339.9 kB / 4.498 GB, free: 62.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/13.91, allocations: 0.5935 MB / 4.498 GB, free: 62.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/13.91, allocations: 434.5 kB / 4.499 GB, free: 62.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/13.91, allocations: 3.969 kB / 4.499 GB, free: 62.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002975/13.92, allocations: 1.043 MB / 4.5 GB, free: 61.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001818/13.92, allocations: 305.5 kB / 4.5 GB, free: 61.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/13.92, allocations: 3.969 kB / 4.5 GB, free: 61.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.221e-05/13.92, allocations: 16.98 kB / 4.5 GB, free: 61.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/13.92, allocations: 235 kB / 4.5 GB, free: 61.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.767e-05/13.92, allocations: 17.7 kB / 4.5 GB, free: 61.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/13.92, allocations: 126.5 kB / 4.5 GB, free: 61.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003297/13.92, allocations: 66.16 kB / 4.5 GB, free: 61.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/13.92, allocations: 3.875 kB / 4.5 GB, free: 61.51 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003303/13.92, allocations: 0.9429 MB / 4.501 GB, free: 61.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.939e-05/13.92, allocations: 13.3 kB / 4.501 GB, free: 61.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/13.92, allocations: 16.91 kB / 4.501 GB, free: 61.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/13.93, allocations: 230.1 kB / 4.501 GB, free: 61.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.824e-05/13.93, allocations: 13.78 kB / 4.501 GB, free: 61.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/13.93, allocations: 99.06 kB / 4.502 GB, free: 61.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/13.93, allocations: 65.12 kB / 4.502 GB, free: 61.4 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 () * Number of clocked 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.0008664/13.93, allocations: 372.1 kB / 4.502 GB, free: 61.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/13.93, allocations: 80.06 kB / 4.502 GB, free: 61.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/13.93, allocations: 1.069 MB / 4.503 GB, free: 61.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/13.93, allocations: 3.938 kB / 4.503 GB, free: 61.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/13.93, allocations: 3.938 kB / 4.503 GB, free: 61.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/13.93, allocations: 3.797 kB / 4.503 GB, free: 61.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/13.94, allocations: 1.689 MB / 4.505 GB, free: 60.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/13.94, allocations: 0 / 4.505 GB, free: 60.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009934/13.94, allocations: 138.5 kB / 4.505 GB, free: 60.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/13.94, allocations: 6.688 kB / 4.505 GB, free: 60.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.049e-05/13.94, allocations: 18.83 kB / 4.505 GB, free: 60.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/13.94, allocations: 15.56 kB / 4.505 GB, free: 60.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/13.94, allocations: 2.062 kB / 4.505 GB, free: 60.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/13.94, allocations: 0.8692 MB / 4.506 GB, free: 60.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/13.94, allocations: 179.8 kB / 4.506 GB, free: 60.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/13.94, allocations: 10.34 kB / 4.506 GB, free: 60.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009554/13.94, allocations: 48.25 kB / 4.506 GB, free: 60.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/13.94, allocations: 54 kB / 4.506 GB, free: 60.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/13.94, allocations: 42.52 kB / 4.506 GB, free: 60.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001023/13.94, allocations: 0.5057 MB / 4.507 GB, free: 60.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/13.94, allocations: 6.484 kB / 4.507 GB, free: 60.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005439/13.95, allocations: 1.334 MB / 4.508 GB, free: 59.79 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 () * Number of clocked 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.007134/13.96, allocations: 1.975 MB / 4.51 GB, free: 59.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003935/13.96, allocations: 1.292 MB / 4.511 GB, free: 59.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/13.96, allocations: 3.906 kB / 4.511 GB, free: 59.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009827/13.96, allocations: 358 kB / 4.511 GB, free: 59.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/13.96, allocations: 350 kB / 4.512 GB, free: 59.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004907/13.97, allocations: 2.156 MB / 4.514 GB, free: 58.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/13.97, allocations: 1.065 MB / 4.515 GB, free: 57.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/13.97, allocations: 146.6 kB / 4.515 GB, free: 57.58 MB / 490.7 MB Notification: Performance of SimCode: time 1.273e-06/13.97, allocations: 0 / 4.515 GB, free: 57.58 MB / 490.7 MB Notification: Performance of Templates: time 0.06139/14.03, allocations: 29.3 MB / 4.544 GB, free: 36.7 MB / 490.7 MB