Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test5.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.Tables.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test5") Notification: Performance of loadModel(ModelicaTest): time 1.814/1.814, allocations: 209.3 MB / 224.8 MB, free: 1.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004372, allocations: 12 kB / 282.5 MB, free: 9.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08628/0.08674, allocations: 48.71 MB / 331.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.002079/0.08886, allocations: 1.199 MB / 332.4 MB, free: 7.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006012/0.08949, allocations: 249 kB / 332.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.08956, allocations: 4 kB / 332.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.08983, allocations: 83.75 kB / 332.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.09001, allocations: 51.92 kB / 332.8 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.09015, allocations: 31.89 kB / 332.8 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.0903, allocations: 51.92 kB / 332.9 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.09041, allocations: 19.92 kB / 332.9 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.09049, allocations: 27.91 kB / 332.9 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.0906, allocations: 35.89 kB / 332.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.09063, allocations: 3.938 kB / 332.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.124e-05/0.0907, allocations: 16 kB / 333 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.09075, allocations: 15.92 kB / 333 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.0908, allocations: 33.7 kB / 333 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.09095, allocations: 55.91 kB / 333.1 MB, free: 7.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.938e-06/0.09097, allocations: 0 / 333.1 MB, free: 7.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.691e-06/0.09098, allocations: 7.938 kB / 333.1 MB, free: 7.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.384e-06/0.091, allocations: 4 kB / 333.1 MB, free: 7.074 MB / 282.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.0005097/0.09152, allocations: 405 kB / 333.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.09156, allocations: 8.031 kB / 333.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.09161, allocations: 15.89 kB / 333.5 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.09185, allocations: 186.8 kB / 333.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.09188, allocations: 7.984 kB / 333.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.09191, allocations: 7.938 kB / 333.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.09208, allocations: 49.69 kB / 333.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.09211, allocations: 0 / 333.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.09213, allocations: 4 kB / 333.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.09214, allocations: 0 / 333.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.09228, allocations: 35.91 kB / 333.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.09279, allocations: 288.9 kB / 334.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.09304, allocations: 46.55 kB / 334.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.09309, allocations: 4 kB / 334.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.09312, allocations: 34.5 kB / 334.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.1e-06/0.09314, allocations: 0 / 334.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007401/0.09388, allocations: 177.3 kB / 334.3 MB, free: 5.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.09395, allocations: 63.3 kB / 334.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.09423, allocations: 210.2 kB / 334.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.09426, allocations: 25.7 kB / 334.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.09439, allocations: 166.5 kB / 334.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.09443, allocations: 19.73 kB / 334.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-06/0.09444, allocations: 0 / 334.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.09461, allocations: 314.8 kB / 335.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.09473, allocations: 27.98 kB / 335.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.523e-05/0.09485, allocations: 27.98 kB / 335.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.09499, allocations: 61.67 kB / 335.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-06/0.09501, allocations: 0 / 335.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003042/0.09532, allocations: 119.4 kB / 335.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.09538, allocations: 29.7 kB / 335.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.0954, allocations: 3.984 kB / 335.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.09542, allocations: 0 / 335.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.09552, allocations: 15.94 kB / 335.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.043e-06/0.09554, allocations: 0 / 335.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.09561, allocations: 15.94 kB / 335.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.09563, allocations: 0 / 335.4 MB, free: 4.516 MB / 282.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.0001354/0.09578, allocations: 133.8 kB / 335.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.09584, allocations: 7.906 kB / 335.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.09618, allocations: 105.9 kB / 335.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.345e-06/0.0962, allocations: 7.938 kB / 335.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.769e-06/0.09622, allocations: 0 / 335.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.96e-06/0.09623, allocations: 7.984 kB / 335.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006148/0.09686, allocations: 370.5 kB / 336 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.09688, allocations: 4.359 kB / 336 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-05/0.09697, allocations: 12 kB / 336 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.36e-06/0.09699, allocations: 4 kB / 336 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.09701, allocations: 4 kB / 336 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.45e-06/0.09703, allocations: 4 kB / 336 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.09704, allocations: 3.953 kB / 336 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.09737, allocations: 195.4 kB / 336.2 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.09745, allocations: 81.02 kB / 336.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.09749, allocations: 11.98 kB / 336.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/0.0976, allocations: 4 kB / 336.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.09765, allocations: 7.938 kB / 336.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.09769, allocations: 4.281 kB / 336.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001861/0.09789, allocations: 164 kB / 336.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.0979, allocations: 0 / 336.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.09824, allocations: 16 kB / 336.5 MB, free: 3.281 MB / 282.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.0007537/0.09901, allocations: 257.3 kB / 336.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.09934, allocations: 119.3 kB / 336.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.05e-06/0.09936, allocations: 4 kB / 336.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.09949, allocations: 31.97 kB / 336.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.09978, allocations: 11.98 kB / 336.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.1004, allocations: 278.9 kB / 337.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.1008, allocations: 0.7043 MB / 337.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.1009, allocations: 11.44 kB / 337.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of SimCode: time 1.425e-06/0.1009, allocations: 0 / 337.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of Templates: time 0.003581/0.1045, allocations: 1.325 MB / 339.2 MB, free: 0.5312 MB / 282.7 MB