Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 2.136/2.136, allocations: 209.2 MB / 225.4 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004321, allocations: 8 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4044, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.73/11.14, allocations: 3.653 GB / 3.977 GB, free: 96.86 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/11.14, allocations: 87.89 kB / 3.977 GB, free: 96.81 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.757/13.89, allocations: 471 MB / 4.437 GB, free: 42.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.074e-06/13.89, allocations: 4.734 kB / 4.437 GB, free: 42.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.185e-05/13.89, allocations: 28.42 kB / 4.437 GB, free: 42.56 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.008299/13.9, allocations: 2.055 MB / 4.439 GB, free: 41.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/13.9, allocations: 7.375 kB / 4.439 GB, free: 41.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006882/13.9, allocations: 119.4 kB / 4.439 GB, free: 41.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/13.9, allocations: 0.7696 MB / 4.44 GB, free: 41.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/13.9, allocations: 63.36 kB / 4.44 GB, free: 41.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/13.9, allocations: 74.42 kB / 4.44 GB, free: 41.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003068/13.91, allocations: 1.237 MB / 4.441 GB, free: 41.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/13.91, allocations: 3.875 kB / 4.441 GB, free: 41.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/13.91, allocations: 32.09 kB / 4.441 GB, free: 41.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/13.91, allocations: 74.78 kB / 4.441 GB, free: 41.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003375/13.91, allocations: 1.378 MB / 4.443 GB, free: 41.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/13.92, allocations: 4.465 MB / 4.447 GB, free: 39.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/13.93, allocations: 0.6279 MB / 4.448 GB, free: 39.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008972/13.93, allocations: 0.7863 MB / 4.448 GB, free: 38.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/13.93, allocations: 40.59 kB / 4.449 GB, free: 38.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=54): time 3.587e-06/13.93, allocations: 0 / 4.449 GB, free: 38.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.002945/13.93, allocations: 0.9212 MB / 4.449 GB, free: 38.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/13.93, allocations: 113.1 kB / 4.45 GB, free: 38.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/13.93, allocations: 0.7403 MB / 4.45 GB, free: 38.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.748e-05/13.93, allocations: 36.83 kB / 4.45 GB, free: 38.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/13.93, allocations: 0.4902 MB / 4.451 GB, free: 38.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/13.93, allocations: 196.2 kB / 4.451 GB, free: 38.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/13.93, allocations: 19.19 kB / 4.451 GB, free: 38.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.932e-05/13.93, allocations: 344.4 kB / 4.451 GB, free: 37.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/13.93, allocations: 345 kB / 4.452 GB, free: 37.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/13.93, allocations: 0.5829 MB / 4.452 GB, free: 37.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/13.93, allocations: 441.1 kB / 4.453 GB, free: 37.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/13.93, allocations: 6.844 kB / 4.453 GB, free: 37.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002891/13.94, allocations: 1.04 MB / 4.454 GB, free: 37.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/13.94, allocations: 305.4 kB / 4.454 GB, free: 37.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/13.94, allocations: 9.5 kB / 4.454 GB, free: 37.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-05/13.94, allocations: 18.52 kB / 4.454 GB, free: 37.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/13.94, allocations: 228.7 kB / 4.454 GB, free: 37.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/13.94, allocations: 15.06 kB / 4.454 GB, free: 37.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/13.94, allocations: 136.9 kB / 4.454 GB, free: 37.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/13.94, allocations: 64.88 kB / 4.454 GB, free: 37.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/13.94, allocations: 3.375 kB / 4.454 GB, free: 37.05 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002698/13.94, allocations: 0.9536 MB / 4.455 GB, free: 37.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/13.94, allocations: 7.703 kB / 4.455 GB, free: 37.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/13.94, allocations: 14.84 kB / 4.455 GB, free: 37.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/13.95, allocations: 224.6 kB / 4.456 GB, free: 37.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.183e-05/13.95, allocations: 18.52 kB / 4.456 GB, free: 37.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/13.95, allocations: 95.48 kB / 4.456 GB, free: 37.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/13.95, allocations: 64.17 kB / 4.456 GB, free: 37.02 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 () * 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.0007787/13.95, allocations: 376.3 kB / 4.456 GB, free: 36.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/13.95, allocations: 83.38 kB / 4.456 GB, free: 36.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/13.95, allocations: 1.055 MB / 4.457 GB, free: 36.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/13.95, allocations: 7.375 kB / 4.457 GB, free: 36.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/13.95, allocations: 0 / 4.457 GB, free: 36.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/13.95, allocations: 3.703 kB / 4.457 GB, free: 36.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/13.96, allocations: 1.698 MB / 4.459 GB, free: 36.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/13.96, allocations: 5.375 kB / 4.459 GB, free: 36.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009925/13.96, allocations: 132.3 kB / 4.459 GB, free: 36.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/13.96, allocations: 5.906 kB / 4.459 GB, free: 36.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/13.96, allocations: 19.42 kB / 4.459 GB, free: 36.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/13.96, allocations: 7.547 kB / 4.459 GB, free: 36.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/13.96, allocations: 4.156 kB / 4.459 GB, free: 36.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/13.96, allocations: 0.8755 MB / 4.46 GB, free: 36.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/13.96, allocations: 182.7 kB / 4.46 GB, free: 35.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/13.96, allocations: 11.41 kB / 4.46 GB, free: 35.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009292/13.96, allocations: 46.55 kB / 4.46 GB, free: 35.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/13.96, allocations: 55.27 kB / 4.46 GB, free: 35.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/13.96, allocations: 44.09 kB / 4.46 GB, free: 35.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009265/13.96, allocations: 0.5034 MB / 4.461 GB, free: 35.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/13.96, allocations: 0 / 4.461 GB, free: 35.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00523/13.97, allocations: 1.341 MB / 4.462 GB, free: 35.59 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 () * 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.006183/13.97, allocations: 1.966 MB / 4.464 GB, free: 35.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00393/13.98, allocations: 1.294 MB / 4.465 GB, free: 35.13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/13.98, allocations: 1.156 kB / 4.465 GB, free: 35.13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000983/13.98, allocations: 358.9 kB / 4.466 GB, free: 35.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/13.98, allocations: 349.4 kB / 4.466 GB, free: 35.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/13.99, allocations: 2.147 MB / 4.468 GB, free: 34.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/13.99, allocations: 1.067 MB / 4.469 GB, free: 33.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/13.99, allocations: 144.5 kB / 4.469 GB, free: 33.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/13.99, allocations: 0 / 4.469 GB, free: 33.5 MB / 442.7 MB Notification: Performance of Templates: time 0.06313/14.05, allocations: 29.31 MB / 4.498 GB, free: 31.39 MB / 442.7 MB