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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.218/2.218, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.274e-05/1.281e-05, allocations: 0 / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2703, allocations: 54.86 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.835/9.106, allocations: 3.659 GB / 4.009 GB, free: 120.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/9.106, allocations: 81.03 kB / 4.009 GB, free: 120.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.009/11.11, allocations: 467 MB / 4.465 GB, free: 36.31 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.011e-06/11.12, allocations: 0 / 4.465 GB, free: 36.31 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.109e-05/11.12, allocations: 22.89 kB / 4.465 GB, free: 36.29 MB / 474.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.006342/11.12, allocations: 1.936 MB / 4.467 GB, free: 34.31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/11.12, allocations: 12.03 kB / 4.467 GB, free: 34.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007182/11.12, allocations: 130.6 kB / 4.467 GB, free: 34.17 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/11.12, allocations: 0.7787 MB / 4.467 GB, free: 33.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/11.12, allocations: 24 kB / 4.468 GB, free: 33.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/11.12, allocations: 40 kB / 4.468 GB, free: 33.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002424/11.13, allocations: 1.21 MB / 4.469 GB, free: 32.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/11.13, allocations: 1.098 MB / 4.47 GB, free: 30.97 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/11.13, allocations: 3.938 kB / 4.47 GB, free: 30.96 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/11.13, allocations: 4 kB / 4.47 GB, free: 30.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/11.13, allocations: 73.91 kB / 4.47 GB, free: 30.89 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009151/11.14, allocations: 4.487 MB / 4.474 GB, free: 26.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/11.14, allocations: 0.5704 MB / 4.475 GB, free: 25.53 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/11.14, allocations: 266.1 kB / 4.475 GB, free: 25.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007167/11.14, allocations: 0.7467 MB / 4.476 GB, free: 24.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/11.14, allocations: 42.94 kB / 4.476 GB, free: 24.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=52): time 4.078e-06/11.14, allocations: 4 kB / 4.476 GB, free: 24.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.002835/11.14, allocations: 0.7215 MB / 4.477 GB, free: 23.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/11.14, allocations: 111.2 kB / 4.477 GB, free: 23.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008666/11.15, allocations: 0.5737 MB / 4.477 GB, free: 22.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.762e-05/11.15, allocations: 29.7 kB / 4.477 GB, free: 22.85 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/11.15, allocations: 0.5082 MB / 4.478 GB, free: 22.33 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/11.15, allocations: 173.4 kB / 4.478 GB, free: 22.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/11.15, allocations: 4 kB / 4.478 GB, free: 22.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.289e-05/11.15, allocations: 350.8 kB / 4.478 GB, free: 21.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000598/11.15, allocations: 310.5 kB / 4.479 GB, free: 21.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007044/11.15, allocations: 0.5441 MB / 4.479 GB, free: 20.85 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008062/11.16, allocations: 1.449 MB / 4.48 GB, free: 19.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.887e-05/11.16, allocations: 4 kB / 4.48 GB, free: 19.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01053/11.17, allocations: 1.977 MB / 4.482 GB, free: 17.42 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005849/11.17, allocations: 2.875 MB / 4.485 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/11.17, allocations: 4 kB / 4.485 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/11.17, allocations: 16 kB / 4.485 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/11.17, allocations: 235.7 kB / 4.485 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/11.17, allocations: 11.94 kB / 4.485 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/11.17, allocations: 106.9 kB / 4.486 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/11.17, allocations: 71.97 kB / 4.486 GB, free: 13.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/11.17, allocations: 4 kB / 4.486 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009623/11.18, allocations: 1.827 MB / 4.487 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/11.18, allocations: 8 kB / 4.487 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/11.18, allocations: 19.89 kB / 4.487 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/11.18, allocations: 227.7 kB / 4.488 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/11.18, allocations: 16.5 kB / 4.488 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008308/11.18, allocations: 83.33 kB / 4.488 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/11.18, allocations: 63.98 kB / 4.488 GB, free: 11.64 MB / 474.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.0002714/11.18, allocations: 134.7 kB / 4.488 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/11.18, allocations: 79.06 kB / 4.488 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/11.18, allocations: 0.9832 MB / 4.489 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.687e-06/11.18, allocations: 7.953 kB / 4.489 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/11.18, allocations: 0 / 4.489 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/11.18, allocations: 3.984 kB / 4.489 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003688/11.19, allocations: 1.509 MB / 4.49 GB, free: 8.836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.918e-06/11.19, allocations: 4 kB / 4.49 GB, free: 8.832 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/11.19, allocations: 111.9 kB / 4.491 GB, free: 8.723 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/11.19, allocations: 4 kB / 4.491 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/11.19, allocations: 12.25 kB / 4.491 GB, free: 8.707 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.413e-06/11.19, allocations: 15.92 kB / 4.491 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.009e-06/11.19, allocations: 4 kB / 4.491 GB, free: 8.688 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/11.19, allocations: 0.8965 MB / 4.492 GB, free: 7.699 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/11.19, allocations: 188 kB / 4.492 GB, free: 7.496 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/11.19, allocations: 7.984 kB / 4.492 GB, free: 7.488 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000816/11.19, allocations: 39.81 kB / 4.492 GB, free: 7.449 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/11.19, allocations: 44.33 kB / 4.492 GB, free: 7.406 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.673e-05/11.19, allocations: 39.92 kB / 4.492 GB, free: 7.367 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007058/11.19, allocations: 463.1 kB / 4.492 GB, free: 6.918 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.84e-07/11.19, allocations: 0 / 4.492 GB, free: 6.918 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004303/11.2, allocations: 1.267 MB / 4.493 GB, free: 5.648 MB / 474.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.005419/11.2, allocations: 2.139 MB / 4.496 GB, free: 3.707 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002429/11.21, allocations: 1.14 MB / 4.497 GB, free: 2.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/11.21, allocations: 0 / 4.497 GB, free: 2.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005306/11.21, allocations: 269.5 kB / 4.497 GB, free: 2.309 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/11.21, allocations: 314.5 kB / 4.497 GB, free: 2.004 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/11.21, allocations: 1.344 MB / 4.499 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/11.21, allocations: 1.07 MB / 4.5 GB, free: 15.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008297/11.21, allocations: 135.3 kB / 4.5 GB, free: 15.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.796e-06/11.21, allocations: 4 kB / 4.5 GB, free: 15.37 MB / 490.7 MB Notification: Performance of Templates: time 0.3532/11.57, allocations: 29.04 MB / 4.528 GB, free: 66.73 MB / 490.7 MB