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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.114/2.114, allocations: 234.9 MB / 250.5 MB, free: 9.602 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004393, allocations: 15.98 kB / 314.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2863, allocations: 54.87 MB / 369.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5518/0.8381, allocations: 170.8 MB / 0.5273 GB, free: 2.051 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01581/0.854, allocations: 11.25 MB / 0.5383 GB, free: 1.895 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.8551, allocations: 36.41 kB / 0.5384 GB, free: 1.895 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.8563, allocations: 383 kB / 0.5387 GB, free: 1.891 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007688/0.864, allocations: 2.328 MB / 0.541 GB, free: 1.859 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009317/0.8734, allocations: 2.909 MB / 0.5438 GB, free: 1.809 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002592/0.876, allocations: 1.581 MB / 0.5454 GB, free: 1.809 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009952/0.877, allocations: 0.621 MB / 0.546 GB, free: 1.727 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.8789, allocations: 0.869 MB / 0.5468 GB, free: 1.641 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.8804, allocations: 0.8045 MB / 0.5476 GB, free: 1.457 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.8806, allocations: 52.34 kB / 0.5477 GB, free: 1.457 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.8954, allocations: 6.801 MB / 0.5543 GB, free: 0 / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.8968, allocations: 407.1 kB / 0.5547 GB, free: 0 / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004524/0.8972, allocations: 236.3 kB / 0.5549 GB, free: 15.96 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008374/0.9056, allocations: 3.395 MB / 0.5582 GB, free: 14.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.525e-06/0.9057, allocations: 3.25 kB / 0.5582 GB, free: 14.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.764e-06/0.9057, allocations: 4 kB / 0.5582 GB, free: 14.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.9057, allocations: 0 / 0.5582 GB, free: 14.57 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.005651/0.9114, allocations: 1.961 MB / 0.5602 GB, free: 13.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.9114, allocations: 12.53 kB / 0.5602 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006406/0.9121, allocations: 116.8 kB / 0.5603 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.9136, allocations: 0.7012 MB / 0.561 GB, free: 12.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.9137, allocations: 57.47 kB / 0.561 GB, free: 12.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.9139, allocations: 72.02 kB / 0.5611 GB, free: 12.81 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.9165, allocations: 1.255 MB / 0.5623 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.9165, allocations: 0 / 0.5623 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.9167, allocations: 31.77 kB / 0.5623 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/0.9168, allocations: 79.94 kB / 0.5624 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/0.9197, allocations: 1.405 MB / 0.5638 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.9302, allocations: 4.699 MB / 0.5684 GB, free: 8.531 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.9321, allocations: 0.6693 MB / 0.569 GB, free: 8.082 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.9331, allocations: 0.7833 MB / 0.5698 GB, free: 7.184 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.9332, allocations: 44.98 kB / 0.5698 GB, free: 7.137 MB / 442.7 MB Notification: Performance of pre-optimization done (n=54): time 3.775e-06/0.9332, allocations: 0 / 0.5698 GB, free: 7.137 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.002692/0.9359, allocations: 0.9756 MB / 0.5708 GB, free: 6.438 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.517e-05/0.936, allocations: 107.2 kB / 0.5709 GB, free: 6.309 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.9373, allocations: 0.7342 MB / 0.5716 GB, free: 5.746 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-05/0.9374, allocations: 36.64 kB / 0.5717 GB, free: 5.711 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/0.9379, allocations: 0.5078 MB / 0.5722 GB, free: 5.312 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.9381, allocations: 186 kB / 0.5723 GB, free: 5.156 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.9382, allocations: 20.25 kB / 0.5723 GB, free: 5.152 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.9384, allocations: 347.8 kB / 0.5727 GB, free: 4.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009288/0.9394, allocations: 359.8 kB / 0.573 GB, free: 4.582 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.9405, allocations: 0.6179 MB / 0.5736 GB, free: 3.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.9416, allocations: 471.7 kB / 0.5741 GB, free: 3.707 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.737e-06/0.9417, allocations: 0 / 0.5741 GB, free: 3.707 MB / 442.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00279/0.9445, allocations: 1.079 MB / 0.5751 GB, free: 2.969 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002797/0.9448, allocations: 325 kB / 0.5754 GB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.9448, allocations: 8 kB / 0.5754 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/0.9448, allocations: 16 kB / 0.5755 GB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.946, allocations: 232.5 kB / 0.5757 GB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.687e-05/0.9461, allocations: 22.89 kB / 0.5757 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.9471, allocations: 127.1 kB / 0.5758 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.9473, allocations: 65.91 kB / 0.5759 GB, free: 2.152 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.9473, allocations: 8 kB / 0.5759 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002485/0.9498, allocations: 0.9914 MB / 0.5769 GB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.9499, allocations: 12 kB / 0.5769 GB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.9499, allocations: 12 kB / 0.5769 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.9511, allocations: 231 kB / 0.5771 GB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.704e-05/0.9511, allocations: 18.89 kB / 0.5771 GB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000783/0.9519, allocations: 102.2 kB / 0.5772 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.9521, allocations: 70.42 kB / 0.5773 GB, free: 1.109 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (112): * Single equations (assignments): 112 * 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.0007099/0.9528, allocations: 369.4 kB / 0.5776 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.9531, allocations: 82.97 kB / 0.5777 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.9563, allocations: 1.095 MB / 0.5788 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.9563, allocations: 4 kB / 0.5788 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.814e-06/0.9563, allocations: 4 kB / 0.5788 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.9564, allocations: 7.984 kB / 0.5788 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.9601, allocations: 1.748 MB / 0.5805 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.699e-06/0.9601, allocations: 0 / 0.5805 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000721/0.9609, allocations: 135.8 kB / 0.5806 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.9609, allocations: 5.75 kB / 0.5807 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.952e-05/0.961, allocations: 22.48 kB / 0.5807 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.873e-06/0.961, allocations: 4 kB / 0.5807 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.961, allocations: 8.25 kB / 0.5807 GB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.9631, allocations: 0.8995 MB / 0.5816 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/0.9634, allocations: 178.9 kB / 0.5817 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.9636, allocations: 18.5 kB / 0.5818 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006816/0.9643, allocations: 41.23 kB / 0.5818 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.9645, allocations: 50.23 kB / 0.5818 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.9646, allocations: 39.23 kB / 0.5819 GB, free: 13.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009327/0.9656, allocations: 0.5133 MB / 0.5824 GB, free: 13.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.9656, allocations: 0 / 0.5824 GB, free: 13.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003744/0.9693, allocations: 1.156 MB / 0.5835 GB, free: 11.96 MB / 458.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.003631/0.973, allocations: 1.146 MB / 0.5846 GB, free: 10.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003421/0.9764, allocations: 1.354 MB / 0.5859 GB, free: 9.992 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.736e-06/0.9765, allocations: 6.906 kB / 0.586 GB, free: 9.988 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008789/0.9774, allocations: 368.4 kB / 0.5863 GB, free: 9.746 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.9794, allocations: 353.2 kB / 0.5866 GB, free: 9.465 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.9833, allocations: 2.025 MB / 0.5886 GB, free: 7.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00098/0.9843, allocations: 1.066 MB / 0.5897 GB, free: 6.527 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008326/0.9852, allocations: 148.4 kB / 0.5898 GB, free: 6.395 MB / 458.7 MB Notification: Performance of SimCode: time 1.594e-06/0.9852, allocations: 4 kB / 0.5898 GB, free: 6.391 MB / 458.7 MB Notification: Performance of Templates: time 0.05175/1.037, allocations: 26.21 MB / 0.6154 GB, free: 12.39 MB / 490.7 MB