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.CombiTable2D.Test2.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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.949/1.949, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.00044, allocations: 12 kB / 282.5 MB, free: 9.641 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2821, allocations: 48.7 MB / 331.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.001868/0.284, allocations: 1.226 MB / 332.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005817/0.2846, allocations: 259.5 kB / 332.7 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.2847, allocations: 1.406 kB / 332.7 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006087/0.2853, allocations: 437.1 kB / 333.1 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.2857, allocations: 234.1 kB / 333.3 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.2858, allocations: 31.95 kB / 333.4 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.286, allocations: 111.9 kB / 333.5 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.994e-05/0.2862, allocations: 12.31 kB / 333.5 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.2863, allocations: 99.48 kB / 333.6 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.2866, allocations: 146.4 kB / 333.7 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.2866, allocations: 1.281 kB / 333.7 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.421e-05/0.2867, allocations: 16.52 kB / 333.7 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.079e-05/0.2868, allocations: 78.73 kB / 333.8 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.2868, allocations: 63.45 kB / 333.9 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.2871, allocations: 168.4 kB / 334 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.42e-06/0.2871, allocations: 0 / 334 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.049e-06/0.2871, allocations: 4 kB / 334 MB, free: 5.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.2872, allocations: 0 / 334 MB, free: 5.484 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006725/0.2878, allocations: 0.5935 MB / 334.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2879, allocations: 9.344 kB / 334.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.288, allocations: 44.81 kB / 334.7 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.2882, allocations: 263.6 kB / 334.9 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.2883, allocations: 7.109 kB / 335 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.2883, allocations: 10.28 kB / 335 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.2885, allocations: 61.34 kB / 335 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2885, allocations: 0 / 335 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2885, allocations: 0.6562 kB / 335 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-06/0.2885, allocations: 1.156 kB / 335 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.2887, allocations: 31.05 kB / 335.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.2892, allocations: 387.8 kB / 335.4 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.2894, allocations: 46.28 kB / 335.5 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.2894, allocations: 1.188 kB / 335.5 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.2895, allocations: 32.94 kB / 335.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 4.097e-06/0.2895, allocations: 0 / 335.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007468/0.2902, allocations: 239 kB / 335.7 MB, free: 4.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.2903, allocations: 52.78 kB / 335.8 MB, free: 4.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.2913, allocations: 0.8533 MB / 336.6 MB, free: 3.594 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.2913, allocations: 26.55 kB / 336.7 MB, free: 3.562 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.2915, allocations: 237 kB / 336.9 MB, free: 3.336 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.2915, allocations: 21.97 kB / 336.9 MB, free: 3.316 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.2915, allocations: 1.094 kB / 336.9 MB, free: 3.316 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.2916, allocations: 315.9 kB / 337.2 MB, free: 3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2917, allocations: 27.06 kB / 337.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.895e-05/0.2918, allocations: 28.3 kB / 337.3 MB, free: 2.977 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.292, allocations: 54.66 kB / 337.3 MB, free: 2.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.292, allocations: 0 / 337.3 MB, free: 2.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002743/0.2923, allocations: 117.1 kB / 337.5 MB, free: 2.848 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.2923, allocations: 31.02 kB / 337.5 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.687e-06/0.2923, allocations: 5.469 kB / 337.5 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2923, allocations: 0 / 337.5 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.2925, allocations: 15.52 kB / 337.5 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2925, allocations: 5.469 kB / 337.5 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.704e-05/0.2926, allocations: 8.344 kB / 337.5 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.2926, allocations: 2.875 kB / 337.5 MB, free: 2.801 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 0.0001965/0.2928, allocations: 216.2 kB / 337.7 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.2929, allocations: 41.22 kB / 337.8 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.2933, allocations: 139.3 kB / 337.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.862e-06/0.2933, allocations: 3.938 kB / 337.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.618e-06/0.2933, allocations: 4 kB / 337.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.971e-06/0.2933, allocations: 5.109 kB / 337.9 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.294, allocations: 464.2 kB / 338.4 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.401e-06/0.294, allocations: 0 / 338.4 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.818e-05/0.2941, allocations: 18.95 kB / 338.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.113e-06/0.2941, allocations: 1.375 kB / 338.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.2941, allocations: 1 kB / 338.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.841e-06/0.2941, allocations: 3.984 kB / 338.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.463e-06/0.2941, allocations: 1.312 kB / 338.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.2944, allocations: 229 kB / 338.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.2945, allocations: 105.5 kB / 338.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.2945, allocations: 5.156 kB / 338.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.2947, allocations: 5.531 kB / 338.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.2947, allocations: 5.672 kB / 338.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.491e-06/0.2948, allocations: 6.844 kB / 338.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007239/0.2955, allocations: 0.638 MB / 339.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.6e-07/0.2955, allocations: 0 / 339.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003778/0.2959, allocations: 33.17 kB / 339.4 MB, free: 1.48 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.0007067/0.2966, allocations: 240.4 kB / 339.7 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.2969, allocations: 119.2 kB / 339.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.163e-06/0.297, allocations: 0 / 339.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.2971, allocations: 31.25 kB / 339.8 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.2974, allocations: 14.66 kB / 339.8 MB, free: 1.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.2987, allocations: 0.845 MB / 340.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.2991, allocations: 0.8299 MB / 341.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.2992, allocations: 11.28 kB / 341.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.64e-06/0.2992, allocations: 0 / 341.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of Templates: time 0.009247/0.3084, allocations: 3.355 MB / 344.9 MB, free: 14.2 MB / 282.7 MB