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.Test19.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.Test19,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.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.362/2.362, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004461, allocations: 12 kB / 314.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2796, allocations: 54.86 MB / 369.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002106/0.2818, allocations: 1.227 MB / 370.4 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.2833, allocations: 0.8258 MB / 371.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.2833, allocations: 4 kB / 371.2 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.2835, allocations: 23.84 kB / 371.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.2837, allocations: 23.91 kB / 371.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.2839, allocations: 31.91 kB / 371.3 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.284, allocations: 35.91 kB / 371.3 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.2841, allocations: 15.98 kB / 371.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.2842, allocations: 19.92 kB / 371.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.2843, allocations: 19.91 kB / 371.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.2843, allocations: 0 / 371.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.2845, allocations: 31.98 kB / 371.4 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.536e-05/0.2845, allocations: 7.938 kB / 371.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.2846, allocations: 29.7 kB / 371.5 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.2847, allocations: 67.83 kB / 371.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.55e-06/0.2848, allocations: 0 / 371.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.405e-06/0.2848, allocations: 4 kB / 371.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.585e-06/0.2848, allocations: 0 / 371.5 MB, free: 8.215 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.0005286/0.2853, allocations: 389.6 kB / 371.9 MB, free: 7.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2854, allocations: 8.031 kB / 371.9 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.2854, allocations: 7.953 kB / 371.9 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.2857, allocations: 182.8 kB / 372.1 MB, free: 7.547 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2857, allocations: 7.984 kB / 372.1 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.2857, allocations: 4 kB / 372.1 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.2859, allocations: 67.41 kB / 372.2 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2859, allocations: 0 / 372.2 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.286, allocations: 0 / 372.2 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-06/0.286, allocations: 0 / 372.2 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.2861, allocations: 27.94 kB / 372.2 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.2866, allocations: 272.9 kB / 372.5 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.2868, allocations: 46.5 kB / 372.5 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.2868, allocations: 8 kB / 372.5 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.2869, allocations: 34.64 kB / 372.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.065e-06/0.2869, allocations: 0 / 372.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006792/0.2876, allocations: 157.5 kB / 372.7 MB, free: 6.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.2877, allocations: 81.11 kB / 372.8 MB, free: 6.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.2878, allocations: 121.8 kB / 372.9 MB, free: 6.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.2879, allocations: 29.7 kB / 373 MB, free: 6.586 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.288, allocations: 162.5 kB / 373.1 MB, free: 6.426 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.288, allocations: 15.73 kB / 373.1 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-06/0.2881, allocations: 0 / 373.1 MB, free: 6.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2882, allocations: 318.8 kB / 373.4 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.2883, allocations: 23.98 kB / 373.5 MB, free: 6.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.2885, allocations: 41.7 kB / 373.5 MB, free: 6.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.2886, allocations: 57.7 kB / 373.6 MB, free: 5.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-06/0.2886, allocations: 0 / 373.6 MB, free: 5.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003058/0.2889, allocations: 127.4 kB / 373.7 MB, free: 5.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.289, allocations: 29.7 kB / 373.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.289, allocations: 0 / 373.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.289, allocations: 3.953 kB / 373.7 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.2891, allocations: 15.98 kB / 373.7 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.65e-06/0.2892, allocations: 3.938 kB / 373.7 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.284e-05/0.2892, allocations: 8 kB / 373.7 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2893, allocations: 8 kB / 373.8 MB, free: 5.746 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.0001104/0.2894, allocations: 109.8 kB / 373.9 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.2894, allocations: 11.89 kB / 373.9 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.2898, allocations: 101.6 kB / 374 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.958e-06/0.2898, allocations: 3.953 kB / 374 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.277e-06/0.2898, allocations: 4.312 kB / 374 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.909e-06/0.2898, allocations: 0 / 374 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005947/0.2904, allocations: 350.5 kB / 374.3 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-06/0.2904, allocations: 7.875 kB / 374.3 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-05/0.2905, allocations: 19.98 kB / 374.3 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.401e-06/0.2906, allocations: 3.953 kB / 374.4 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2906, allocations: 4 kB / 374.4 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.437e-06/0.2906, allocations: 0 / 374.4 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.689e-06/0.2906, allocations: 0 / 374.4 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.2909, allocations: 191.4 kB / 374.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.291, allocations: 81.09 kB / 374.6 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.2911, allocations: 3.953 kB / 374.6 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2912, allocations: 8 kB / 374.6 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.2912, allocations: 3.984 kB / 374.6 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.999e-06/0.2912, allocations: 4 kB / 374.6 MB, free: 4.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.2913, allocations: 95.27 kB / 374.7 MB, free: 4.656 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.2914, allocations: 4 kB / 374.7 MB, free: 4.652 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003664/0.2917, allocations: 24 kB / 374.8 MB, free: 4.629 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.00126/0.293, allocations: 384.3 kB / 375.1 MB, free: 4.336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.2934, allocations: 119.4 kB / 375.3 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.161e-06/0.2934, allocations: 7.938 kB / 375.3 MB, free: 4.199 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.2935, allocations: 23.98 kB / 375.3 MB, free: 4.176 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.2938, allocations: 8 kB / 375.3 MB, free: 4.168 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.2943, allocations: 190.5 kB / 375.5 MB, free: 3.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.2947, allocations: 0.6887 MB / 376.2 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.2947, allocations: 11.44 kB / 376.2 MB, free: 3.223 MB / 298.7 MB Notification: Performance of SimCode: time 1.393e-06/0.2947, allocations: 0 / 376.2 MB, free: 3.223 MB / 298.7 MB Notification: Performance of Templates: time 0.00388/0.2986, allocations: 1.455 MB / 377.6 MB, free: 1.766 MB / 298.7 MB