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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.812/1.812, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.672e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08465, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3329/0.4176, allocations: 74.66 MB / 401.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.4179, allocations: 70.44 kB / 401.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01123/0.4291, allocations: 3.233 MB / 404.5 MB, free: 9.188 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.989e-06/0.4292, allocations: 0 / 404.5 MB, free: 9.188 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.4292, allocations: 0 / 404.5 MB, free: 9.188 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.0003116/0.4295, allocations: 387.1 kB / 404.9 MB, free: 8.781 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4296, allocations: 7.844 kB / 404.9 MB, free: 8.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.4296, allocations: 7.75 kB / 404.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.4298, allocations: 189.8 kB / 405.1 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.4298, allocations: 3.844 kB / 405.1 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.4298, allocations: 0 / 405.1 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.43, allocations: 62.16 kB / 405.1 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.43, allocations: 0 / 405.1 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.43, allocations: 2.688 kB / 405.1 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-06/0.43, allocations: 0 / 405.1 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.668e-05/0.4301, allocations: 22.45 kB / 405.2 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.4305, allocations: 284.4 kB / 405.4 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.4307, allocations: 39.86 kB / 405.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.4307, allocations: 16.55 kB / 405.5 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.4307, allocations: 3.984 kB / 405.5 MB, free: 8.172 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.4308, allocations: 37.19 kB / 405.5 MB, free: 8.129 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.113e-06/0.4308, allocations: 3.938 kB / 405.5 MB, free: 8.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000422/0.4312, allocations: 109.5 kB / 405.7 MB, free: 8.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.4312, allocations: 81.11 kB / 405.7 MB, free: 7.973 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.683e-05/0.4314, allocations: 114.9 kB / 405.8 MB, free: 7.879 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.4314, allocations: 29.58 kB / 405.9 MB, free: 7.848 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.4314, allocations: 158 kB / 406 MB, free: 7.695 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.4315, allocations: 19.5 kB / 406 MB, free: 7.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-06/0.4315, allocations: 3.25 kB / 406 MB, free: 7.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.4315, allocations: 314.8 kB / 406.4 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.916e-05/0.4316, allocations: 16.86 kB / 406.4 MB, free: 7.359 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.4317, allocations: 35.88 kB / 406.4 MB, free: 7.336 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.4317, allocations: 47.91 kB / 406.5 MB, free: 7.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4318, allocations: 0 / 406.5 MB, free: 7.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001766/0.4319, allocations: 96.05 kB / 406.5 MB, free: 7.234 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.432, allocations: 29.45 kB / 406.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.432, allocations: 3.875 kB / 406.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.432, allocations: 0 / 406.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.4321, allocations: 19.55 kB / 406.6 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.4322, allocations: 4.031 kB / 406.6 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.4322, allocations: 3.875 kB / 406.6 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.4323, allocations: 3.844 kB / 406.6 MB, free: 7.191 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 5.305e-05/0.4323, allocations: 111.9 kB / 406.7 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.4324, allocations: 3.906 kB / 406.7 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.4326, allocations: 84.89 kB / 406.8 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.973e-06/0.4326, allocations: 0 / 406.8 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.894e-06/0.4326, allocations: 0 / 406.8 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.749e-06/0.4326, allocations: 4 kB / 406.8 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.433, allocations: 335.4 kB / 407.1 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.433, allocations: 384 / 407.1 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.4331, allocations: 15.55 kB / 407.2 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.49e-06/0.4331, allocations: 0 / 407.2 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.887e-06/0.4331, allocations: 4 kB / 407.2 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.44e-06/0.4332, allocations: 0 / 407.2 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.747e-06/0.4332, allocations: 0 / 407.2 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.4333, allocations: 169 kB / 407.3 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.4334, allocations: 91.88 kB / 407.4 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.4334, allocations: 0 / 407.4 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.4335, allocations: 3.812 kB / 407.4 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.4336, allocations: 7.859 kB / 407.4 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-06/0.4336, allocations: 3.25 kB / 407.4 MB, free: 6.453 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.793e-05/0.4337, allocations: 92.38 kB / 407.5 MB, free: 6.379 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.4337, allocations: 4 kB / 407.5 MB, free: 6.375 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003546/0.434, allocations: 38.2 kB / 407.6 MB, free: 6.359 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.0008987/0.435, allocations: 310.7 kB / 407.9 MB, free: 6.172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.4352, allocations: 96.25 kB / 408 MB, free: 6.105 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.924e-06/0.4352, allocations: 0 / 408 MB, free: 6.105 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.968e-05/0.4352, allocations: 19.2 kB / 408 MB, free: 6.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.4355, allocations: 10.86 kB / 408 MB, free: 6.098 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.4358, allocations: 127.5 kB / 408.1 MB, free: 5.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.436, allocations: 0.6947 MB / 408.8 MB, free: 5.277 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.436, allocations: 19.14 kB / 408.8 MB, free: 5.266 MB / 314.7 MB Notification: Performance of SimCode: time 1.448e-06/0.436, allocations: 0 / 408.8 MB, free: 5.266 MB / 314.7 MB Notification: Performance of Templates: time 0.003312/0.4394, allocations: 1.466 MB / 410.3 MB, free: 4.523 MB / 314.7 MB