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.868/1.868, allocations: 209.3 MB / 222.4 MB, free: 7.715 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.815e-05/2.843e-05, allocations: 0 / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.02/9.138, allocations: 3.653 GB / 3.972 GB, free: 41.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004006/9.138, allocations: 82.58 kB / 3.972 GB, free: 41.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.383/11.52, allocations: 470.2 MB / 4.431 GB, free: 55.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.291e-06/11.52, allocations: 0 / 4.431 GB, free: 55.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.532e-05/11.52, allocations: 26.52 kB / 4.431 GB, free: 55.78 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.006791/11.53, allocations: 1.935 MB / 4.433 GB, free: 54.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/11.53, allocations: 6.938 kB / 4.433 GB, free: 54.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007859/11.53, allocations: 122.7 kB / 4.433 GB, free: 54.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/11.53, allocations: 0.7764 MB / 4.434 GB, free: 54.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/11.53, allocations: 56 kB / 4.434 GB, free: 54.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/11.53, allocations: 75.39 kB / 4.434 GB, free: 54.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/11.53, allocations: 1.203 MB / 4.435 GB, free: 54.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/11.53, allocations: 1.453 kB / 4.435 GB, free: 54.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/11.53, allocations: 32.59 kB / 4.435 GB, free: 54.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/11.54, allocations: 72.5 kB / 4.435 GB, free: 54.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/11.54, allocations: 1.327 MB / 4.437 GB, free: 54.28 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/11.55, allocations: 4.463 MB / 4.441 GB, free: 52.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/11.55, allocations: 0.6003 MB / 4.441 GB, free: 52.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005991/11.55, allocations: 284.1 kB / 4.442 GB, free: 52.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008158/11.55, allocations: 0.7921 MB / 4.442 GB, free: 51.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/11.55, allocations: 39.5 kB / 4.443 GB, free: 51.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=54): time 4.247e-06/11.55, allocations: 0 / 4.443 GB, free: 51.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.001701/11.55, allocations: 0.6365 MB / 4.443 GB, free: 51.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/11.55, allocations: 116 kB / 4.443 GB, free: 51.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/11.55, allocations: 0.6403 MB / 4.444 GB, free: 51.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.118e-05/11.55, allocations: 36.67 kB / 4.444 GB, free: 51.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/11.55, allocations: 0.4957 MB / 4.444 GB, free: 50.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/11.55, allocations: 194 kB / 4.445 GB, free: 50.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/11.55, allocations: 21.69 kB / 4.445 GB, free: 50.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.61e-05/11.55, allocations: 349.8 kB / 4.445 GB, free: 50.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00075/11.56, allocations: 320.2 kB / 4.445 GB, free: 50.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009109/11.56, allocations: 0.5584 MB / 4.446 GB, free: 50.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008938/11.56, allocations: 418.9 kB / 4.446 GB, free: 50.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.129e-06/11.56, allocations: 2.594 kB / 4.446 GB, free: 50.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002373/11.56, allocations: 0.991 MB / 4.447 GB, free: 49.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005734/11.56, allocations: 2.878 MB / 4.45 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/11.56, allocations: 7.781 kB / 4.45 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/11.56, allocations: 17.34 kB / 4.45 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/11.56, allocations: 224.8 kB / 4.45 GB, free: 46.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/11.56, allocations: 17.61 kB / 4.45 GB, free: 46.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/11.56, allocations: 130.9 kB / 4.45 GB, free: 46.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/11.56, allocations: 66.39 kB / 4.45 GB, free: 46.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/11.56, allocations: 3.844 kB / 4.45 GB, free: 46.59 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002113/11.57, allocations: 0.9043 MB / 4.451 GB, free: 46.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/11.57, allocations: 7.688 kB / 4.451 GB, free: 46.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/11.57, allocations: 15.91 kB / 4.451 GB, free: 46.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/11.57, allocations: 225.2 kB / 4.452 GB, free: 46.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/11.57, allocations: 11.62 kB / 4.452 GB, free: 46.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009139/11.57, allocations: 104.5 kB / 4.452 GB, free: 46.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/11.57, allocations: 72.84 kB / 4.452 GB, free: 46.18 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.0002934/11.57, allocations: 156.2 kB / 4.452 GB, free: 46.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/11.57, allocations: 76.69 kB / 4.452 GB, free: 45.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/11.57, allocations: 1.008 MB / 4.453 GB, free: 45.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.822e-06/11.57, allocations: 7.156 kB / 4.453 GB, free: 45.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.688e-06/11.57, allocations: 2.656 kB / 4.453 GB, free: 45.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/11.57, allocations: 5.531 kB / 4.453 GB, free: 45.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/11.57, allocations: 1.66 MB / 4.455 GB, free: 44.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/11.57, allocations: 0 / 4.455 GB, free: 44.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006821/11.58, allocations: 132.9 kB / 4.455 GB, free: 44.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/11.58, allocations: 6.922 kB / 4.455 GB, free: 44.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.671e-05/11.58, allocations: 25.17 kB / 4.455 GB, free: 44.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.777e-06/11.58, allocations: 7.156 kB / 4.455 GB, free: 44.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/11.58, allocations: 3.844 kB / 4.455 GB, free: 44.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/11.58, allocations: 0.9209 MB / 4.456 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/11.58, allocations: 184.8 kB / 4.456 GB, free: 43.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/11.58, allocations: 15.5 kB / 4.456 GB, free: 43.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007196/11.58, allocations: 50.61 kB / 4.456 GB, free: 43.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/11.58, allocations: 51.98 kB / 4.456 GB, free: 43.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/11.58, allocations: 44.11 kB / 4.456 GB, free: 43.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008203/11.58, allocations: 0.4976 MB / 4.456 GB, free: 43.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.78e-07/11.58, allocations: 5.281 kB / 4.456 GB, free: 43.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004431/11.58, allocations: 1.325 MB / 4.458 GB, free: 43.3 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 (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.005267/11.59, allocations: 1.966 MB / 4.46 GB, free: 42.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002794/11.59, allocations: 1.23 MB / 4.461 GB, free: 42.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.98e-06/11.59, allocations: 0 / 4.461 GB, free: 42.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006781/11.59, allocations: 332.5 kB / 4.461 GB, free: 41.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/11.59, allocations: 360.6 kB / 4.462 GB, free: 41.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/11.6, allocations: 1.4 MB / 4.463 GB, free: 40.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/11.6, allocations: 1.067 MB / 4.464 GB, free: 39.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008134/11.6, allocations: 145.8 kB / 4.464 GB, free: 39.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.688e-06/11.6, allocations: 0 / 4.464 GB, free: 39.35 MB / 442.7 MB Notification: Performance of Templates: time 0.04575/11.65, allocations: 29.18 MB / 4.493 GB, free: 12.89 MB / 442.7 MB