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.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") Notification: Performance of loadModel(ModelicaTest): time 2.378/2.378, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004486, allocations: 12 kB / 314.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2796, allocations: 54.88 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002117/0.2818, allocations: 1.212 MB / 370.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006203/0.2824, allocations: 261.1 kB / 370.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.2825, allocations: 0 / 370.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.2828, allocations: 83.86 kB / 370.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.283, allocations: 79.77 kB / 370.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.2831, allocations: 23.92 kB / 370.8 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.2833, allocations: 51.92 kB / 370.9 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.753e-05/0.2834, allocations: 15.97 kB / 370.9 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.073e-05/0.2835, allocations: 35.89 kB / 370.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.2836, allocations: 39.91 kB / 371 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2837, allocations: 0 / 371 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.2837, allocations: 19.92 kB / 371 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.2838, allocations: 27.91 kB / 371 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.2839, allocations: 37.64 kB / 371.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.284, allocations: 59.91 kB / 371.1 MB, free: 8.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.57e-06/0.284, allocations: 0 / 371.1 MB, free: 8.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.357e-06/0.284, allocations: 0 / 371.1 MB, free: 8.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.311e-06/0.2841, allocations: 0 / 371.1 MB, free: 8.734 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.000566/0.2846, allocations: 417.3 kB / 371.5 MB, free: 8.273 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2847, allocations: 12.03 kB / 371.5 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.2847, allocations: 11.86 kB / 371.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.285, allocations: 199.5 kB / 371.7 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.31e-06/0.285, allocations: 4 kB / 371.8 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.285, allocations: 0 / 371.8 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.2852, allocations: 45.69 kB / 371.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2852, allocations: 0 / 371.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2853, allocations: 8 kB / 371.8 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-06/0.2853, allocations: 0 / 371.8 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.2854, allocations: 35.92 kB / 371.8 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.2859, allocations: 280.8 kB / 372.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.2861, allocations: 46.56 kB / 372.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.2862, allocations: 3.938 kB / 372.2 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.2862, allocations: 34.56 kB / 372.2 MB, free: 7.492 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.311e-06/0.2862, allocations: 0 / 372.2 MB, free: 7.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007502/0.287, allocations: 173.2 kB / 372.4 MB, free: 7.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.287, allocations: 51.41 kB / 372.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.2874, allocations: 238.3 kB / 372.6 MB, free: 7.012 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.2874, allocations: 29.64 kB / 372.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2875, allocations: 166.6 kB / 372.8 MB, free: 6.812 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.2876, allocations: 15.66 kB / 372.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-06/0.2876, allocations: 4 kB / 372.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2878, allocations: 314.8 kB / 373.2 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.2879, allocations: 27.98 kB / 373.2 MB, free: 6.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-05/0.288, allocations: 27.92 kB / 373.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.2881, allocations: 49.69 kB / 373.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2882, allocations: 0 / 373.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000304/0.2885, allocations: 119.4 kB / 373.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.2885, allocations: 33.7 kB / 373.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.275e-06/0.2885, allocations: 256 / 373.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.2886, allocations: 7.953 kB / 373.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.2887, allocations: 15.98 kB / 373.4 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2887, allocations: 8 kB / 373.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.2888, allocations: 4 kB / 373.5 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.2888, allocations: 3.984 kB / 373.5 MB, free: 6.16 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.0001387/0.2889, allocations: 133.8 kB / 373.6 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.289, allocations: 7.906 kB / 373.6 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.2893, allocations: 106.7 kB / 373.7 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.245e-06/0.2894, allocations: 3.953 kB / 373.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.826e-06/0.2894, allocations: 3.984 kB / 373.7 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.474e-06/0.2894, allocations: 0 / 373.7 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006033/0.29, allocations: 362.4 kB / 374.1 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.044e-06/0.29, allocations: 0 / 374.1 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.079e-05/0.2901, allocations: 15.98 kB / 374.1 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.267e-06/0.2901, allocations: 3.953 kB / 374.1 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2902, allocations: 8 kB / 374.1 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.361e-06/0.2902, allocations: 3.938 kB / 374.1 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.985e-06/0.2902, allocations: 0 / 374.1 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.2905, allocations: 187.4 kB / 374.3 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.2906, allocations: 85.3 kB / 374.4 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.2906, allocations: 7.891 kB / 374.4 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.2907, allocations: 4 kB / 374.4 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.2908, allocations: 7.984 kB / 374.4 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2908, allocations: 8.172 kB / 374.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002318/0.2911, allocations: 183.2 kB / 374.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.2911, allocations: 0 / 374.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003364/0.2914, allocations: 8 kB / 374.6 MB, free: 4.941 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.0009786/0.2924, allocations: 301.8 kB / 374.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003511/0.2928, allocations: 111.4 kB / 375 MB, free: 4.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.392e-06/0.2928, allocations: 4 kB / 375 MB, free: 4.594 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.2929, allocations: 31.92 kB / 375 MB, free: 4.562 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.2932, allocations: 4 kB / 375 MB, free: 4.559 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.2938, allocations: 290.8 kB / 375.3 MB, free: 4.234 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.2943, allocations: 0.7043 MB / 376 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.2943, allocations: 19.42 kB / 376 MB, free: 3.484 MB / 298.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2944, allocations: 0 / 376 MB, free: 3.484 MB / 298.7 MB Notification: Performance of Templates: time 0.00374/0.2981, allocations: 1.342 MB / 377.4 MB, free: 2.141 MB / 298.7 MB