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.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadModel(ModelicaTest): time 1.864/1.864, allocations: 209.3 MB / 224.8 MB, free: 188 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004285, allocations: 8 kB / 282.5 MB, free: 9.645 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2822, allocations: 48.71 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001792/0.284, allocations: 1.217 MB / 332.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005492/0.2846, allocations: 250 kB / 332.7 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.2846, allocations: 1.188 kB / 332.7 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.2849, allocations: 88.53 kB / 332.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.2851, allocations: 56.05 kB / 332.8 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.2852, allocations: 29.41 kB / 332.8 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.2854, allocations: 61.91 kB / 332.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/0.2855, allocations: 13.19 kB / 332.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.637e-05/0.2856, allocations: 29.22 kB / 332.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.2857, allocations: 38.16 kB / 333 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.2857, allocations: 2.719 kB / 333 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.114e-05/0.2858, allocations: 19.8 kB / 333 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.2859, allocations: 25.75 kB / 333 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.2859, allocations: 37.88 kB / 333 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.2861, allocations: 60.7 kB / 333.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.86e-06/0.2861, allocations: 0 / 333.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.968e-06/0.2861, allocations: 0 / 333.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.2861, allocations: 1.094 kB / 333.1 MB, free: 5.531 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004103/0.2865, allocations: 418.1 kB / 333.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2866, allocations: 10.34 kB / 333.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.2866, allocations: 12.12 kB / 333.5 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.2868, allocations: 194.9 kB / 333.7 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2868, allocations: 2.75 kB / 333.7 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.2869, allocations: 6.672 kB / 333.7 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.287, allocations: 62.38 kB / 333.8 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2871, allocations: 3.906 kB / 333.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.2871, allocations: 1.281 kB / 333.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-06/0.2871, allocations: 0 / 333.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.2873, allocations: 39.33 kB / 333.8 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.2876, allocations: 304.3 kB / 334.1 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.2878, allocations: 53.17 kB / 334.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.2878, allocations: 1.719 kB / 334.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.2879, allocations: 36.27 kB / 334.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 2.173e-06/0.2879, allocations: 0 / 334.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007639/0.2886, allocations: 203.3 kB / 334.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.2887, allocations: 60.58 kB / 334.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.2889, allocations: 227.1 kB / 334.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.289, allocations: 26.55 kB / 334.7 MB, free: 4.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.289, allocations: 169.1 kB / 334.9 MB, free: 3.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.2891, allocations: 25.45 kB / 334.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-06/0.2891, allocations: 0 / 334.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.2891, allocations: 317.6 kB / 335.2 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2893, allocations: 33.06 kB / 335.3 MB, free: 3.613 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.2894, allocations: 32.25 kB / 335.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.2895, allocations: 58.03 kB / 335.4 MB, free: 3.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-06/0.2895, allocations: 5.562 kB / 335.4 MB, free: 3.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003036/0.2899, allocations: 143.2 kB / 335.5 MB, free: 3.473 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.2899, allocations: 31.64 kB / 335.5 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.573e-06/0.2899, allocations: 0 / 335.5 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.29, allocations: 6.578 kB / 335.5 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.2901, allocations: 18.73 kB / 335.6 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.511e-06/0.2901, allocations: 7.953 kB / 335.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.2902, allocations: 9.141 kB / 335.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2902, allocations: 1.188 kB / 335.6 MB, free: 3.43 MB / 266.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 (9): * Single equations (assignments): 8 * 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 9.531e-05/0.2903, allocations: 134.5 kB / 335.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.2904, allocations: 9.438 kB / 335.7 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.2907, allocations: 145.5 kB / 335.9 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.968e-06/0.2908, allocations: 2.188 kB / 335.9 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.612e-06/0.2908, allocations: 1.188 kB / 335.9 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.204e-06/0.2908, allocations: 3.953 kB / 335.9 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.2913, allocations: 403 kB / 336.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.561e-06/0.2914, allocations: 1.469 kB / 336.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.559e-05/0.2915, allocations: 18.11 kB / 336.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.185e-06/0.2915, allocations: 10.12 kB / 336.3 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1e-05/0.2915, allocations: 1.531 kB / 336.3 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.314e-06/0.2915, allocations: 3.953 kB / 336.3 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2915, allocations: 0 / 336.3 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.2918, allocations: 208.3 kB / 336.5 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.2919, allocations: 93.08 kB / 336.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2919, allocations: 1.031 kB / 336.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/0.292, allocations: 7.516 kB / 336.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.2921, allocations: 12.72 kB / 336.6 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.811e-06/0.2921, allocations: 3.688 kB / 336.6 MB, free: 2.594 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.2923, allocations: 168.3 kB / 336.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.2923, allocations: 0 / 336.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003374/0.2926, allocations: 17.25 kB / 336.8 MB, free: 2.492 MB / 266.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 (8): * Single equations (assignments): 8 * 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.0006905/0.2934, allocations: 248.5 kB / 337 MB, free: 2.332 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.2937, allocations: 134.2 kB / 337.2 MB, free: 2.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2937, allocations: 0 / 337.2 MB, free: 2.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.2939, allocations: 43.72 kB / 337.2 MB, free: 2.238 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.2941, allocations: 8.906 kB / 337.2 MB, free: 2.234 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.2947, allocations: 310.5 kB / 337.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.2949, allocations: 0.7119 MB / 338.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.2949, allocations: 18.95 kB / 338.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of SimCode: time 1.357e-06/0.2949, allocations: 0 / 338.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of Templates: time 0.003613/0.2986, allocations: 1.472 MB / 339.7 MB, free: 0.7227 MB / 266.7 MB