Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test19.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test19,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.CombiTable1D.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.193/2.193, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.78e-05, allocations: 4 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3214, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4438, allocations: 81.14 MB / 445.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.4441, allocations: 67.97 kB / 445.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01323/0.4573, allocations: 3.326 MB / 449.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.937e-06/0.4574, allocations: 0 / 449.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.4574, allocations: 0 / 449.1 MB, free: 11.98 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.0004795/0.4579, allocations: 392 kB / 449.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4579, allocations: 8.031 kB / 449.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.458, allocations: 13.92 kB / 449.5 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.4583, allocations: 183 kB / 449.7 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.4583, allocations: 4 kB / 449.7 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.4583, allocations: 8 kB / 449.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.4585, allocations: 62.91 kB / 449.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4585, allocations: 0 / 449.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.4585, allocations: 4 kB / 449.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.518e-06/0.4586, allocations: 3.953 kB / 449.7 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.007e-05/0.4586, allocations: 12 kB / 449.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.4591, allocations: 277 kB / 450 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.4593, allocations: 46.48 kB / 450.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.4594, allocations: 16.86 kB / 450.1 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.4594, allocations: 0 / 450.1 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.4595, allocations: 38.59 kB / 450.1 MB, free: 10.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.037e-06/0.4595, allocations: 0 / 450.1 MB, free: 10.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004783/0.46, allocations: 113.4 kB / 450.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.46, allocations: 85.09 kB / 450.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.4602, allocations: 107.1 kB / 450.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.4602, allocations: 30.73 kB / 450.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.4603, allocations: 158.5 kB / 450.6 MB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.4604, allocations: 19.66 kB / 450.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.868e-06/0.4604, allocations: 4 kB / 450.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4606, allocations: 314.8 kB / 450.9 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.965e-05/0.4606, allocations: 12 kB / 450.9 MB, free: 9.898 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.4607, allocations: 33.7 kB / 451 MB, free: 9.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.791e-05/0.4608, allocations: 41.69 kB / 451 MB, free: 9.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-06/0.4608, allocations: 7.938 kB / 451 MB, free: 9.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002003/0.461, allocations: 95.33 kB / 451.1 MB, free: 9.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.4611, allocations: 39.53 kB / 451.2 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.278e-06/0.4611, allocations: 0.5625 kB / 451.2 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.4611, allocations: 4.031 kB / 451.2 MB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.4612, allocations: 15.98 kB / 451.2 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.407e-06/0.4613, allocations: 0 / 451.2 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.4613, allocations: 12 kB / 451.2 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.4614, allocations: 0 / 451.2 MB, free: 9.625 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 () * 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 8.934e-05/0.4615, allocations: 105.6 kB / 451.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.4615, allocations: 3.906 kB / 451.3 MB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.4618, allocations: 91.41 kB / 451.4 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-06/0.4618, allocations: 4 kB / 451.4 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4618, allocations: 3.984 kB / 451.4 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-06/0.4618, allocations: 0 / 451.4 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.4623, allocations: 330.6 kB / 451.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.007e-06/0.4623, allocations: 1.219 kB / 451.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.406e-05/0.4625, allocations: 15.95 kB / 451.7 MB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.4625, allocations: 3.984 kB / 451.7 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4625, allocations: 11.94 kB / 451.8 MB, free: 9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.79e-06/0.4625, allocations: 0 / 451.8 MB, free: 9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.203e-06/0.4625, allocations: 0.5625 kB / 451.8 MB, free: 9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.4627, allocations: 159.8 kB / 451.9 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.4628, allocations: 81.11 kB / 452 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.4629, allocations: 3.953 kB / 452 MB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.463, allocations: 16.05 kB / 452 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.463, allocations: 8 kB / 452 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-06/0.4631, allocations: 0 / 452 MB, free: 8.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.4632, allocations: 96.03 kB / 452.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.46e-07/0.4632, allocations: 1.688 kB / 452.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003695/0.4636, allocations: 31.94 kB / 452.1 MB, free: 8.578 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 () * 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.001227/0.4648, allocations: 362.6 kB / 452.5 MB, free: 8.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.465, allocations: 91.39 kB / 452.6 MB, free: 8.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4651, allocations: 0 / 452.6 MB, free: 8.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.301e-05/0.4651, allocations: 23.94 kB / 452.6 MB, free: 8.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.4654, allocations: 7.984 kB / 452.6 MB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.4658, allocations: 134.7 kB / 452.7 MB, free: 8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.4662, allocations: 0.6887 MB / 453.4 MB, free: 7.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.4662, allocations: 19.42 kB / 453.5 MB, free: 7.266 MB / 378.7 MB Notification: Performance of SimCode: time 1.532e-06/0.4663, allocations: 0 / 453.5 MB, free: 7.266 MB / 378.7 MB Notification: Performance of Templates: time 0.003907/0.4702, allocations: 1.482 MB / 454.9 MB, free: 5.781 MB / 378.7 MB