Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.908/1.908, allocations: 209.3 MB / 224.8 MB, free: 284 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.000444, allocations: 19.98 kB / 282.5 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2806, allocations: 48.7 MB / 331.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.00176/0.2824, allocations: 1.21 MB / 332.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.2836, allocations: 0.8174 MB / 333.2 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.2837, allocations: 5.125 kB / 333.2 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.2838, allocations: 12.61 kB / 333.2 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.284, allocations: 29.94 kB / 333.3 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.2841, allocations: 36.22 kB / 333.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.2843, allocations: 34.86 kB / 333.3 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.976e-05/0.2844, allocations: 7.078 kB / 333.3 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.969e-05/0.2844, allocations: 25.88 kB / 333.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.2846, allocations: 18.58 kB / 333.4 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.2846, allocations: 1.438 kB / 333.4 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-05/0.2847, allocations: 40.09 kB / 333.4 MB, free: 5.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.2848, allocations: 7.984 kB / 333.4 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.2848, allocations: 28.55 kB / 333.5 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.285, allocations: 54.81 kB / 333.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.609e-06/0.285, allocations: 0 / 333.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.81e-06/0.285, allocations: 0 / 333.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.614e-06/0.285, allocations: 0 / 333.5 MB, free: 5.168 MB / 266.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.0003606/0.2854, allocations: 396.9 kB / 333.9 MB, free: 4.754 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2854, allocations: 9.469 kB / 333.9 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.2855, allocations: 10.75 kB / 333.9 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.2856, allocations: 177.9 kB / 334.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2857, allocations: 6.016 kB / 334.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.2857, allocations: 1.812 kB / 334.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.2859, allocations: 66.5 kB / 334.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2859, allocations: 1.594 kB / 334.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.2859, allocations: 4 kB / 334.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.334e-06/0.2859, allocations: 4.906 kB / 334.2 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.2861, allocations: 25.72 kB / 334.2 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.2864, allocations: 272.5 kB / 334.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.2866, allocations: 47.98 kB / 334.5 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.2867, allocations: 4.641 kB / 334.5 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.2867, allocations: 32.28 kB / 334.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.08e-06/0.2867, allocations: 0 / 334.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000633/0.2874, allocations: 159.3 kB / 334.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.2874, allocations: 79.08 kB / 334.8 MB, free: 3.945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.2875, allocations: 129.2 kB / 334.9 MB, free: 3.832 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2876, allocations: 31.02 kB / 334.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.2876, allocations: 156.4 kB / 335.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.2876, allocations: 14.23 kB / 335.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-06/0.2877, allocations: 5.188 kB / 335.1 MB, free: 3.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.2877, allocations: 313.5 kB / 335.4 MB, free: 3.316 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2878, allocations: 23.44 kB / 335.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.2879, allocations: 46.23 kB / 335.5 MB, free: 3.285 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.2881, allocations: 58.27 kB / 335.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.695e-06/0.2881, allocations: 0 / 335.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002713/0.2884, allocations: 121.8 kB / 335.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.2884, allocations: 32.42 kB / 335.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.937e-06/0.2884, allocations: 0 / 335.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2885, allocations: 1.031 kB / 335.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.2886, allocations: 19.56 kB / 335.7 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.2886, allocations: 0 / 335.7 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.2886, allocations: 7.141 kB / 335.7 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2887, allocations: 6.234 kB / 335.7 MB, free: 3.121 MB / 266.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 7.146e-05/0.2887, allocations: 118.3 kB / 335.8 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.2888, allocations: 12.41 kB / 335.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.2891, allocations: 95.23 kB / 335.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-06/0.2891, allocations: 5.516 kB / 336 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.716e-06/0.2891, allocations: 4.703 kB / 336 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.866e-06/0.2891, allocations: 1.062 kB / 336 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.2896, allocations: 348.1 kB / 336.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.004e-06/0.2897, allocations: 3.938 kB / 336.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.535e-05/0.2898, allocations: 17.72 kB / 336.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.514e-06/0.2898, allocations: 1.188 kB / 336.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2898, allocations: 2.359 kB / 336.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.709e-06/0.2898, allocations: 0 / 336.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.561e-06/0.2898, allocations: 5.219 kB / 336.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.2901, allocations: 187.1 kB / 336.5 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.2901, allocations: 85.92 kB / 336.6 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.2902, allocations: 4.062 kB / 336.6 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.2903, allocations: 11.48 kB / 336.6 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.2903, allocations: 4.656 kB / 336.6 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-06/0.2904, allocations: 1.312 kB / 336.6 MB, free: 2.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.377e-05/0.2904, allocations: 103 kB / 336.7 MB, free: 2.254 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.69e-07/0.2905, allocations: 0 / 336.7 MB, free: 2.254 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003531/0.2908, allocations: 29.67 kB / 336.7 MB, free: 2.242 MB / 266.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.0009495/0.2918, allocations: 319.7 kB / 337.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.2921, allocations: 111.5 kB / 337.2 MB, free: 1.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.097e-06/0.2921, allocations: 3.938 kB / 337.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.2922, allocations: 36.52 kB / 337.2 MB, free: 1.961 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.2925, allocations: 14.08 kB / 337.2 MB, free: 1.953 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.2929, allocations: 182 kB / 337.4 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.293, allocations: 0.6934 MB / 338.1 MB, free: 1.086 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.2931, allocations: 18.7 kB / 338.1 MB, free: 1.074 MB / 266.7 MB Notification: Performance of SimCode: time 1.34e-06/0.2931, allocations: 0 / 338.1 MB, free: 1.074 MB / 266.7 MB Notification: Performance of Templates: time 0.003589/0.2967, allocations: 1.442 MB / 339.6 MB, free: 0.6211 MB / 266.7 MB