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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.307/2.307, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004327, allocations: 12 kB / 314.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2787, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002154/0.2809, allocations: 1.227 MB / 370.4 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2824, allocations: 0.8258 MB / 371.2 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.2825, allocations: 3.938 kB / 371.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.2827, allocations: 23.84 kB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.2828, allocations: 23.91 kB / 371.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.283, allocations: 31.92 kB / 371.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.2831, allocations: 43.88 kB / 371.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.2832, allocations: 8 kB / 371.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.2833, allocations: 19.92 kB / 371.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.2834, allocations: 19.91 kB / 371.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.2835, allocations: 0 / 371.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.2836, allocations: 31.98 kB / 371.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.2836, allocations: 7.938 kB / 371.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.2837, allocations: 29.7 kB / 371.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.2839, allocations: 67.84 kB / 371.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.2839, allocations: 0 / 371.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2839, allocations: 0 / 371.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.96e-06/0.2839, allocations: 0 / 371.5 MB, free: 8.336 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.0005145/0.2844, allocations: 389.6 kB / 371.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2845, allocations: 8.031 kB / 371.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.2845, allocations: 7.953 kB / 371.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.2848, allocations: 190.9 kB / 372.1 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.2848, allocations: 0 / 372.1 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.2848, allocations: 4 kB / 372.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.285, allocations: 63.41 kB / 372.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2851, allocations: 0 / 372.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2851, allocations: 0 / 372.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-06/0.2851, allocations: 0 / 372.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.2852, allocations: 39.86 kB / 372.2 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.2857, allocations: 261 kB / 372.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.2859, allocations: 54.59 kB / 372.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.286, allocations: 3.984 kB / 372.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.286, allocations: 30.56 kB / 372.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 4.511e-06/0.286, allocations: 0 / 372.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006905/0.2867, allocations: 161.3 kB / 372.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.2868, allocations: 77.11 kB / 372.8 MB, free: 6.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.287, allocations: 125.8 kB / 372.9 MB, free: 6.742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.287, allocations: 29.7 kB / 373 MB, free: 6.707 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.2871, allocations: 166.5 kB / 373.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.2872, allocations: 11.75 kB / 373.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-06/0.2872, allocations: 3.938 kB / 373.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2874, allocations: 318.8 kB / 373.4 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.2875, allocations: 23.98 kB / 373.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.2876, allocations: 41.69 kB / 373.5 MB, free: 6.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.2878, allocations: 57.7 kB / 373.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2878, allocations: 4 kB / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003021/0.2881, allocations: 115.7 kB / 373.7 MB, free: 5.945 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.2881, allocations: 32.36 kB / 373.7 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2882, allocations: 0 / 373.7 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2882, allocations: 7.953 kB / 373.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.2883, allocations: 19.92 kB / 373.7 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.387e-06/0.2883, allocations: 0 / 373.7 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.2884, allocations: 4 kB / 373.7 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.2884, allocations: 15.98 kB / 373.8 MB, free: 5.863 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.0001202/0.2886, allocations: 113.8 kB / 373.9 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.2886, allocations: 7.906 kB / 373.9 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.2889, allocations: 93.94 kB / 374 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.2889, allocations: 7.953 kB / 374 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.473e-06/0.289, allocations: 4 kB / 374 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.585e-06/0.289, allocations: 0 / 374 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/0.2896, allocations: 350.5 kB / 374.3 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.338e-06/0.2896, allocations: 3.938 kB / 374.3 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.207e-05/0.2897, allocations: 19.98 kB / 374.3 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.2897, allocations: 3.953 kB / 374.4 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.2897, allocations: 4 kB / 374.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.908e-06/0.2898, allocations: 0 / 374.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.52e-06/0.2898, allocations: 0 / 374.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.2901, allocations: 191.4 kB / 374.5 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.2902, allocations: 77.11 kB / 374.6 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.2902, allocations: 7.953 kB / 374.6 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.2903, allocations: 4 kB / 374.6 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.2904, allocations: 7.984 kB / 374.6 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.762e-06/0.2904, allocations: 4 kB / 374.6 MB, free: 4.875 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.904e-05/0.2905, allocations: 95.27 kB / 374.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.16e-07/0.2905, allocations: 0 / 374.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000358/0.2909, allocations: 28 kB / 374.8 MB, free: 4.754 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.001259/0.2922, allocations: 383.4 kB / 375.1 MB, free: 4.461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.2925, allocations: 123.3 kB / 375.3 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2925, allocations: 0 / 375.3 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.2926, allocations: 27.98 kB / 375.3 MB, free: 4.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.2929, allocations: 14.78 kB / 375.3 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.2934, allocations: 190.4 kB / 375.5 MB, free: 4.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.2938, allocations: 0.6887 MB / 376.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.2939, allocations: 11.44 kB / 376.2 MB, free: 3.344 MB / 298.7 MB Notification: Performance of SimCode: time 1.591e-06/0.2939, allocations: 0 / 376.2 MB, free: 3.344 MB / 298.7 MB Notification: Performance of Templates: time 0.003937/0.2978, allocations: 1.459 MB / 377.6 MB, free: 1.883 MB / 298.7 MB