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.TestComponents.Fittings.TestMultiPort.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.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.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadModel(ModelicaTest): time 1.908/1.908, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.684e-05/1.703e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2635, allocations: 48.68 MB / 320 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.284/8.548, allocations: 3.652 GB / 3.965 GB, free: 103.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/8.548, allocations: 83.95 kB / 3.965 GB, free: 103 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.243/10.79, allocations: 465 MB / 4.419 GB, free: 50.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.29e-06/10.79, allocations: 0 / 4.419 GB, free: 50.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.838e-05/10.79, allocations: 28.56 kB / 4.419 GB, free: 50.1 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006492/10.8, allocations: 1.946 MB / 4.421 GB, free: 49.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/10.8, allocations: 6.406 kB / 4.421 GB, free: 49.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006841/10.8, allocations: 123 kB / 4.421 GB, free: 49.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/10.8, allocations: 0.779 MB / 4.422 GB, free: 49.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/10.8, allocations: 23.06 kB / 4.422 GB, free: 49.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/10.8, allocations: 43.81 kB / 4.422 GB, free: 49.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002565/10.8, allocations: 1.211 MB / 4.423 GB, free: 49.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/10.81, allocations: 1.094 MB / 4.424 GB, free: 48.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/10.81, allocations: 6.812 kB / 4.424 GB, free: 48.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/10.81, allocations: 7.656 kB / 4.424 GB, free: 48.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/10.81, allocations: 74.41 kB / 4.424 GB, free: 48.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00956/10.82, allocations: 4.331 MB / 4.428 GB, free: 47.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/10.82, allocations: 0.5677 MB / 4.429 GB, free: 47.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004791/10.82, allocations: 269.3 kB / 4.429 GB, free: 47.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007044/10.82, allocations: 0.7482 MB / 4.43 GB, free: 46.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/10.82, allocations: 37.88 kB / 4.43 GB, free: 46.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 3.755e-06/10.82, allocations: 1.594 kB / 4.43 GB, free: 46.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.003012/10.82, allocations: 0.72 MB / 4.431 GB, free: 46.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/10.82, allocations: 118.1 kB / 4.431 GB, free: 46.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009121/10.82, allocations: 0.5686 MB / 4.431 GB, free: 46.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/10.82, allocations: 25.7 kB / 4.431 GB, free: 46.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/10.82, allocations: 0.5076 MB / 4.432 GB, free: 45.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/10.82, allocations: 190.9 kB / 4.432 GB, free: 45.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/10.82, allocations: 0 / 4.432 GB, free: 45.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.382e-05/10.82, allocations: 341.5 kB / 4.432 GB, free: 45.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006229/10.82, allocations: 308.9 kB / 4.433 GB, free: 45.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007726/10.82, allocations: 0.5518 MB / 4.433 GB, free: 45.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008922/10.83, allocations: 1.446 MB / 4.435 GB, free: 45.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/10.83, allocations: 3.594 kB / 4.435 GB, free: 45.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01086/10.84, allocations: 1.979 MB / 4.436 GB, free: 45.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000591/10.84, allocations: 2.882 MB / 4.439 GB, free: 42.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/10.84, allocations: 7.031 kB / 4.439 GB, free: 42.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/10.84, allocations: 11.19 kB / 4.439 GB, free: 42.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/10.85, allocations: 226.9 kB / 4.44 GB, free: 42.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/10.85, allocations: 17.86 kB / 4.44 GB, free: 42.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/10.85, allocations: 107.7 kB / 4.44 GB, free: 42.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/10.85, allocations: 67.02 kB / 4.44 GB, free: 42.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/10.85, allocations: 6.094 kB / 4.44 GB, free: 42.03 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01032/10.86, allocations: 1.828 MB / 4.442 GB, free: 42.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/10.86, allocations: 9.641 kB / 4.442 GB, free: 42.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/10.86, allocations: 12.44 kB / 4.442 GB, free: 42.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/10.86, allocations: 227 kB / 4.442 GB, free: 42.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/10.86, allocations: 17.5 kB / 4.442 GB, free: 42.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009148/10.86, allocations: 80.98 kB / 4.442 GB, free: 41.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/10.86, allocations: 69.36 kB / 4.442 GB, free: 41.99 MB / 442.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.00028/10.86, allocations: 131.1 kB / 4.442 GB, free: 41.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/10.86, allocations: 71.88 kB / 4.442 GB, free: 41.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/10.86, allocations: 0.9859 MB / 4.443 GB, free: 41.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/10.86, allocations: 7.672 kB / 4.443 GB, free: 41.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.629e-06/10.86, allocations: 3.375 kB / 4.443 GB, free: 41.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.58e-06/10.86, allocations: 0 / 4.443 GB, free: 41.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/10.87, allocations: 1.509 MB / 4.445 GB, free: 41.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.262e-06/10.87, allocations: 2.25 kB / 4.445 GB, free: 41.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/10.87, allocations: 114.1 kB / 4.445 GB, free: 41.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/10.87, allocations: 3.062 kB / 4.445 GB, free: 41.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/10.87, allocations: 10.23 kB / 4.445 GB, free: 41.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.868e-06/10.87, allocations: 8.797 kB / 4.445 GB, free: 41.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.603e-06/10.87, allocations: 5.938 kB / 4.445 GB, free: 41.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/10.87, allocations: 0.9076 MB / 4.446 GB, free: 40.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/10.87, allocations: 188 kB / 4.446 GB, free: 40.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/10.87, allocations: 3.938 kB / 4.446 GB, free: 40.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/10.87, allocations: 38.55 kB / 4.446 GB, free: 40.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/10.87, allocations: 46.53 kB / 4.446 GB, free: 40.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-05/10.87, allocations: 37.09 kB / 4.446 GB, free: 40.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007114/10.87, allocations: 461.4 kB / 4.446 GB, free: 40.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.75e-07/10.87, allocations: 0 / 4.446 GB, free: 40.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004525/10.88, allocations: 1.278 MB / 4.448 GB, free: 40.49 MB / 442.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 (55): * Single equations (assignments): 55 * 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.005242/10.88, allocations: 2.137 MB / 4.45 GB, free: 40.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002399/10.89, allocations: 1.133 MB / 4.451 GB, free: 40.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/10.89, allocations: 0 / 4.451 GB, free: 40.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005302/10.89, allocations: 275.8 kB / 4.451 GB, free: 40.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/10.89, allocations: 322 kB / 4.451 GB, free: 40.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/10.89, allocations: 1.341 MB / 4.453 GB, free: 39.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006366/10.89, allocations: 1.061 MB / 4.454 GB, free: 38.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007976/10.89, allocations: 135.9 kB / 4.454 GB, free: 38.93 MB / 442.7 MB Notification: Performance of SimCode: time 2.177e-06/10.89, allocations: 0 / 4.454 GB, free: 38.93 MB / 442.7 MB Notification: Performance of Templates: time 0.04782/10.94, allocations: 29.05 MB / 4.482 GB, free: 36.73 MB / 442.7 MB