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.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.152/2.152, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004571, allocations: 12 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.277, allocations: 54.87 MB / 369.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002084/0.2792, allocations: 1.223 MB / 370.4 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005893/0.2798, allocations: 249.2 kB / 370.7 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.2799, allocations: 3.938 kB / 370.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.2801, allocations: 63.89 kB / 370.7 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.2803, allocations: 47.81 kB / 370.8 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.2804, allocations: 27.97 kB / 370.8 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.2806, allocations: 55.86 kB / 370.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.2807, allocations: 12 kB / 370.9 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.2808, allocations: 23.91 kB / 370.9 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.2809, allocations: 39.89 kB / 370.9 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.2809, allocations: 0 / 370.9 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.523e-05/0.281, allocations: 19.92 kB / 370.9 MB, free: 8.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.2811, allocations: 19.92 kB / 371 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.2811, allocations: 33.64 kB / 371 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2813, allocations: 55.92 kB / 371 MB, free: 8.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.67e-06/0.2813, allocations: 0 / 371 MB, free: 8.707 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.947e-06/0.2813, allocations: 0 / 371 MB, free: 8.707 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.98e-06/0.2813, allocations: 4 kB / 371.1 MB, free: 8.703 MB / 298.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.0005364/0.2818, allocations: 401.4 kB / 371.4 MB, free: 8.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2819, allocations: 16.02 kB / 371.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.2819, allocations: 11.86 kB / 371.5 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.2822, allocations: 179.5 kB / 371.6 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2822, allocations: 4 kB / 371.6 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.2822, allocations: 4 kB / 371.7 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.2824, allocations: 57.62 kB / 371.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2825, allocations: 0 / 371.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-06/0.2825, allocations: 0 / 371.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2825, allocations: 0 / 371.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.2826, allocations: 31.92 kB / 371.7 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.2831, allocations: 280.8 kB / 372 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.2833, allocations: 50.5 kB / 372.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.2834, allocations: 3.938 kB / 372.1 MB, free: 7.527 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2834, allocations: 34.56 kB / 372.1 MB, free: 7.484 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.085e-06/0.2834, allocations: 0 / 372.1 MB, free: 7.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006853/0.2841, allocations: 169.3 kB / 372.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.2842, allocations: 51.41 kB / 372.3 MB, free: 7.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.2844, allocations: 194.5 kB / 372.5 MB, free: 7.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.2845, allocations: 29.7 kB / 372.5 MB, free: 7.016 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2846, allocations: 162.5 kB / 372.7 MB, free: 6.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.2846, allocations: 23.66 kB / 372.7 MB, free: 6.832 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-06/0.2846, allocations: 0 / 372.7 MB, free: 6.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2848, allocations: 314.8 kB / 373 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.2849, allocations: 23.98 kB / 373 MB, free: 6.492 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.952e-05/0.285, allocations: 27.98 kB / 373.1 MB, free: 6.465 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.2852, allocations: 53.69 kB / 373.1 MB, free: 6.406 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-06/0.2852, allocations: 0 / 373.1 MB, free: 6.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002949/0.2855, allocations: 119.3 kB / 373.2 MB, free: 6.277 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.2855, allocations: 33.7 kB / 373.3 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.089e-06/0.2856, allocations: 0 / 373.3 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2856, allocations: 3.953 kB / 373.3 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.961e-05/0.2857, allocations: 15.98 kB / 373.3 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.2857, allocations: 3.984 kB / 373.3 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.2858, allocations: 7.984 kB / 373.3 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.2858, allocations: 4 kB / 373.3 MB, free: 6.203 MB / 298.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.0001272/0.2859, allocations: 125.8 kB / 373.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.286, allocations: 7.906 kB / 373.4 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.2863, allocations: 101.9 kB / 373.5 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.301e-06/0.2863, allocations: 7.938 kB / 373.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.141e-06/0.2864, allocations: 0 / 373.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.491e-06/0.2864, allocations: 4 kB / 373.6 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.287, allocations: 354.9 kB / 373.9 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.25e-06/0.287, allocations: 0 / 373.9 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.2871, allocations: 19.92 kB / 373.9 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.2871, allocations: 3.953 kB / 373.9 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.2871, allocations: 4 kB / 373.9 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.461e-06/0.2872, allocations: 3.938 kB / 373.9 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.931e-06/0.2872, allocations: 0 / 373.9 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.2875, allocations: 187.3 kB / 374.1 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.2876, allocations: 93 kB / 374.2 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.2876, allocations: 3.953 kB / 374.2 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.706e-05/0.2877, allocations: 8 kB / 374.2 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.2878, allocations: 3.984 kB / 374.2 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2878, allocations: 4 kB / 374.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001778/0.288, allocations: 157.9 kB / 374.4 MB, free: 5.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.69e-07/0.288, allocations: 0 / 374.4 MB, free: 5.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003285/0.2883, allocations: 8 kB / 374.4 MB, free: 5.027 MB / 298.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.0009814/0.2893, allocations: 307.7 kB / 374.7 MB, free: 4.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.2896, allocations: 111.4 kB / 374.8 MB, free: 4.676 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.968e-06/0.2897, allocations: 4 kB / 374.8 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.2898, allocations: 23.98 kB / 374.8 MB, free: 4.648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.2901, allocations: 12 kB / 374.8 MB, free: 4.637 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.2906, allocations: 258.6 kB / 375.1 MB, free: 4.348 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.2911, allocations: 0.7004 MB / 375.8 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.2911, allocations: 15.44 kB / 375.8 MB, free: 3.605 MB / 298.7 MB Notification: Performance of SimCode: time 1.537e-06/0.2912, allocations: 0 / 375.8 MB, free: 3.605 MB / 298.7 MB Notification: Performance of Templates: time 0.003533/0.2947, allocations: 1.264 MB / 377.1 MB, free: 2.34 MB / 298.7 MB