Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 234.9 MB / 251.1 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004653, allocations: 12 kB / 314.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4027, allocations: 54.87 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.5505, allocations: 80.97 MB / 450.8 MB, free: 9.652 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.5509, allocations: 71.97 kB / 450.8 MB, free: 9.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.5648, allocations: 3.34 MB / 454.2 MB, free: 6.234 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5648, allocations: 4 kB / 454.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.5649, allocations: 4 kB / 454.2 MB, free: 6.227 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005826/0.5655, allocations: 452.3 kB / 454.6 MB, free: 5.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.5655, allocations: 8.031 kB / 454.6 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.5656, allocations: 19.84 kB / 454.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.5659, allocations: 202.8 kB / 454.9 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.5659, allocations: 0 / 454.9 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.566, allocations: 0 / 454.9 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.5662, allocations: 53.69 kB / 454.9 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5662, allocations: 0 / 454.9 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.5662, allocations: 7.953 kB / 454.9 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5662, allocations: 0 / 454.9 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.5664, allocations: 31.91 kB / 455 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.5669, allocations: 289 kB / 455.2 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.5672, allocations: 42.56 kB / 455.3 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.5672, allocations: 0 / 455.3 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.5673, allocations: 44.34 kB / 455.3 MB, free: 4.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.5673, allocations: 0 / 455.3 MB, free: 4.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008714/0.5681, allocations: 177.1 kB / 455.5 MB, free: 4.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.5682, allocations: 55.34 kB / 455.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/0.5687, allocations: 255.4 kB / 455.8 MB, free: 4.418 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.5687, allocations: 25.7 kB / 455.8 MB, free: 4.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/0.5688, allocations: 166.6 kB / 456 MB, free: 4.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.5689, allocations: 15.8 kB / 456 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.5689, allocations: 4 kB / 456 MB, free: 4.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.569, allocations: 310.8 kB / 456.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.5691, allocations: 23.98 kB / 456.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.5693, allocations: 27.98 kB / 456.4 MB, free: 3.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.5695, allocations: 53.69 kB / 456.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5695, allocations: 0 / 456.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003613/0.5698, allocations: 123.2 kB / 456.5 MB, free: 3.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.5699, allocations: 29.7 kB / 456.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5699, allocations: 0 / 456.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.5699, allocations: 3.984 kB / 456.6 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.5701, allocations: 15.94 kB / 456.6 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.5701, allocations: 11.88 kB / 456.6 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.453e-05/0.5702, allocations: 11.92 kB / 456.6 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.5702, allocations: 4.25 kB / 456.6 MB, free: 3.566 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0001469/0.5704, allocations: 133.8 kB / 456.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.5704, allocations: 15.86 kB / 456.8 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.5709, allocations: 106.9 kB / 456.9 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5709, allocations: 0 / 456.9 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5709, allocations: 4 kB / 456.9 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5709, allocations: 3.984 kB / 456.9 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/0.5717, allocations: 390.4 kB / 457.2 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5717, allocations: 4 kB / 457.2 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.5718, allocations: 8 kB / 457.3 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.5719, allocations: 11.98 kB / 457.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.5719, allocations: 4 kB / 457.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.5719, allocations: 0 / 457.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5719, allocations: 0 / 457.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.5723, allocations: 195.3 kB / 457.5 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.5724, allocations: 100.9 kB / 457.6 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.5725, allocations: 0 / 457.6 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.5726, allocations: 12 kB / 457.6 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.5727, allocations: 3.984 kB / 457.6 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.5727, allocations: 4 kB / 457.6 MB, free: 2.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002849/0.573, allocations: 185.2 kB / 457.8 MB, free: 2.305 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.573, allocations: 0 / 457.8 MB, free: 2.305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003481/0.5734, allocations: 23.98 kB / 457.8 MB, free: 2.281 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0008691/0.5742, allocations: 316.1 kB / 458.1 MB, free: 2.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000422/0.5747, allocations: 115.3 kB / 458.2 MB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5747, allocations: 0 / 458.2 MB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.5749, allocations: 27.98 kB / 458.2 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.5752, allocations: 12.19 kB / 458.2 MB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/0.576, allocations: 319.2 kB / 458.6 MB, free: 1.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.5763, allocations: 0.7121 MB / 459.3 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.86e-05/0.5765, allocations: 15.44 kB / 459.3 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/0.5765, allocations: 0 / 459.3 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of Templates: time 0.005052/0.5815, allocations: 1.518 MB / 460.8 MB, free: 15.24 MB / 394.7 MB