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.Test5.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.Test5,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.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 234.9 MB / 250.5 MB, free: 9.488 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004407, allocations: 12 kB / 314.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2793, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.00212/0.2815, allocations: 1.227 MB / 370.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006276/0.2822, allocations: 249.3 kB / 370.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.2822, allocations: 7.938 kB / 370.7 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.2825, allocations: 75.86 kB / 370.7 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.2827, allocations: 59.8 kB / 370.8 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.2828, allocations: 23.98 kB / 370.8 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.283, allocations: 55.86 kB / 370.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.2831, allocations: 7.984 kB / 370.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.2832, allocations: 27.92 kB / 370.9 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.2833, allocations: 35.89 kB / 370.9 MB, free: 8.934 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.2833, allocations: 4 kB / 370.9 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.127e-05/0.2834, allocations: 23.92 kB / 371 MB, free: 8.906 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.2834, allocations: 15.92 kB / 371 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.2835, allocations: 37.64 kB / 371 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.2837, allocations: 55.92 kB / 371.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.488e-06/0.2837, allocations: 0 / 371.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.991e-06/0.2837, allocations: 0 / 371.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.203e-06/0.2837, allocations: 0 / 371.1 MB, free: 8.793 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.0005487/0.2843, allocations: 413.3 kB / 371.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2843, allocations: 12.03 kB / 371.5 MB, free: 8.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.2844, allocations: 11.86 kB / 371.5 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.2846, allocations: 186.9 kB / 371.7 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.2846, allocations: 3.938 kB / 371.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.2847, allocations: 7.984 kB / 371.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.2849, allocations: 53.62 kB / 371.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2849, allocations: 0 / 371.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.406e-06/0.2849, allocations: 0 / 371.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.745e-06/0.2849, allocations: 8 kB / 371.8 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2851, allocations: 27.94 kB / 371.8 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.2856, allocations: 285 kB / 372.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.2858, allocations: 50.5 kB / 372.1 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.2859, allocations: 7.938 kB / 372.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.2859, allocations: 30.66 kB / 372.2 MB, free: 7.551 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.199e-06/0.2859, allocations: 0 / 372.2 MB, free: 7.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007403/0.2867, allocations: 177.1 kB / 372.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.2867, allocations: 55.41 kB / 372.4 MB, free: 7.305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.2871, allocations: 222 kB / 372.6 MB, free: 7.078 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.2871, allocations: 29.7 kB / 372.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.2873, allocations: 162.6 kB / 372.8 MB, free: 6.883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.2873, allocations: 19.72 kB / 372.8 MB, free: 6.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.2873, allocations: 0 / 372.8 MB, free: 6.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2875, allocations: 318.8 kB / 373.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.2876, allocations: 27.98 kB / 373.1 MB, free: 6.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.788e-05/0.2877, allocations: 23.98 kB / 373.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2879, allocations: 57.69 kB / 373.2 MB, free: 6.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.795e-06/0.2879, allocations: 0 / 373.2 MB, free: 6.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003148/0.2882, allocations: 127.5 kB / 373.3 MB, free: 6.293 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.2883, allocations: 33.7 kB / 373.4 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.976e-06/0.2883, allocations: 0 / 373.4 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2883, allocations: 8.234 kB / 373.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.2884, allocations: 15.98 kB / 373.4 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.718e-06/0.2885, allocations: 0 / 373.4 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.2885, allocations: 4 kB / 373.4 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.2886, allocations: 4 kB / 373.4 MB, free: 6.223 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.0001349/0.2887, allocations: 129.8 kB / 373.5 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.2888, allocations: 11.89 kB / 373.5 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.2891, allocations: 117.9 kB / 373.7 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.2891, allocations: 7.953 kB / 373.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.056e-06/0.2892, allocations: 0 / 373.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.611e-06/0.2892, allocations: 0 / 373.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.2898, allocations: 370.5 kB / 374 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.362e-06/0.2898, allocations: 0 / 374 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.417e-05/0.2899, allocations: 15.98 kB / 374 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.2899, allocations: 3.953 kB / 374.1 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.29, allocations: 4 kB / 374.1 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.29, allocations: 3.938 kB / 374.1 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.455e-06/0.29, allocations: 11.94 kB / 374.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.2903, allocations: 191.3 kB / 374.3 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.2904, allocations: 81.02 kB / 374.3 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.2905, allocations: 8.203 kB / 374.3 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2906, allocations: 15.98 kB / 374.4 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.2906, allocations: 4 kB / 374.4 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.2906, allocations: 4 kB / 374.4 MB, free: 5.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.2908, allocations: 159.2 kB / 374.5 MB, free: 5.004 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.2909, allocations: 3.938 kB / 374.5 MB, free: 5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000339/0.2912, allocations: 19.98 kB / 374.5 MB, free: 4.98 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.0009772/0.2922, allocations: 289.5 kB / 374.8 MB, free: 4.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003408/0.2925, allocations: 119.4 kB / 374.9 MB, free: 4.637 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.963e-06/0.2926, allocations: 3.938 kB / 375 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.2927, allocations: 35.92 kB / 375 MB, free: 4.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.293, allocations: 7.984 kB / 375 MB, free: 4.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00061/0.2936, allocations: 278.9 kB / 375.3 MB, free: 4.281 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.294, allocations: 0.7082 MB / 376 MB, free: 3.547 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.2941, allocations: 11.44 kB / 376 MB, free: 3.535 MB / 298.7 MB Notification: Performance of SimCode: time 1.586e-06/0.2941, allocations: 0 / 376 MB, free: 3.535 MB / 298.7 MB Notification: Performance of Templates: time 0.003822/0.298, allocations: 1.343 MB / 377.3 MB, free: 2.191 MB / 298.7 MB