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.Test11.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.Test11,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.Test11") Notification: Performance of loadModel(ModelicaTest): time 1.901/1.901, allocations: 209.3 MB / 224.8 MB, free: 288 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.0004361, allocations: 16 kB / 282.5 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2786, allocations: 48.7 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.001729/0.2804, allocations: 1.204 MB / 332.4 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005232/0.2809, allocations: 244.8 kB / 332.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.281, allocations: 0 / 332.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.2812, allocations: 14.55 kB / 332.6 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.2813, allocations: 30.53 kB / 332.7 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.2814, allocations: 26.52 kB / 332.7 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2816, allocations: 40.84 kB / 332.7 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.015e-05/0.2817, allocations: 11.02 kB / 332.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.075e-05/0.2817, allocations: 22.5 kB / 332.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.2818, allocations: 12.17 kB / 332.8 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.2818, allocations: 1.719 kB / 332.8 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.234e-05/0.2819, allocations: 20.47 kB / 332.8 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.2819, allocations: 10.97 kB / 332.8 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.282, allocations: 32.39 kB / 332.8 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.2821, allocations: 43.83 kB / 332.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.679e-06/0.2821, allocations: 4 kB / 332.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.518e-06/0.2821, allocations: 1.438 kB / 332.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.682e-06/0.2822, allocations: 4 kB / 332.9 MB, free: 5.59 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.0003583/0.2825, allocations: 393.4 kB / 333.3 MB, free: 5.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2826, allocations: 8.344 kB / 333.3 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.2826, allocations: 11.59 kB / 333.3 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.2828, allocations: 183.4 kB / 333.5 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.2828, allocations: 5.281 kB / 333.5 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.2828, allocations: 1.969 kB / 333.5 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.283, allocations: 55.25 kB / 333.5 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.283, allocations: 0.75 kB / 333.5 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.283, allocations: 1.156 kB / 333.5 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-06/0.283, allocations: 3.938 kB / 333.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2832, allocations: 26.73 kB / 333.6 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.2835, allocations: 277.2 kB / 333.8 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.2837, allocations: 50.25 kB / 333.9 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.2838, allocations: 1.5 kB / 333.9 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.2838, allocations: 32.73 kB / 333.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.062e-06/0.2838, allocations: 0 / 333.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006363/0.2844, allocations: 156.3 kB / 334.1 MB, free: 4.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.2845, allocations: 52.53 kB / 334.1 MB, free: 4.418 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.2847, allocations: 167.9 kB / 334.3 MB, free: 4.297 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.2847, allocations: 29.7 kB / 334.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.2847, allocations: 160.8 kB / 334.5 MB, free: 4.105 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.2848, allocations: 15.53 kB / 334.5 MB, free: 4.094 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-06/0.2848, allocations: 4 kB / 334.5 MB, free: 4.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.2848, allocations: 312.9 kB / 334.8 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.285, allocations: 23.77 kB / 334.8 MB, free: 3.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.864e-05/0.2851, allocations: 28.67 kB / 334.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.2852, allocations: 53.66 kB / 334.9 MB, free: 3.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-06/0.2852, allocations: 0 / 334.9 MB, free: 3.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002529/0.2855, allocations: 118.4 kB / 335 MB, free: 3.648 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.2855, allocations: 35.34 kB / 335.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.2855, allocations: 0 / 335.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2855, allocations: 0.9375 kB / 335.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.602e-05/0.2856, allocations: 14.83 kB / 335.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.026e-06/0.2857, allocations: 0.7031 kB / 335.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.2857, allocations: 7.469 kB / 335.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2857, allocations: 9.359 kB / 335.1 MB, free: 3.605 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.605e-05/0.2858, allocations: 121.9 kB / 335.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.2859, allocations: 8.766 kB / 335.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.2862, allocations: 97.89 kB / 335.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.129e-06/0.2862, allocations: 1.062 kB / 335.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.785e-06/0.2862, allocations: 0 / 335.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2862, allocations: 0.5156 kB / 335.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.2867, allocations: 363.2 kB / 335.7 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.516e-06/0.2867, allocations: 3.938 kB / 335.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-05/0.2868, allocations: 17.8 kB / 335.7 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.245e-06/0.2868, allocations: 0 / 335.7 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2868, allocations: 5.703 kB / 335.7 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.958e-06/0.2868, allocations: 1.406 kB / 335.7 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-06/0.2869, allocations: 0 / 335.7 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.2871, allocations: 189.2 kB / 335.9 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.2872, allocations: 88.72 kB / 336 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.2872, allocations: 0.6094 kB / 336 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.2873, allocations: 10.22 kB / 336 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.2873, allocations: 6 kB / 336 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.178e-06/0.2874, allocations: 1.125 kB / 336 MB, free: 2.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.2875, allocations: 125.8 kB / 336.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.2875, allocations: 0 / 336.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.2878, allocations: 14.84 kB / 336.1 MB, free: 2.727 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.000683/0.2885, allocations: 257.4 kB / 336.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002786/0.2888, allocations: 111 kB / 336.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.804e-06/0.2888, allocations: 0 / 336.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.2889, allocations: 31.16 kB / 336.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.2892, allocations: 9.578 kB / 336.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.2896, allocations: 219.9 kB / 336.7 MB, free: 2.289 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.2898, allocations: 0.6944 MB / 337.4 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.2899, allocations: 20.66 kB / 337.5 MB, free: 1.578 MB / 266.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2899, allocations: 0 / 337.5 MB, free: 1.578 MB / 266.7 MB Notification: Performance of Templates: time 0.00331/0.2932, allocations: 1.187 MB / 338.6 MB, free: 1.285 MB / 266.7 MB