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.CombiTable2D.Test29.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.CombiTable2D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.222/2.222, allocations: 234.9 MB / 250.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004414, allocations: 12 kB / 314.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2796, allocations: 54.88 MB / 369.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.002113/0.2817, allocations: 1.234 MB / 370.4 MB, free: 9.578 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005972/0.2824, allocations: 265.1 kB / 370.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.2824, allocations: 0 / 370.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.2827, allocations: 63.8 kB / 370.7 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.2828, allocations: 39.92 kB / 370.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.283, allocations: 35.84 kB / 370.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.2831, allocations: 47.94 kB / 370.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.741e-05/0.2832, allocations: 15.94 kB / 370.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.2833, allocations: 27.89 kB / 370.9 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.788e-05/0.2834, allocations: 31.91 kB / 370.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.2835, allocations: 4 kB / 370.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.529e-05/0.2835, allocations: 16 kB / 371 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.2836, allocations: 11.92 kB / 371 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.2836, allocations: 37.64 kB / 371 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.2838, allocations: 63.91 kB / 371.1 MB, free: 8.922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.597e-06/0.2838, allocations: 0 / 371.1 MB, free: 8.922 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.69e-06/0.2838, allocations: 0 / 371.1 MB, free: 8.922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.773e-06/0.2838, allocations: 0 / 371.1 MB, free: 8.922 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000562/0.2844, allocations: 413.4 kB / 371.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2845, allocations: 12.03 kB / 371.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.2845, allocations: 11.86 kB / 371.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.2848, allocations: 197.5 kB / 371.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2848, allocations: 0 / 371.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.2848, allocations: 8 kB / 371.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.285, allocations: 57.67 kB / 371.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2851, allocations: 0 / 371.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2851, allocations: 7.938 kB / 371.8 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.492e-06/0.2851, allocations: 0 / 371.8 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.2853, allocations: 47.92 kB / 371.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.2858, allocations: 292.7 kB / 372.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.2859, allocations: 54.55 kB / 372.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.286, allocations: 3.938 kB / 372.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.286, allocations: 34.56 kB / 372.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.257e-06/0.286, allocations: 0 / 372.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009849/0.287, allocations: 253.1 kB / 372.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.2871, allocations: 51.41 kB / 372.5 MB, free: 7.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.2873, allocations: 186.5 kB / 372.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.2874, allocations: 25.7 kB / 372.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.2875, allocations: 166.5 kB / 372.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.2876, allocations: 23.66 kB / 372.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-06/0.2876, allocations: 0 / 372.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2877, allocations: 318.8 kB / 373.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.2879, allocations: 39.98 kB / 373.2 MB, free: 6.555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.2881, allocations: 43.97 kB / 373.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.2883, allocations: 69.91 kB / 373.3 MB, free: 6.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-06/0.2883, allocations: 0 / 373.3 MB, free: 6.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004462/0.2888, allocations: 171.2 kB / 373.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.2888, allocations: 33.7 kB / 373.5 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.156e-06/0.2888, allocations: 4 kB / 373.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2889, allocations: 0 / 373.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.289, allocations: 23.98 kB / 373.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2891, allocations: 7.984 kB / 373.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.2891, allocations: 8 kB / 373.6 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.2892, allocations: 4 kB / 373.6 MB, free: 6.172 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 (8): * Single equations (assignments): 7 * 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.0001309/0.2893, allocations: 121.8 kB / 373.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.2894, allocations: 19.8 kB / 373.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004493/0.2898, allocations: 146.3 kB / 373.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.721e-06/0.2899, allocations: 0 / 373.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.005e-06/0.2899, allocations: 0 / 373.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.412e-06/0.2899, allocations: 4.281 kB / 373.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007443/0.2906, allocations: 406.5 kB / 374.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-06/0.2907, allocations: 0 / 374.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.2908, allocations: 27.92 kB / 374.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.531e-06/0.2908, allocations: 4 kB / 374.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.2908, allocations: 3.984 kB / 374.3 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.294e-06/0.2908, allocations: 3.984 kB / 374.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.945e-06/0.2908, allocations: 0 / 374.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.2913, allocations: 223.4 kB / 374.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.2914, allocations: 88.88 kB / 374.6 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.2914, allocations: 8 kB / 374.6 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.2915, allocations: 15.98 kB / 374.6 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.2916, allocations: 11.92 kB / 374.7 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.801e-06/0.2916, allocations: 0 / 374.7 MB, free: 5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001633/0.2918, allocations: 150.4 kB / 374.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.66e-07/0.2918, allocations: 0 / 374.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.2922, allocations: 23.98 kB / 374.8 MB, free: 4.832 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 (7): * Single equations (assignments): 7 * 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.0009788/0.2932, allocations: 300 kB / 375.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004339/0.2936, allocations: 151.3 kB / 375.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.389e-06/0.2936, allocations: 7.938 kB / 375.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.2938, allocations: 51.91 kB / 375.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.2941, allocations: 7.984 kB / 375.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.2947, allocations: 266.9 kB / 375.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.2951, allocations: 0.7121 MB / 376.3 MB, free: 3.352 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.2952, allocations: 11.44 kB / 376.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of SimCode: time 1.347e-06/0.2952, allocations: 0 / 376.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of Templates: time 0.00371/0.2989, allocations: 1.375 MB / 377.7 MB, free: 1.965 MB / 298.7 MB