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.CombiTable1D.Test21.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.CombiTable1D.Test21,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.CombiTable1D.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.789/1.789, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.822e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08438/0.08443, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3999/0.4844, allocations: 74.66 MB / 401.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.4847, allocations: 73.41 kB / 401.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01839/0.5031, allocations: 3.224 MB / 404.5 MB, free: 9.109 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.634e-06/0.5032, allocations: 0 / 404.5 MB, free: 9.109 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.5032, allocations: 0 / 404.5 MB, free: 9.109 MB / 314.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.0004308/0.5037, allocations: 394.3 kB / 404.9 MB, free: 8.695 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.5038, allocations: 7.688 kB / 404.9 MB, free: 8.695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.5038, allocations: 7.781 kB / 404.9 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.5041, allocations: 182.5 kB / 405.1 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.5041, allocations: 3.188 kB / 405.1 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.5042, allocations: 3.969 kB / 405.1 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.5044, allocations: 65.97 kB / 405.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.5044, allocations: 0 / 405.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.5044, allocations: 0 / 405.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.5045, allocations: 0 / 405.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.5046, allocations: 18.61 kB / 405.2 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.5051, allocations: 278.9 kB / 405.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.5054, allocations: 48.91 kB / 405.5 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.5055, allocations: 16.39 kB / 405.5 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.5056, allocations: 0 / 405.5 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.5056, allocations: 34.55 kB / 405.5 MB, free: 8.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 3.237e-06/0.5056, allocations: 0 / 405.5 MB, free: 8.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006604/0.5063, allocations: 119.9 kB / 405.7 MB, free: 7.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.5064, allocations: 81.11 kB / 405.7 MB, free: 7.895 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.5065, allocations: 115.7 kB / 405.8 MB, free: 7.797 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.5066, allocations: 25.7 kB / 405.9 MB, free: 7.766 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.5066, allocations: 160 kB / 406 MB, free: 7.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.5067, allocations: 19.64 kB / 406 MB, free: 7.598 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.5067, allocations: 2.812 kB / 406 MB, free: 7.598 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.5068, allocations: 318.6 kB / 406.4 MB, free: 7.281 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.5069, allocations: 15.19 kB / 406.4 MB, free: 7.281 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.774e-05/0.507, allocations: 40.3 kB / 406.4 MB, free: 7.254 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.435e-05/0.5071, allocations: 40.83 kB / 406.5 MB, free: 7.219 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.509e-06/0.5072, allocations: 3.594 kB / 406.5 MB, free: 7.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002649/0.5074, allocations: 99.27 kB / 406.6 MB, free: 7.148 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.5075, allocations: 33.56 kB / 406.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.627e-06/0.5075, allocations: 0 / 406.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.5076, allocations: 0 / 406.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.5077, allocations: 11.72 kB / 406.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.5078, allocations: 3.906 kB / 406.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.5079, allocations: 15.05 kB / 406.6 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.508, allocations: 3.875 kB / 406.6 MB, free: 7.105 MB / 314.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 () * 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 8.06e-05/0.5081, allocations: 104.9 kB / 406.7 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.5081, allocations: 3.906 kB / 406.7 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.5085, allocations: 85.58 kB / 406.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.746e-06/0.5085, allocations: 0 / 406.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.556e-06/0.5085, allocations: 3.656 kB / 406.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.27e-06/0.5085, allocations: 4 kB / 406.8 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.5091, allocations: 326 kB / 407.1 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.246e-06/0.5091, allocations: 0 / 407.1 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.5093, allocations: 22.7 kB / 407.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.886e-06/0.5093, allocations: 0 / 407.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.5094, allocations: 3 kB / 407.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.792e-06/0.5094, allocations: 0 / 407.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.153e-06/0.5094, allocations: 0 / 407.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.5097, allocations: 171.4 kB / 407.3 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.5097, allocations: 85.02 kB / 407.4 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.5098, allocations: 3.844 kB / 407.4 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.51, allocations: 7.891 kB / 407.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.5101, allocations: 7.031 kB / 407.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.5101, allocations: 0 / 407.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.386e-05/0.5102, allocations: 94.73 kB / 407.5 MB, free: 6.293 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.358e-06/0.5103, allocations: 4 kB / 407.5 MB, free: 6.289 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006598/0.5109, allocations: 29.72 kB / 407.6 MB, free: 6.281 MB / 314.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 () * 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.00131/0.5123, allocations: 316.7 kB / 407.9 MB, free: 6.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.5126, allocations: 96.95 kB / 408 MB, free: 6.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.282e-06/0.5126, allocations: 0 / 408 MB, free: 6.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.98e-05/0.5127, allocations: 22.5 kB / 408 MB, free: 6.016 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.5131, allocations: 7.406 kB / 408 MB, free: 6.016 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.5136, allocations: 130.4 kB / 408.1 MB, free: 5.895 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.5138, allocations: 0.6921 MB / 408.8 MB, free: 5.191 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.5139, allocations: 15.22 kB / 408.8 MB, free: 5.184 MB / 314.7 MB Notification: Performance of SimCode: time 2.303e-06/0.5139, allocations: 0 / 408.8 MB, free: 5.184 MB / 314.7 MB Notification: Performance of Templates: time 0.005234/0.5192, allocations: 1.471 MB / 410.3 MB, free: 4.438 MB / 314.7 MB