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.146/2.146, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004393, allocations: 12 kB / 314.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2751, allocations: 54.88 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.002331/0.2774, allocations: 1.227 MB / 370.4 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2789, allocations: 0.8297 MB / 371.2 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.279, allocations: 0 / 371.2 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.2792, allocations: 11.94 kB / 371.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.2794, allocations: 23.91 kB / 371.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.2795, allocations: 43.83 kB / 371.3 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.2797, allocations: 31.97 kB / 371.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.2798, allocations: 11.98 kB / 371.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.2798, allocations: 19.92 kB / 371.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.28, allocations: 23.86 kB / 371.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.28, allocations: 4 kB / 371.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.444e-05/0.2802, allocations: 27.98 kB / 371.4 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.69e-05/0.2802, allocations: 11.97 kB / 371.5 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.2803, allocations: 29.7 kB / 371.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.2804, allocations: 67.78 kB / 371.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2804, allocations: 4 kB / 371.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.078e-06/0.2805, allocations: 0 / 371.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.255e-06/0.2805, allocations: 0 / 371.6 MB, free: 8.305 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.0005203/0.281, allocations: 389.6 kB / 371.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.281, allocations: 8.031 kB / 371.9 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.2811, allocations: 7.953 kB / 372 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.2813, allocations: 178.9 kB / 372.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2814, allocations: 0 / 372.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.2814, allocations: 8 kB / 372.1 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.2816, allocations: 71.33 kB / 372.2 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2816, allocations: 0 / 372.2 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2817, allocations: 0 / 372.2 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2817, allocations: 0 / 372.2 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.2818, allocations: 35.94 kB / 372.2 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.2823, allocations: 280.9 kB / 372.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.2825, allocations: 50.5 kB / 372.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.2826, allocations: 0 / 372.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.2826, allocations: 34.56 kB / 372.6 MB, free: 7.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.866e-06/0.2826, allocations: 0 / 372.6 MB, free: 7.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000752/0.2834, allocations: 177.3 kB / 372.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.2835, allocations: 77.11 kB / 372.8 MB, free: 6.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.2837, allocations: 125.8 kB / 373 MB, free: 6.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.2837, allocations: 29.7 kB / 373 MB, free: 6.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.2838, allocations: 158.5 kB / 373.1 MB, free: 6.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.2838, allocations: 15.75 kB / 373.2 MB, free: 6.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-06/0.2839, allocations: 0 / 373.2 MB, free: 6.477 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.284, allocations: 314.8 kB / 373.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.2842, allocations: 31.97 kB / 373.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.2843, allocations: 37.7 kB / 373.5 MB, free: 6.086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.2844, allocations: 61.7 kB / 373.6 MB, free: 6.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.45e-06/0.2845, allocations: 4.031 kB / 373.6 MB, free: 6.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003269/0.2848, allocations: 127.3 kB / 373.7 MB, free: 5.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.2849, allocations: 29.7 kB / 373.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.088e-06/0.2849, allocations: 0 / 373.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2849, allocations: 7.953 kB / 373.8 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.285, allocations: 15.98 kB / 373.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.285, allocations: 4 kB / 373.8 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.2851, allocations: 8.266 kB / 373.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.2851, allocations: 4 kB / 373.8 MB, free: 5.805 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.0001155/0.2853, allocations: 113.8 kB / 373.9 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.2853, allocations: 4.156 kB / 373.9 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.2857, allocations: 117.5 kB / 374 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2857, allocations: 3.953 kB / 374 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.696e-06/0.2857, allocations: 3.984 kB / 374 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.371e-06/0.2857, allocations: 0 / 374 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.2864, allocations: 358.5 kB / 374.4 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-06/0.2864, allocations: 0 / 374.4 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.483e-05/0.2865, allocations: 15.98 kB / 374.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.505e-06/0.2865, allocations: 11.83 kB / 374.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2865, allocations: 0 / 374.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2865, allocations: 0 / 374.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.2865, allocations: 0 / 374.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.2869, allocations: 195.4 kB / 374.6 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.287, allocations: 77.11 kB / 374.7 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.287, allocations: 11.94 kB / 374.7 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2871, allocations: 8 kB / 374.7 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.2872, allocations: 4 kB / 374.7 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.2872, allocations: 4 kB / 374.7 MB, free: 4.789 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.2873, allocations: 99.25 kB / 374.8 MB, free: 4.691 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.2873, allocations: 0 / 374.8 MB, free: 4.691 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003757/0.2877, allocations: 24 kB / 374.8 MB, free: 4.668 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.001265/0.289, allocations: 390.9 kB / 375.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.2893, allocations: 119.3 kB / 375.3 MB, free: 4.242 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/0.2894, allocations: 8 kB / 375.3 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.2895, allocations: 31.98 kB / 375.4 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.2898, allocations: 7.938 kB / 375.4 MB, free: 4.195 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.2902, allocations: 202.3 kB / 375.6 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.2907, allocations: 0.6965 MB / 376.3 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.2907, allocations: 11.44 kB / 376.3 MB, free: 3.23 MB / 298.7 MB Notification: Performance of SimCode: time 1.37e-06/0.2907, allocations: 4 kB / 376.3 MB, free: 3.227 MB / 298.7 MB Notification: Performance of Templates: time 0.004018/0.2948, allocations: 1.475 MB / 377.8 MB, free: 1.75 MB / 298.7 MB