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.Test6.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.Test6,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.2_cpp_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.324/2.324, allocations: 234.9 MB / 250.5 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004364, allocations: 16 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.277, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.002112/0.2792, allocations: 1.239 MB / 370.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006127/0.2798, allocations: 265.1 kB / 370.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.2799, allocations: 0 / 370.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.2801, allocations: 87.8 kB / 370.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.2803, allocations: 51.86 kB / 370.8 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.2805, allocations: 35.91 kB / 370.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.2806, allocations: 63.91 kB / 370.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.2807, allocations: 8 kB / 370.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.572e-05/0.2808, allocations: 31.91 kB / 371 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.2809, allocations: 47.83 kB / 371 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.281, allocations: 0 / 371 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.2811, allocations: 19.92 kB / 371 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.2811, allocations: 19.92 kB / 371 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.2812, allocations: 37.64 kB / 371.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.2813, allocations: 71.89 kB / 371.1 MB, free: 8.715 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.47e-06/0.2813, allocations: 0 / 371.1 MB, free: 8.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.775e-06/0.2814, allocations: 0 / 371.1 MB, free: 8.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.992e-06/0.2814, allocations: 4 kB / 371.2 MB, free: 8.711 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005544/0.2819, allocations: 417.3 kB / 371.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.282, allocations: 12.03 kB / 371.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.282, allocations: 15.84 kB / 371.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.2823, allocations: 186.9 kB / 371.8 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.2823, allocations: 0 / 371.8 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.2824, allocations: 4 kB / 371.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.2826, allocations: 87.31 kB / 371.9 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.2826, allocations: 0 / 371.9 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2826, allocations: 7.938 kB / 371.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.76e-06/0.2826, allocations: 0 / 371.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.2828, allocations: 47.86 kB / 371.9 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.2834, allocations: 405 kB / 372.3 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.2838, allocations: 85.16 kB / 372.4 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.2838, allocations: 8 kB / 372.4 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.2839, allocations: 34.59 kB / 372.4 MB, free: 7.242 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.099e-06/0.2839, allocations: 0 / 372.4 MB, free: 7.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.000967/0.2849, allocations: 260.8 kB / 372.7 MB, free: 6.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.2849, allocations: 85.09 kB / 372.8 MB, free: 6.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.2852, allocations: 215.3 kB / 373 MB, free: 6.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.2853, allocations: 29.7 kB / 373 MB, free: 6.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.2854, allocations: 166.5 kB / 373.2 MB, free: 6.457 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.2855, allocations: 35.45 kB / 373.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-06/0.2855, allocations: 4 kB / 373.2 MB, free: 6.418 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2856, allocations: 322.8 kB / 373.5 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.2858, allocations: 35.98 kB / 373.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.286, allocations: 39.97 kB / 373.6 MB, free: 6.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.2861, allocations: 69.69 kB / 373.7 MB, free: 5.945 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.634e-06/0.2862, allocations: 0 / 373.7 MB, free: 5.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003781/0.2865, allocations: 167.2 kB / 373.8 MB, free: 5.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.2866, allocations: 29.7 kB / 373.9 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.235e-06/0.2866, allocations: 0.5625 kB / 373.9 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2866, allocations: 0 / 373.9 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.2868, allocations: 32.11 kB / 373.9 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.917e-06/0.2868, allocations: 0 / 373.9 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.2869, allocations: 11.98 kB / 373.9 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.2869, allocations: 0 / 373.9 MB, free: 5.691 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 (11): * Single equations (assignments): 10 * 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.0001542/0.2871, allocations: 137.8 kB / 374 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.2872, allocations: 15.77 kB / 374.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/0.2876, allocations: 158.6 kB / 374.2 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.159e-06/0.2876, allocations: 7.984 kB / 374.2 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2876, allocations: 0 / 374.2 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.666e-06/0.2877, allocations: 0 / 374.2 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009289/0.2886, allocations: 0.518 MB / 374.7 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.483e-06/0.2886, allocations: 0 / 374.7 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.2887, allocations: 23.98 kB / 374.8 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.106e-06/0.2888, allocations: 0 / 374.8 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2888, allocations: 7.938 kB / 374.8 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2888, allocations: 7.969 kB / 374.8 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.2888, allocations: 4 kB / 374.8 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.2893, allocations: 311.4 kB / 375.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.2894, allocations: 89.02 kB / 375.2 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.2894, allocations: 11.94 kB / 375.2 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.2896, allocations: 7.984 kB / 375.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.2896, allocations: 4 kB / 375.2 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.2896, allocations: 7.984 kB / 375.2 MB, free: 4.285 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000216/0.2899, allocations: 167.9 kB / 375.4 MB, free: 4.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.09e-07/0.2899, allocations: 0 / 375.4 MB, free: 4.121 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003875/0.2903, allocations: 20 kB / 375.4 MB, free: 4.102 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0009631/0.2913, allocations: 300.1 kB / 375.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004018/0.2917, allocations: 151.3 kB / 375.8 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.33e-06/0.2917, allocations: 0 / 375.8 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.2919, allocations: 55.92 kB / 375.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.2922, allocations: 15.94 kB / 375.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.293, allocations: 344.5 kB / 376.2 MB, free: 3.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.2934, allocations: 0.7199 MB / 377 MB, free: 2.523 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.2935, allocations: 11.44 kB / 377 MB, free: 2.512 MB / 298.7 MB Notification: Performance of SimCode: time 1.372e-06/0.2935, allocations: 4 kB / 377 MB, free: 2.508 MB / 298.7 MB Notification: Performance of Templates: time 0.004114/0.2976, allocations: 1.592 MB / 378.6 MB, free: 0.918 MB / 298.7 MB