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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.989/1.989, allocations: 209.3 MB / 224.9 MB, free: 188 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.000465, allocations: 12 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2898, allocations: 48.71 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.76/9.049, allocations: 3.653 GB / 3.976 GB, free: 66.36 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/9.05, allocations: 86.52 kB / 3.977 GB, free: 66.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384/11.43, allocations: 471 MB / 4.437 GB, free: 48.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.596e-06/11.43, allocations: 1.219 kB / 4.437 GB, free: 48.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.929e-05/11.43, allocations: 26.39 kB / 4.437 GB, free: 48.05 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.006995/11.44, allocations: 2.053 MB / 4.439 GB, free: 47.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/11.44, allocations: 6.75 kB / 4.439 GB, free: 47.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007763/11.44, allocations: 124.2 kB / 4.439 GB, free: 47.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/11.44, allocations: 0.7691 MB / 4.439 GB, free: 46.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/11.44, allocations: 57.53 kB / 4.439 GB, free: 46.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/11.44, allocations: 77.88 kB / 4.44 GB, free: 46.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/11.45, allocations: 1.231 MB / 4.441 GB, free: 46.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/11.45, allocations: 0 / 4.441 GB, free: 46.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/11.45, allocations: 33.42 kB / 4.441 GB, free: 46.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/11.45, allocations: 79.14 kB / 4.441 GB, free: 46.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/11.45, allocations: 1.378 MB / 4.442 GB, free: 46.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009742/11.46, allocations: 4.464 MB / 4.447 GB, free: 45.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/11.46, allocations: 0.6257 MB / 4.447 GB, free: 44.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007447/11.46, allocations: 0.7835 MB / 4.448 GB, free: 44.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/11.46, allocations: 45.83 kB / 4.448 GB, free: 44.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=54): time 4.095e-06/11.46, allocations: 0 / 4.448 GB, free: 44.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.002528/11.46, allocations: 0.9225 MB / 4.449 GB, free: 44.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/11.46, allocations: 113.6 kB / 4.449 GB, free: 43.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/11.47, allocations: 0.6541 MB / 4.45 GB, free: 43.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001655/11.47, allocations: 43.55 kB / 4.45 GB, free: 43.81 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/11.47, allocations: 0.4893 MB / 4.45 GB, free: 43.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/11.47, allocations: 194.4 kB / 4.45 GB, free: 43.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/11.47, allocations: 15.12 kB / 4.45 GB, free: 43.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/11.47, allocations: 349.6 kB / 4.451 GB, free: 43.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008656/11.47, allocations: 339.5 kB / 4.451 GB, free: 43.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009501/11.47, allocations: 0.5966 MB / 4.452 GB, free: 42.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/11.47, allocations: 440.7 kB / 4.452 GB, free: 42.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.149e-06/11.47, allocations: 3.406 kB / 4.452 GB, free: 42.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002631/11.47, allocations: 1.04 MB / 4.453 GB, free: 42.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005739/11.47, allocations: 2.879 MB / 4.456 GB, free: 39.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/11.47, allocations: 10.31 kB / 4.456 GB, free: 39.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/11.47, allocations: 11.06 kB / 4.456 GB, free: 39.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/11.48, allocations: 227.8 kB / 4.456 GB, free: 39.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/11.48, allocations: 24.75 kB / 4.456 GB, free: 39.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/11.48, allocations: 128.3 kB / 4.456 GB, free: 39.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/11.48, allocations: 67.62 kB / 4.456 GB, free: 39.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/11.48, allocations: 6.781 kB / 4.456 GB, free: 39.66 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002361/11.48, allocations: 0.9525 MB / 4.457 GB, free: 39.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/11.48, allocations: 6.844 kB / 4.457 GB, free: 39.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/11.48, allocations: 13.66 kB / 4.457 GB, free: 39.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/11.48, allocations: 225.3 kB / 4.457 GB, free: 39.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/11.48, allocations: 18.14 kB / 4.458 GB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/11.48, allocations: 97.56 kB / 4.458 GB, free: 39.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/11.48, allocations: 66.56 kB / 4.458 GB, free: 39.55 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.0007033/11.48, allocations: 371.7 kB / 4.458 GB, free: 39.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/11.48, allocations: 83.45 kB / 4.458 GB, free: 39.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/11.49, allocations: 1.059 MB / 4.459 GB, free: 39.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/11.49, allocations: 10.84 kB / 4.459 GB, free: 39.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.161e-06/11.49, allocations: 0 / 4.459 GB, free: 39.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/11.49, allocations: 3.844 kB / 4.459 GB, free: 39.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/11.49, allocations: 1.699 MB / 4.461 GB, free: 38.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.441e-06/11.49, allocations: 3.312 kB / 4.461 GB, free: 38.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007647/11.49, allocations: 128.3 kB / 4.461 GB, free: 38.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/11.49, allocations: 4.844 kB / 4.461 GB, free: 38.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/11.49, allocations: 22.5 kB / 4.461 GB, free: 38.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/11.49, allocations: 13.56 kB / 4.461 GB, free: 38.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.256e-06/11.49, allocations: 2.906 kB / 4.461 GB, free: 38.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/11.49, allocations: 0.9589 MB / 4.462 GB, free: 38.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/11.49, allocations: 182.9 kB / 4.462 GB, free: 38.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/11.49, allocations: 22.61 kB / 4.462 GB, free: 38.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/11.49, allocations: 43.11 kB / 4.462 GB, free: 38.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/11.49, allocations: 53.81 kB / 4.462 GB, free: 38.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/11.49, allocations: 36.5 kB / 4.462 GB, free: 38.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008533/11.49, allocations: 0.5069 MB / 4.463 GB, free: 38.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.14e-07/11.49, allocations: 0 / 4.463 GB, free: 38.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004491/11.5, allocations: 1.329 MB / 4.464 GB, free: 37.84 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.005244/11.5, allocations: 1.97 MB / 4.466 GB, free: 37.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00312/11.51, allocations: 1.3 MB / 4.467 GB, free: 37.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.047e-06/11.51, allocations: 0 / 4.467 GB, free: 37.31 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008229/11.51, allocations: 358.1 kB / 4.468 GB, free: 37.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/11.51, allocations: 364 kB / 4.468 GB, free: 37.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/11.51, allocations: 2.146 MB / 4.47 GB, free: 36.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/11.52, allocations: 1.069 MB / 4.471 GB, free: 35.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008582/11.52, allocations: 139.2 kB / 4.471 GB, free: 35.64 MB / 442.7 MB Notification: Performance of SimCode: time 2.11e-06/11.52, allocations: 0 / 4.471 GB, free: 35.64 MB / 442.7 MB Notification: Performance of Templates: time 0.04769/11.56, allocations: 29.29 MB / 4.5 GB, free: 32.69 MB / 442.7 MB