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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.214/2.214, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004395, allocations: 12 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2813, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002162/0.2835, allocations: 1.219 MB / 370.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006204/0.2841, allocations: 245.2 kB / 370.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.2842, allocations: 4 kB / 370.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.2844, allocations: 19.91 kB / 370.7 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.2845, allocations: 19.86 kB / 370.7 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.2847, allocations: 31.97 kB / 370.7 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.2848, allocations: 39.89 kB / 370.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.114e-05/0.2849, allocations: 15.98 kB / 370.8 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.945e-05/0.285, allocations: 11.92 kB / 370.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.168e-05/0.2851, allocations: 19.92 kB / 370.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2851, allocations: 0 / 370.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.603e-05/0.2852, allocations: 19.94 kB / 370.8 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.2852, allocations: 7.938 kB / 370.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.2853, allocations: 29.7 kB / 370.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.2854, allocations: 47.92 kB / 370.9 MB, free: 8.965 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.087e-06/0.2854, allocations: 0 / 370.9 MB, free: 8.965 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2854, allocations: 0 / 370.9 MB, free: 8.965 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.213e-06/0.2855, allocations: 0 / 370.9 MB, free: 8.965 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.000534/0.286, allocations: 393.5 kB / 371.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2861, allocations: 8.031 kB / 371.3 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.2861, allocations: 7.859 kB / 371.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.2863, allocations: 179 kB / 371.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.2864, allocations: 7.984 kB / 371.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.2864, allocations: 4 kB / 371.5 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.2866, allocations: 45.69 kB / 371.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2866, allocations: 0 / 371.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2866, allocations: 4 kB / 371.6 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.399e-06/0.2866, allocations: 4 kB / 371.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.2868, allocations: 31.88 kB / 371.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.2873, allocations: 284.8 kB / 371.9 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.2875, allocations: 50.55 kB / 371.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.2876, allocations: 0 / 371.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.2876, allocations: 34.56 kB / 371.9 MB, free: 7.766 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.89e-06/0.2876, allocations: 0 / 371.9 MB, free: 7.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007216/0.2884, allocations: 169.4 kB / 372.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.2884, allocations: 55.41 kB / 372.2 MB, free: 7.527 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.2886, allocations: 134.1 kB / 372.3 MB, free: 7.387 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.2886, allocations: 25.7 kB / 372.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/0.2887, allocations: 158.5 kB / 372.5 MB, free: 7.199 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.2888, allocations: 23.69 kB / 372.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-06/0.2888, allocations: 0 / 372.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.289, allocations: 310.8 kB / 372.8 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.2891, allocations: 31.97 kB / 372.8 MB, free: 6.832 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.2892, allocations: 23.98 kB / 372.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2894, allocations: 57.69 kB / 372.9 MB, free: 6.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.956e-06/0.2894, allocations: 0 / 372.9 MB, free: 6.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003186/0.2897, allocations: 127.3 kB / 373 MB, free: 6.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.2898, allocations: 33.7 kB / 373.1 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.645e-06/0.2898, allocations: 0 / 373.1 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2898, allocations: 7.953 kB / 373.1 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.2899, allocations: 11.98 kB / 373.1 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.881e-06/0.2899, allocations: 4 kB / 373.1 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.846e-05/0.29, allocations: 8.25 kB / 373.1 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.29, allocations: 3.938 kB / 373.1 MB, free: 6.535 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.0001321/0.2902, allocations: 121.8 kB / 373.2 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.2902, allocations: 0 / 373.2 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.2906, allocations: 113.5 kB / 373.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.057e-06/0.2906, allocations: 4.234 kB / 373.3 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.102e-06/0.2906, allocations: 0 / 373.3 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.975e-06/0.2906, allocations: 0 / 373.3 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.2912, allocations: 358.5 kB / 373.7 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.958e-06/0.2913, allocations: 7.984 kB / 373.7 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/0.2913, allocations: 15.94 kB / 373.7 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.2914, allocations: 3.953 kB / 373.7 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.79e-06/0.2914, allocations: 0 / 373.7 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.782e-06/0.2914, allocations: 3.984 kB / 373.7 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.015e-06/0.2914, allocations: 4 kB / 373.7 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.2918, allocations: 191.4 kB / 373.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.2918, allocations: 85.09 kB / 374 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.2919, allocations: 3.953 kB / 374 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.292, allocations: 4 kB / 374 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.292, allocations: 7.984 kB / 374 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-06/0.2921, allocations: 0 / 374 MB, free: 5.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.2922, allocations: 107.8 kB / 374.1 MB, free: 5.418 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.2922, allocations: 0 / 374.1 MB, free: 5.418 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.2925, allocations: 12 kB / 374.1 MB, free: 5.406 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.000964/0.2935, allocations: 300.3 kB / 374.4 MB, free: 5.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.2938, allocations: 119.4 kB / 374.5 MB, free: 5.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.111e-06/0.2939, allocations: 4 kB / 374.5 MB, free: 5.047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.294, allocations: 31.92 kB / 374.6 MB, free: 5.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.2943, allocations: 7.984 kB / 374.6 MB, free: 5.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.2947, allocations: 210.4 kB / 374.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.2952, allocations: 0.6965 MB / 375.5 MB, free: 4.047 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.2952, allocations: 11.44 kB / 375.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of SimCode: time 1.461e-06/0.2952, allocations: 0 / 375.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of Templates: time 0.003364/0.2986, allocations: 1.18 MB / 376.7 MB, free: 2.855 MB / 298.7 MB