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.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.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.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.1..Xi.1.|pipe1.mediums.1..p|pipe1.mediums.2..T|pipe1.mediums.2..Xi.1.|pipe1.mediums.2..p|pipe1.mediums.3..T|pipe1.mediums.3..Xi.1.|pipe1.mediums.3..p|pipe1.mediums.4..T|pipe1.mediums.4..Xi.1.|pipe1.mediums.4..p|pipe1.mediums.5..T|pipe1.mediums.5..Xi.1.|pipe1.mediums.5..p|pipe2.mediums.1..T|pipe2.mediums.1..Xi.1.|pipe2.mediums.1..p|pipe2.mediums.2..T|pipe2.mediums.2..Xi.1.|pipe2.mediums.2..p|pipe2.mediums.3..T|pipe2.mediums.3..Xi.1.|pipe2.mediums.3..p|pipe2.mediums.4..T|pipe2.mediums.4..Xi.1.|pipe2.mediums.4..p|pipe2.mediums.5..T|pipe2.mediums.5..Xi.1.|pipe2.mediums.5..p|pipe3.mediums.1..T|pipe3.mediums.1..Xi.1.|pipe3.mediums.1..p|pipe3.mediums.2..T|pipe3.mediums.2..Xi.1.|pipe3.mediums.2..p|pipe3.mediums.3..T|pipe3.mediums.3..Xi.1.|pipe3.mediums.3..p|pipe3.mediums.4..T|pipe3.mediums.4..Xi.1.|pipe3.mediums.4..p|pipe3.mediums.5..T|pipe3.mediums.5..Xi.1.|pipe3.mediums.5..p|pipe4.mediums.1..T|pipe4.mediums.1..Xi.1.|pipe4.mediums.1..p|pipe4.mediums.2..T|pipe4.mediums.2..Xi.1.|pipe4.mediums.2..p|pipe4.mediums.3..T|pipe4.mediums.3..Xi.1.|pipe4.mediums.3..p|pipe4.mediums.4..T|pipe4.mediums.4..Xi.1.|pipe4.mediums.4..p|pipe4.mediums.5..T|pipe4.mediums.5..Xi.1.|pipe4.mediums.5..p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadModel(ModelicaTest): time 1.843/1.843, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/3.014e-05, allocations: 8 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08702/0.08707, allocations: 48.69 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.86/8.947, allocations: 3.673 GB / 3.992 GB, free: 17.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/8.947, allocations: 76.66 kB / 3.992 GB, free: 17.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.116/14.06, allocations: 0.9642 GB / 4.956 GB, free: 23.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.098e-06/14.06, allocations: 0 / 4.956 GB, free: 23.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004998/14.06, allocations: 155.5 kB / 4.956 GB, free: 23.36 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.04368/14.11, allocations: 9.637 MB / 4.966 GB, free: 19.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/14.11, allocations: 9.5 kB / 4.966 GB, free: 19.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007547/14.12, allocations: 0.8501 MB / 4.967 GB, free: 19.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02052/14.14, allocations: 5.752 MB / 4.972 GB, free: 18.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008997/14.14, allocations: 0.5236 MB / 4.973 GB, free: 18.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004575/14.14, allocations: 0.6947 MB / 4.973 GB, free: 18.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04125/14.18, allocations: 13.83 MB / 4.987 GB, free: 17.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004906/14.18, allocations: 20.59 kB / 4.987 GB, free: 17.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004229/14.19, allocations: 289.4 kB / 4.987 GB, free: 17.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008888/14.19, allocations: 0.7029 MB / 4.988 GB, free: 17.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04148/14.23, allocations: 16.19 MB / 5.004 GB, free: 17.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1128/14.34, allocations: 42.16 MB / 5.045 GB, free: 1.504 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05313/14.4, allocations: 11.99 MB / 5.057 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01749/14.41, allocations: 7.112 MB / 5.064 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006036/14.42, allocations: 4.174 MB / 5.068 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/14.42, allocations: 142.2 kB / 5.068 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007412/14.43, allocations: 0.8532 MB / 5.069 GB, free: 140 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=882): time 3.375e-05/14.43, allocations: 0 / 5.069 GB, free: 140 kB / 0.4948 GB Notification: Performance of matching and sorting (n=1122): time 0.714/15.14, allocations: 83.73 MB / 5.15 GB, free: 36.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/15.14, allocations: 166.3 kB / 5.151 GB, free: 36.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007882/15.15, allocations: 3.333 MB / 5.154 GB, free: 36.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.003597/15.15, allocations: 230.2 kB / 5.154 GB, free: 36.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/15.15, allocations: 2.226 MB / 5.156 GB, free: 35.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006321/15.16, allocations: 3.896 MB / 5.16 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003544/15.16, allocations: 218.9 kB / 5.16 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001189/15.17, allocations: 0.7559 MB / 5.161 GB, free: 33.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02038/15.19, allocations: 8.731 MB / 5.169 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0227/15.21, allocations: 10.19 MB / 5.179 GB, free: 31.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02258/15.23, allocations: 9.81 MB / 5.189 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.056e-05/15.23, allocations: 11.5 kB / 5.189 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.09111/15.32, allocations: 28.31 MB / 5.217 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00399/15.33, allocations: 11.88 MB / 5.228 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002623/15.33, allocations: 28 kB / 5.228 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.772/16.1, allocations: 76.85 MB / 5.303 GB, free: 57.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006452/16.11, allocations: 1.072 MB / 5.304 GB, free: 57.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08166/16.19, allocations: 31.55 MB / 5.335 GB, free: 56.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01852/16.21, allocations: 1.784 MB / 5.337 GB, free: 56.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004372/16.21, allocations: 0.5936 MB / 5.338 GB, free: 56.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/16.21, allocations: 4.469 kB / 5.338 GB, free: 56.22 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07518/16.29, allocations: 26.98 MB / 5.364 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/16.29, allocations: 31.14 kB / 5.364 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2793/16.57, allocations: 52.74 MB / 5.415 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006888/16.57, allocations: 1.173 MB / 5.417 GB, free: 35.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06895/16.64, allocations: 28.47 MB / 5.444 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01633/16.66, allocations: 1.754 MB / 5.446 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004282/16.66, allocations: 0.5794 MB / 5.447 GB, free: 13.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 587 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {72 716} Notification: Performance of prepare postOptimizeDAE: time 0.00726/16.67, allocations: 0.6025 MB / 5.447 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004834/16.67, allocations: 0.6422 MB / 5.448 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4754/17.15, allocations: 28.96 MB / 5.476 GB, free: 60.94 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001287/17.15, allocations: 119 kB / 5.476 GB, free: 60.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.18e-05/17.15, allocations: 0 / 5.476 GB, free: 60.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0562/17.21, allocations: 20.43 MB / 5.496 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1178/17.32, allocations: 41.34 MB / 5.537 GB, free: 58.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001386/17.32, allocations: 0 / 5.537 GB, free: 58.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01646/17.34, allocations: 2.136 MB / 5.539 GB, free: 58.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05368/17.39, allocations: 11.69 MB / 5.55 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004244/17.4, allocations: 0.6052 MB / 5.551 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03492/17.43, allocations: 30.03 MB / 5.58 GB, free: 40.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/17.43, allocations: 2.297 kB / 5.58 GB, free: 40.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09717/17.53, allocations: 35.14 MB / 5.614 GB, free: 30.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002906/17.53, allocations: 0.7872 MB / 5.615 GB, free: 30.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005086/17.54, allocations: 462.3 kB / 5.616 GB, free: 29.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01601/17.56, allocations: 1.447 MB / 5.617 GB, free: 29.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003872/17.56, allocations: 0.7598 MB / 5.618 GB, free: 29.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003877/17.56, allocations: 0.5557 MB / 5.618 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005716/17.57, allocations: 2.514 MB / 5.621 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.75e-07/17.57, allocations: 0 / 5.621 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.03174/17.6, allocations: 6.9 MB / 5.627 GB, free: 25.08 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1057): * Single equations (assignments): 1030 * 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: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,4 20,2 6,2 6,2 6,2 6,2 6,2 6,4 20,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01545/17.62, allocations: 3.952 MB / 5.631 GB, free: 22.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1072/17.72, allocations: 34.16 MB / 5.665 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.655e-05/17.72, allocations: 8.781 kB / 5.665 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03286/17.76, allocations: 11.49 MB / 5.676 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02137/17.78, allocations: 3.067 MB / 5.679 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4562/18.23, allocations: 26.64 MB / 5.705 GB, free: 69.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01153/18.25, allocations: 5.204 MB / 5.71 GB, free: 68.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008059/18.25, allocations: 0.8163 MB / 5.711 GB, free: 68.59 MB / 0.5417 GB Notification: Performance of SimCode: time 2.117e-06/18.25, allocations: 0 / 5.711 GB, free: 68.59 MB / 0.5417 GB Notification: Performance of Templates: time 1.554/19.81, allocations: 0.5402 GB / 6.251 GB, free: 32.52 MB / 0.573 GB