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.Pipes.StaticPipe.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.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadModel(ModelicaTest): time 2.193/2.193, allocations: 209.3 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004455, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3544, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7109/1.065, allocations: 304.9 MB / 0.6217 GB, free: 11.37 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/1.066, allocations: 89.77 kB / 0.6218 GB, free: 11.32 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7326/1.798, allocations: 96.62 MB / 0.7162 GB, free: 106.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.623e-06/1.798, allocations: 0 / 0.7162 GB, free: 106.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.215e-05/1.798, allocations: 12 kB / 0.7162 GB, free: 106.2 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002195/1.801, allocations: 0.8869 MB / 0.7171 GB, free: 105.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.801, allocations: 12.03 kB / 0.7171 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/1.801, allocations: 55.34 kB / 0.7171 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/1.802, allocations: 473.3 kB / 0.7176 GB, free: 104.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/1.802, allocations: 24.55 kB / 0.7176 GB, free: 104.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/1.802, allocations: 24 kB / 0.7176 GB, free: 104.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/1.803, allocations: 0.5117 MB / 0.7181 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/1.803, allocations: 0 / 0.7181 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-05/1.804, allocations: 15.98 kB / 0.7181 GB, free: 104 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-05/1.804, allocations: 32.55 kB / 0.7182 GB, free: 104 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009788/1.805, allocations: 437.9 kB / 0.7186 GB, free: 103.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00414/1.809, allocations: 2.26 MB / 0.7208 GB, free: 101.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/1.809, allocations: 198.8 kB / 0.721 GB, free: 101 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/1.811, allocations: 0.9827 MB / 0.7219 GB, free: 99.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/1.811, allocations: 145 kB / 0.7221 GB, free: 99.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 2.454e-06/1.811, allocations: 0 / 0.7221 GB, free: 99.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007273/1.812, allocations: 359.8 kB / 0.7224 GB, free: 99.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/1.812, allocations: 158.2 kB / 0.7226 GB, free: 99.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/1.813, allocations: 493.7 kB / 0.7231 GB, free: 98.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/1.813, allocations: 33.7 kB / 0.7231 GB, free: 98.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/1.813, allocations: 341.4 kB / 0.7234 GB, free: 98.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/1.813, allocations: 51.44 kB / 0.7235 GB, free: 98.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/1.813, allocations: 8 kB / 0.7235 GB, free: 98.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/1.813, allocations: 326.8 kB / 0.7238 GB, free: 97.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/1.813, allocations: 100.8 kB / 0.7239 GB, free: 97.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/1.814, allocations: 326.3 kB / 0.7242 GB, free: 97.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/1.814, allocations: 196.5 kB / 0.7244 GB, free: 97.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/1.814, allocations: 4 kB / 0.7244 GB, free: 97.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001026/1.815, allocations: 487.1 kB / 0.7248 GB, free: 96.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/1.815, allocations: 321.5 kB / 0.7251 GB, free: 96.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.815, allocations: 8 kB / 0.7252 GB, free: 96.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/1.815, allocations: 15.95 kB / 0.7252 GB, free: 96.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/1.816, allocations: 87.83 kB / 0.7253 GB, free: 96.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/1.816, allocations: 15.94 kB / 0.7253 GB, free: 96.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/1.817, allocations: 67.36 kB / 0.7253 GB, free: 96.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/1.817, allocations: 24 kB / 0.7254 GB, free: 96.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/1.817, allocations: 4.094 kB / 0.7254 GB, free: 96.02 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009615/1.818, allocations: 461.6 kB / 0.7258 GB, free: 95.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.818, allocations: 4 kB / 0.7258 GB, free: 95.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.818, allocations: 16.02 kB / 0.7258 GB, free: 95.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/1.818, allocations: 87.84 kB / 0.7259 GB, free: 95.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/1.818, allocations: 15.98 kB / 0.7259 GB, free: 95.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/1.819, allocations: 39.73 kB / 0.726 GB, free: 95.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/1.819, allocations: 24 kB / 0.726 GB, free: 95.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.0004103/1.819, allocations: 298.5 kB / 0.7263 GB, free: 95.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/1.819, allocations: 47.53 kB / 0.7263 GB, free: 95.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007071/1.82, allocations: 288.8 kB / 0.7266 GB, free: 94.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.82, allocations: 0 / 0.7266 GB, free: 94.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.82, allocations: 0 / 0.7266 GB, free: 94.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.82, allocations: 3.984 kB / 0.7266 GB, free: 94.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/1.821, allocations: 377.3 kB / 0.7269 GB, free: 94.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.821, allocations: 4 kB / 0.727 GB, free: 94.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/1.821, allocations: 16 kB / 0.727 GB, free: 94.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/1.821, allocations: 0 / 0.727 GB, free: 94.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/1.821, allocations: 11.92 kB / 0.727 GB, free: 94.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.821, allocations: 7.938 kB / 0.727 GB, free: 94.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.821, allocations: 0 / 0.727 GB, free: 94.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/1.822, allocations: 294.2 kB / 0.7273 GB, free: 93.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/1.822, allocations: 128.5 kB / 0.7274 GB, free: 93.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.822, allocations: 8 kB / 0.7274 GB, free: 93.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/1.822, allocations: 19.98 kB / 0.7274 GB, free: 93.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/1.822, allocations: 11.95 kB / 0.7274 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/1.822, allocations: 7.984 kB / 0.7274 GB, free: 93.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005239/1.823, allocations: 334.9 kB / 0.7278 GB, free: 93.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.823, allocations: 0 / 0.7278 GB, free: 93.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00179/1.825, allocations: 455.3 kB / 0.7282 GB, free: 93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.001641/1.826, allocations: 492.3 kB / 0.7287 GB, free: 92.51 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/1.828, allocations: 0.5835 MB / 0.7292 GB, free: 91.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.828, allocations: 0 / 0.7292 GB, free: 91.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/1.828, allocations: 131.5 kB / 0.7294 GB, free: 91.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/1.829, allocations: 139.7 kB / 0.7295 GB, free: 91.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/1.831, allocations: 1.023 MB / 0.7305 GB, free: 90.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/1.831, allocations: 0.8428 MB / 0.7313 GB, free: 89.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/1.832, allocations: 39.44 kB / 0.7313 GB, free: 89.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/1.832, allocations: 4 kB / 0.7314 GB, free: 89.66 MB / 442.7 MB Notification: Performance of Templates: time 0.02146/1.853, allocations: 9.389 MB / 0.7405 GB, free: 80.29 MB / 442.7 MB