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.Test12.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.Test12,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.Test12") Notification: Performance of loadModel(ModelicaTest): time 1.822/1.822, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.000432, allocations: 8 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2816, allocations: 48.71 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.001798/0.2835, allocations: 1.2 MB / 332.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005098/0.284, allocations: 253.8 kB / 332.6 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.2841, allocations: 1.5 kB / 332.6 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.2842, allocations: 16.84 kB / 332.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.2844, allocations: 28.02 kB / 332.7 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.2845, allocations: 26.83 kB / 332.7 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2847, allocations: 40.89 kB / 332.7 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.2848, allocations: 11.09 kB / 332.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.363e-05/0.2848, allocations: 18.94 kB / 332.8 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.2849, allocations: 12.25 kB / 332.8 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.2849, allocations: 5.734 kB / 332.8 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.605e-05/0.285, allocations: 20.77 kB / 332.8 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.2851, allocations: 12.02 kB / 332.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.2851, allocations: 31.2 kB / 332.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.2852, allocations: 46.14 kB / 332.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.337e-06/0.2852, allocations: 0 / 332.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2853, allocations: 0 / 332.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.2853, allocations: 4 kB / 332.9 MB, free: 5.582 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003784/0.2857, allocations: 396.9 kB / 333.3 MB, free: 5.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2857, allocations: 9 kB / 333.3 MB, free: 5.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.2858, allocations: 8.594 kB / 333.3 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.2859, allocations: 179.2 kB / 333.5 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2859, allocations: 5.5 kB / 333.5 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.286, allocations: 1.344 kB / 333.5 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.2861, allocations: 52.73 kB / 333.5 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2862, allocations: 3.938 kB / 333.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.155e-06/0.2862, allocations: 0 / 333.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-06/0.2862, allocations: 1.375 kB / 333.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.2863, allocations: 27.69 kB / 333.6 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.2867, allocations: 291.1 kB / 333.9 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.287, allocations: 47.2 kB / 333.9 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.287, allocations: 1.281 kB / 333.9 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.287, allocations: 32.12 kB / 333.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.257e-06/0.287, allocations: 0 / 333.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006888/0.2877, allocations: 168.8 kB / 334.1 MB, free: 4.477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.2878, allocations: 52.06 kB / 334.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.288, allocations: 171.3 kB / 334.3 MB, free: 4.289 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.288, allocations: 31.41 kB / 334.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.288, allocations: 164.6 kB / 334.5 MB, free: 4.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.2881, allocations: 11.53 kB / 334.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.201e-06/0.2881, allocations: 0 / 334.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.2882, allocations: 320.8 kB / 334.8 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.2883, allocations: 26.52 kB / 334.9 MB, free: 3.762 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.529e-05/0.2884, allocations: 28.92 kB / 334.9 MB, free: 3.754 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.2885, allocations: 56.53 kB / 334.9 MB, free: 3.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2885, allocations: 1.406 kB / 334.9 MB, free: 3.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00028/0.2888, allocations: 121.5 kB / 335.1 MB, free: 3.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.2889, allocations: 31.14 kB / 335.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.522e-06/0.2889, allocations: 1.719 kB / 335.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2889, allocations: 0 / 335.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.056e-05/0.289, allocations: 18.34 kB / 335.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.855e-06/0.289, allocations: 1.219 kB / 335.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.2891, allocations: 6.438 kB / 335.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.2891, allocations: 10.08 kB / 335.1 MB, free: 3.594 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 (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.042e-05/0.2892, allocations: 127.4 kB / 335.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.2893, allocations: 7.906 kB / 335.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.2896, allocations: 103.8 kB / 335.4 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.817e-06/0.2896, allocations: 1.125 kB / 335.4 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.015e-06/0.2896, allocations: 4 kB / 335.4 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.052e-06/0.2896, allocations: 7.922 kB / 335.4 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.2901, allocations: 368.9 kB / 335.7 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.203e-06/0.2902, allocations: 2.375 kB / 335.7 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.2902, allocations: 17.23 kB / 335.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.175e-06/0.2903, allocations: 0.6562 kB / 335.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.2903, allocations: 1.219 kB / 335.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.393e-06/0.2903, allocations: 0 / 335.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.648e-06/0.2903, allocations: 0.5625 kB / 335.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.2906, allocations: 198.2 kB / 336 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.2906, allocations: 84.97 kB / 336 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.2907, allocations: 0 / 336 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.2908, allocations: 6.688 kB / 336 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.2908, allocations: 4.609 kB / 336.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.192e-06/0.2908, allocations: 2 kB / 336.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.291, allocations: 125.6 kB / 336.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.291, allocations: 1.219 kB / 336.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003258/0.2913, allocations: 18.55 kB / 336.2 MB, free: 2.707 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 (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.0006914/0.292, allocations: 259 kB / 336.4 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003051/0.2923, allocations: 120.7 kB / 336.6 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2924, allocations: 0 / 336.6 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.2925, allocations: 33.55 kB / 336.6 MB, free: 2.453 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.2928, allocations: 12.92 kB / 336.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.2932, allocations: 226.3 kB / 336.8 MB, free: 2.262 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.2934, allocations: 0.6988 MB / 337.5 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.2934, allocations: 13.19 kB / 337.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of SimCode: time 1.295e-06/0.2935, allocations: 0 / 337.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of Templates: time 0.003349/0.2968, allocations: 1.223 MB / 338.8 MB, free: 1.219 MB / 266.7 MB