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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 1.962/1.962, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.11e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08884/0.08891, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3416/0.4305, allocations: 74.39 MB / 400.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.4307, allocations: 70.95 kB / 401 MB, free: 10.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009403/0.4402, allocations: 2.571 MB / 403.6 MB, free: 9.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.785e-06/0.4402, allocations: 4 kB / 403.6 MB, free: 9.336 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.4402, allocations: 3.812 kB / 403.6 MB, free: 9.336 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.0003068/0.4405, allocations: 387 kB / 404 MB, free: 8.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.4406, allocations: 7.719 kB / 404 MB, free: 8.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.4406, allocations: 7.812 kB / 404 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.4408, allocations: 190.4 kB / 404.2 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.4408, allocations: 3.812 kB / 404.2 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.4409, allocations: 0 / 404.2 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.441, allocations: 48.09 kB / 404.2 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.441, allocations: 3.812 kB / 404.2 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-06/0.441, allocations: 0 / 404.2 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-06/0.441, allocations: 0 / 404.2 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.434e-05/0.4411, allocations: 11.47 kB / 404.2 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.4415, allocations: 293 kB / 404.5 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.4416, allocations: 41.28 kB / 404.6 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.4417, allocations: 15.64 kB / 404.6 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.4417, allocations: 0 / 404.6 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.4417, allocations: 34.64 kB / 404.6 MB, free: 8.301 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.882e-06/0.4418, allocations: 0 / 404.6 MB, free: 8.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004219/0.4422, allocations: 108.5 kB / 404.7 MB, free: 8.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.4422, allocations: 59.39 kB / 404.8 MB, free: 8.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.4423, allocations: 123 kB / 404.9 MB, free: 8.074 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.4424, allocations: 29.55 kB / 404.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.4424, allocations: 157.6 kB / 405.1 MB, free: 7.895 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.4424, allocations: 15.59 kB / 405.1 MB, free: 7.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-06/0.4425, allocations: 3.375 kB / 405.1 MB, free: 7.883 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.4425, allocations: 318.7 kB / 405.4 MB, free: 7.562 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/0.4426, allocations: 14.86 kB / 405.4 MB, free: 7.559 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.579e-05/0.4426, allocations: 23 kB / 405.4 MB, free: 7.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.265e-05/0.4427, allocations: 45.28 kB / 405.5 MB, free: 7.516 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-06/0.4427, allocations: 3.938 kB / 405.5 MB, free: 7.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000147/0.4428, allocations: 96.73 kB / 405.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.4429, allocations: 32.61 kB / 405.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.556e-06/0.4429, allocations: 3.5 kB / 405.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.4429, allocations: 0 / 405.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4431, allocations: 15.2 kB / 405.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.233e-06/0.4431, allocations: 0 / 405.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.4431, allocations: 7.781 kB / 405.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4432, allocations: 3.875 kB / 405.6 MB, free: 7.402 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 4.736e-05/0.4432, allocations: 104.9 kB / 405.7 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.4433, allocations: 11.03 kB / 405.8 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.4435, allocations: 81.33 kB / 405.8 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.741e-06/0.4435, allocations: 0 / 405.8 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.387e-06/0.4435, allocations: 0 / 405.8 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.523e-06/0.4435, allocations: 3.984 kB / 405.8 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.4439, allocations: 338.7 kB / 406.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4439, allocations: 3.984 kB / 406.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.251e-05/0.444, allocations: 11.62 kB / 406.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.737e-06/0.444, allocations: 0 / 406.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.444, allocations: 0 / 406.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.528e-06/0.444, allocations: 0 / 406.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-06/0.444, allocations: 0 / 406.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.4442, allocations: 177.4 kB / 406.4 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.4442, allocations: 84.83 kB / 406.4 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.4443, allocations: 4 kB / 406.4 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.4444, allocations: 7.828 kB / 406.4 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.4444, allocations: 7.953 kB / 406.5 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.839e-06/0.4444, allocations: 3.984 kB / 406.5 MB, free: 6.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.338e-05/0.4445, allocations: 104 kB / 406.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.98e-07/0.4445, allocations: 0 / 406.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000317/0.4449, allocations: 19.38 kB / 406.6 MB, free: 6.57 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.000642/0.4455, allocations: 244.7 kB / 406.8 MB, free: 6.414 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.4457, allocations: 85.78 kB / 406.9 MB, free: 6.352 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.601e-06/0.4457, allocations: 0 / 406.9 MB, free: 6.352 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.199e-05/0.4458, allocations: 33.48 kB / 406.9 MB, free: 6.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.446, allocations: 7.125 kB / 406.9 MB, free: 6.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.4463, allocations: 134.8 kB / 407.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.4465, allocations: 0.6883 MB / 407.8 MB, free: 5.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.4465, allocations: 11.38 kB / 407.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of SimCode: time 1.465e-06/0.4465, allocations: 0 / 407.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of Templates: time 0.002898/0.4494, allocations: 1.203 MB / 409 MB, free: 4.914 MB / 314.7 MB