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.Pipes.StaticPipe.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.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 1.811/1.811, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.097e-05, allocations: 7.938 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.08678, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8192/0.906, allocations: 304.8 MB / 0.6165 GB, free: 62.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.9063, allocations: 83.14 kB / 0.6166 GB, free: 62.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6317/1.538, allocations: 96.31 MB / 0.7106 GB, free: 118.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.11e-06/1.538, allocations: 0 / 0.7106 GB, free: 118.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.156e-05/1.538, allocations: 11.84 kB / 0.7107 GB, free: 118.5 MB / 426.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.001567/1.54, allocations: 0.8173 MB / 0.7115 GB, free: 118 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/1.54, allocations: 11.06 kB / 0.7115 GB, free: 118 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/1.54, allocations: 66.09 kB / 0.7115 GB, free: 117.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009817/1.541, allocations: 476.2 kB / 0.712 GB, free: 117.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/1.541, allocations: 30.39 kB / 0.712 GB, free: 117.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.609e-05/1.541, allocations: 26.31 kB / 0.712 GB, free: 117.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/1.542, allocations: 0.5033 MB / 0.7125 GB, free: 117.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/1.542, allocations: 0 / 0.7125 GB, free: 117.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.308e-05/1.542, allocations: 11.69 kB / 0.7125 GB, free: 117.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.398e-05/1.542, allocations: 30.2 kB / 0.7126 GB, free: 117.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007937/1.543, allocations: 428.3 kB / 0.713 GB, free: 117.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/1.547, allocations: 2.244 MB / 0.7152 GB, free: 115.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/1.547, allocations: 195.6 kB / 0.7154 GB, free: 115.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/1.547, allocations: 103.5 kB / 0.7155 GB, free: 115.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/1.549, allocations: 1.054 MB / 0.7165 GB, free: 114.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/1.549, allocations: 132.9 kB / 0.7166 GB, free: 114.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 3.25e-06/1.549, allocations: 3.781 kB / 0.7166 GB, free: 114.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004952/1.549, allocations: 238 kB / 0.7168 GB, free: 114.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/1.549, allocations: 158.2 kB / 0.717 GB, free: 114.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005837/1.55, allocations: 437 kB / 0.7174 GB, free: 113.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/1.55, allocations: 29.2 kB / 0.7174 GB, free: 113.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/1.55, allocations: 344.7 kB / 0.7178 GB, free: 113.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/1.55, allocations: 41.86 kB / 0.7178 GB, free: 113.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/1.55, allocations: 11.66 kB / 0.7178 GB, free: 113.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/1.55, allocations: 325.7 kB / 0.7181 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/1.551, allocations: 99.31 kB / 0.7182 GB, free: 113.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/1.551, allocations: 320.7 kB / 0.7185 GB, free: 112.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/1.551, allocations: 194.1 kB / 0.7187 GB, free: 112.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.84e-06/1.551, allocations: 0 / 0.7187 GB, free: 112.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008943/1.552, allocations: 483.2 kB / 0.7192 GB, free: 112.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005495/1.553, allocations: 2.822 MB / 0.7219 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.553, allocations: 10.78 kB / 0.7219 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/1.553, allocations: 11.12 kB / 0.722 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/1.553, allocations: 94.52 kB / 0.722 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/1.553, allocations: 13.69 kB / 0.7221 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/1.554, allocations: 63 kB / 0.7221 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/1.554, allocations: 22.38 kB / 0.7221 GB, free: 109.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/1.554, allocations: 7.875 kB / 0.7221 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008335/1.555, allocations: 452.5 kB / 0.7226 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.555, allocations: 10.59 kB / 0.7226 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/1.555, allocations: 7.594 kB / 0.7226 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/1.555, allocations: 92.17 kB / 0.7227 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/1.555, allocations: 22.77 kB / 0.7227 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/1.556, allocations: 40.75 kB / 0.7227 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/1.556, allocations: 25.28 kB / 0.7228 GB, free: 109.3 MB / 426.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 () * 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.0001524/1.556, allocations: 164.2 kB / 0.7229 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/1.556, allocations: 45.55 kB / 0.723 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006364/1.557, allocations: 283 kB / 0.7232 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.103e-06/1.557, allocations: 0 / 0.7232 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.295e-06/1.557, allocations: 0 / 0.7232 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.516e-06/1.557, allocations: 0 / 0.7232 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/1.557, allocations: 375.1 kB / 0.7236 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.557, allocations: 0 / 0.7236 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/1.557, allocations: 26.08 kB / 0.7236 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.476e-06/1.557, allocations: 7.578 kB / 0.7236 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/1.557, allocations: 0 / 0.7236 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.829e-06/1.557, allocations: 3.562 kB / 0.7236 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.967e-06/1.557, allocations: 0 / 0.7236 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/1.558, allocations: 285.8 kB / 0.7239 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/1.558, allocations: 127.9 kB / 0.724 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.729e-05/1.558, allocations: 11.89 kB / 0.724 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/1.558, allocations: 15.39 kB / 0.7241 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/1.558, allocations: 11.58 kB / 0.7241 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/1.558, allocations: 13.06 kB / 0.7241 GB, free: 108.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000434/1.559, allocations: 326.1 kB / 0.7244 GB, free: 108.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.03e-07/1.559, allocations: 3.906 kB / 0.7244 GB, free: 108.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001637/1.561, allocations: 456.8 kB / 0.7248 GB, free: 108.1 MB / 426.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) * 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.001278/1.562, allocations: 485 kB / 0.7253 GB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009825/1.563, allocations: 0.5663 MB / 0.7258 GB, free: 107.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.836e-06/1.563, allocations: 3.969 kB / 0.7258 GB, free: 107.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/1.563, allocations: 142.5 kB / 0.726 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007914/1.564, allocations: 135.5 kB / 0.7261 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/1.565, allocations: 0.5751 MB / 0.7267 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/1.566, allocations: 0.8525 MB / 0.7275 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/1.566, allocations: 36.16 kB / 0.7275 GB, free: 106.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.808e-06/1.566, allocations: 0 / 0.7275 GB, free: 106.5 MB / 426.7 MB Notification: Performance of Templates: time 0.015/1.581, allocations: 9.355 MB / 0.7367 GB, free: 105.5 MB / 426.7 MB