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.CombiTable1D.Test31.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.CombiTable1D.Test31,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.CombiTable1D.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.233/2.233, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.000439, allocations: 12 kB / 314.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.002113/0.2794, allocations: 1.215 MB / 370.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005992/0.28, allocations: 257.1 kB / 370.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.2801, allocations: 4 kB / 370.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.2804, allocations: 107.8 kB / 370.8 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.2806, allocations: 75.77 kB / 370.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.2808, allocations: 31.91 kB / 370.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.2809, allocations: 55.92 kB / 370.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.818e-05/0.281, allocations: 15.98 kB / 370.9 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.804e-05/0.2811, allocations: 39.89 kB / 371 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.2813, allocations: 51.86 kB / 371 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.2813, allocations: 4 kB / 371 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.452e-05/0.2814, allocations: 19.88 kB / 371.1 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.2814, allocations: 27.91 kB / 371.1 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.2815, allocations: 33.7 kB / 371.1 MB, free: 8.758 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.2817, allocations: 71.84 kB / 371.2 MB, free: 8.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.468e-06/0.2817, allocations: 0 / 371.2 MB, free: 8.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.139e-06/0.2817, allocations: 0 / 371.2 MB, free: 8.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.492e-06/0.2817, allocations: 0 / 371.2 MB, free: 8.688 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.0005609/0.2823, allocations: 425.3 kB / 371.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2823, allocations: 8.031 kB / 371.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.2824, allocations: 19.77 kB / 371.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.2826, allocations: 194.8 kB / 371.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2827, allocations: 0 / 371.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.2827, allocations: 4 kB / 371.8 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.2829, allocations: 49.67 kB / 371.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2829, allocations: 0 / 371.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2829, allocations: 4 kB / 371.9 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.544e-06/0.2829, allocations: 4 kB / 371.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.2831, allocations: 35.88 kB / 371.9 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.2836, allocations: 292.9 kB / 372.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.2838, allocations: 42.56 kB / 372.2 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.2839, allocations: 12.02 kB / 372.3 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.2839, allocations: 34.5 kB / 372.3 MB, free: 7.418 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.2839, allocations: 4 kB / 372.3 MB, free: 7.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007332/0.2847, allocations: 169.2 kB / 372.5 MB, free: 7.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.2848, allocations: 59.34 kB / 372.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.2851, allocations: 259.4 kB / 372.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.2852, allocations: 25.7 kB / 372.8 MB, free: 6.871 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.2853, allocations: 182.4 kB / 373 MB, free: 6.691 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.2853, allocations: 15.73 kB / 373 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.2854, allocations: 0 / 373 MB, free: 6.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2855, allocations: 322.8 kB / 373.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.2857, allocations: 23.98 kB / 373.3 MB, free: 6.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.772e-05/0.2858, allocations: 27.97 kB / 373.3 MB, free: 6.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.286, allocations: 61.69 kB / 373.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.347e-06/0.286, allocations: 0 / 373.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003204/0.2863, allocations: 115.4 kB / 373.5 MB, free: 6.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.2864, allocations: 33.69 kB / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.939e-06/0.2864, allocations: 0 / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2864, allocations: 3.953 kB / 373.6 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2865, allocations: 19.94 kB / 373.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.147e-06/0.2865, allocations: 0 / 373.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.63e-05/0.2866, allocations: 15.98 kB / 373.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.2866, allocations: 0 / 373.6 MB, free: 6.031 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.0001419/0.2868, allocations: 129.8 kB / 373.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.2869, allocations: 11.81 kB / 373.7 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.2872, allocations: 118.9 kB / 373.8 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.679e-06/0.2872, allocations: 3.953 kB / 373.9 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.024e-06/0.2873, allocations: 4.297 kB / 373.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2873, allocations: 0 / 373.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006544/0.2879, allocations: 378.5 kB / 374.2 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.433e-06/0.288, allocations: 4 kB / 374.2 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.299e-05/0.2881, allocations: 11.98 kB / 374.2 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.2881, allocations: 7.953 kB / 374.2 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.2881, allocations: 0 / 374.2 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.927e-06/0.2881, allocations: 3.938 kB / 374.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.815e-06/0.2881, allocations: 0 / 374.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.2885, allocations: 199.3 kB / 374.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.2885, allocations: 89.02 kB / 374.5 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.2886, allocations: 3.953 kB / 374.5 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2887, allocations: 7.984 kB / 374.5 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.2888, allocations: 8 kB / 374.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-06/0.2888, allocations: 0 / 374.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002319/0.289, allocations: 205.2 kB / 374.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.289, allocations: 0 / 374.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.2894, allocations: 12 kB / 374.8 MB, free: 4.758 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.0009772/0.2904, allocations: 301.5 kB / 375.1 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.2907, allocations: 119.3 kB / 375.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.023e-06/0.2908, allocations: 0 / 375.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.2909, allocations: 35.97 kB / 375.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.2912, allocations: 4.188 kB / 375.2 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.2918, allocations: 323.1 kB / 375.5 MB, free: 4.016 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.2923, allocations: 0.716 MB / 376.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.2923, allocations: 11.44 kB / 376.3 MB, free: 3.262 MB / 298.7 MB Notification: Performance of SimCode: time 1.424e-06/0.2923, allocations: 4 kB / 376.3 MB, free: 3.258 MB / 298.7 MB Notification: Performance of Templates: time 0.003875/0.2962, allocations: 1.433 MB / 377.7 MB, free: 1.824 MB / 298.7 MB