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.Test28.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.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.191/2.191, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.0004442, allocations: 15.98 kB / 314.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2813, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.002168/0.2835, allocations: 1.242 MB / 370.4 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006353/0.2842, allocations: 269.1 kB / 370.7 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.2843, allocations: 0 / 370.7 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.2845, allocations: 47.81 kB / 370.7 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.2846, allocations: 35.94 kB / 370.8 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.2848, allocations: 39.84 kB / 370.8 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.285, allocations: 43.94 kB / 370.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.775e-05/0.2851, allocations: 8 kB / 370.9 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.2851, allocations: 27.91 kB / 370.9 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2852, allocations: 39.83 kB / 370.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.2853, allocations: 0 / 370.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.2854, allocations: 12 kB / 370.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.2854, allocations: 19.92 kB / 371 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.2855, allocations: 29.7 kB / 371 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.2856, allocations: 51.92 kB / 371 MB, free: 8.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.2856, allocations: 0 / 371 MB, free: 8.836 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.715e-06/0.2856, allocations: 4 kB / 371 MB, free: 8.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.496e-06/0.2857, allocations: 0 / 371 MB, free: 8.832 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.0005524/0.2862, allocations: 417.3 kB / 371.5 MB, free: 8.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2863, allocations: 8.031 kB / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.2863, allocations: 11.86 kB / 371.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.2866, allocations: 186.9 kB / 371.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.2866, allocations: 8 kB / 371.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.2866, allocations: 7.938 kB / 371.7 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.2869, allocations: 61.67 kB / 371.7 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2869, allocations: 3.984 kB / 371.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.2869, allocations: 3.953 kB / 371.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-06/0.2869, allocations: 0 / 371.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.2871, allocations: 47.91 kB / 371.8 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.2876, allocations: 276.9 kB / 372.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.2878, allocations: 50.55 kB / 372.1 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.2878, allocations: 7.953 kB / 372.1 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.2879, allocations: 34.56 kB / 372.1 MB, free: 7.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.405e-06/0.2879, allocations: 0 / 372.1 MB, free: 7.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000963/0.2888, allocations: 245.3 kB / 372.4 MB, free: 7.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.2889, allocations: 55.39 kB / 372.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.2892, allocations: 183.2 kB / 372.6 MB, free: 7.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.2892, allocations: 29.64 kB / 372.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2893, allocations: 158.6 kB / 372.8 MB, free: 6.871 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.2894, allocations: 19.72 kB / 372.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.2894, allocations: 0 / 372.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2895, allocations: 322.8 kB / 373.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.2897, allocations: 43.97 kB / 373.2 MB, free: 6.484 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.2899, allocations: 43.97 kB / 373.2 MB, free: 6.441 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.2901, allocations: 69.69 kB / 373.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-06/0.2901, allocations: 0 / 373.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000425/0.2905, allocations: 155.2 kB / 373.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.2906, allocations: 33.7 kB / 373.5 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.2906, allocations: 3.984 kB / 373.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2906, allocations: 0 / 373.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.2908, allocations: 23.92 kB / 373.5 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.379e-06/0.2908, allocations: 4 kB / 373.5 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.351e-05/0.2909, allocations: 19.92 kB / 373.5 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.2909, allocations: 8 kB / 373.5 MB, free: 6.105 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.00014/0.2911, allocations: 121.8 kB / 373.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.141e-05/0.2912, allocations: 12.19 kB / 373.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/0.2916, allocations: 142.3 kB / 373.8 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.959e-06/0.2917, allocations: 7.922 kB / 373.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.927e-06/0.2917, allocations: 0 / 373.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2917, allocations: 4 kB / 373.8 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/0.2925, allocations: 410.8 kB / 374.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.2925, allocations: 0 / 374.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.2926, allocations: 23.98 kB / 374.2 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.103e-06/0.2926, allocations: 4 kB / 374.2 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.93e-06/0.2926, allocations: 0 / 374.2 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.83e-06/0.2927, allocations: 0 / 374.2 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.605e-06/0.2927, allocations: 3.984 kB / 374.2 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.2931, allocations: 235.4 kB / 374.5 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.2932, allocations: 81.02 kB / 374.6 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.2932, allocations: 4 kB / 374.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.2934, allocations: 19.98 kB / 374.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.2934, allocations: 7.984 kB / 374.6 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.117e-06/0.2934, allocations: 0 / 374.6 MB, free: 4.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001558/0.2936, allocations: 136.6 kB / 374.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.2936, allocations: 0 / 374.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.294, allocations: 12 kB / 374.7 MB, free: 4.797 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.0009737/0.295, allocations: 302 kB / 375 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004639/0.2954, allocations: 159.3 kB / 375.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.248e-06/0.2955, allocations: 0 / 375.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.2956, allocations: 51.97 kB / 375.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.2959, allocations: 15.89 kB / 375.2 MB, free: 4.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005661/0.2965, allocations: 258.8 kB / 375.5 MB, free: 4.055 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.2969, allocations: 0.7043 MB / 376.2 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.297, allocations: 11.44 kB / 376.2 MB, free: 3.312 MB / 298.7 MB Notification: Performance of SimCode: time 1.93e-06/0.297, allocations: 0 / 376.2 MB, free: 3.312 MB / 298.7 MB Notification: Performance of Templates: time 0.003758/0.3008, allocations: 1.347 MB / 377.6 MB, free: 1.965 MB / 298.7 MB