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.Test12.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.Test12,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.Test12") Notification: Performance of loadModel(ModelicaTest): time 1.851/1.851, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.545e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3283/0.4396, allocations: 74.39 MB / 400.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.4398, allocations: 67.83 kB / 401 MB, free: 10.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00973/0.4496, allocations: 2.664 MB / 403.7 MB, free: 9.277 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.798e-06/0.4496, allocations: 0 / 403.7 MB, free: 9.277 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.4497, allocations: 3.844 kB / 403.7 MB, free: 9.277 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.0004222/0.4501, allocations: 390.4 kB / 404 MB, free: 8.867 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4502, allocations: 11.81 kB / 404.1 MB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.4503, allocations: 7.875 kB / 404.1 MB, free: 8.859 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.4505, allocations: 192.7 kB / 404.2 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.4505, allocations: 3.875 kB / 404.3 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.4506, allocations: 0 / 404.3 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.4507, allocations: 44.56 kB / 404.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4507, allocations: 0 / 404.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-06/0.4507, allocations: 3.844 kB / 404.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-06/0.4507, allocations: 0 / 404.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.372e-05/0.4508, allocations: 14.97 kB / 404.3 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.4511, allocations: 294 kB / 404.6 MB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4513, allocations: 41.19 kB / 404.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.143e-05/0.4514, allocations: 11.52 kB / 404.7 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.4514, allocations: 0 / 404.7 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.4514, allocations: 38.41 kB / 404.7 MB, free: 8.242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.357e-06/0.4514, allocations: 3.938 kB / 404.7 MB, free: 8.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004118/0.4519, allocations: 113.8 kB / 404.8 MB, free: 8.184 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.4519, allocations: 51.41 kB / 404.9 MB, free: 8.121 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.452, allocations: 146.8 kB / 405 MB, free: 8.012 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.4521, allocations: 33.58 kB / 405 MB, free: 7.977 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.4521, allocations: 158.1 kB / 405.2 MB, free: 7.824 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.4522, allocations: 27.17 kB / 405.2 MB, free: 7.805 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-06/0.4522, allocations: 0 / 405.2 MB, free: 7.805 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.4522, allocations: 314.8 kB / 405.5 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.34e-05/0.4523, allocations: 18.81 kB / 405.5 MB, free: 7.488 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.4523, allocations: 11.47 kB / 405.5 MB, free: 7.488 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.207e-05/0.4524, allocations: 44.22 kB / 405.6 MB, free: 7.453 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-06/0.4524, allocations: 0 / 405.6 MB, free: 7.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001475/0.4526, allocations: 96.67 kB / 405.7 MB, free: 7.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.4526, allocations: 33.42 kB / 405.7 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.036e-06/0.4526, allocations: 7.938 kB / 405.7 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4526, allocations: 3.984 kB / 405.7 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.4527, allocations: 11.34 kB / 405.7 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.537e-06/0.4528, allocations: 0 / 405.7 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.4528, allocations: 11.61 kB / 405.8 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.4528, allocations: 3.938 kB / 405.8 MB, free: 7.332 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.771e-05/0.4529, allocations: 108.7 kB / 405.9 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.453, allocations: 7.75 kB / 405.9 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.4531, allocations: 86.11 kB / 406 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-06/0.4532, allocations: 0 / 406 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.734e-06/0.4532, allocations: 3.875 kB / 406 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.262e-06/0.4532, allocations: 0 / 406 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.4535, allocations: 344.3 kB / 406.3 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.072e-06/0.4536, allocations: 0 / 406.3 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-05/0.4537, allocations: 11.53 kB / 406.3 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.364e-06/0.4537, allocations: 4 kB / 406.3 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.231e-06/0.4537, allocations: 3.5 kB / 406.3 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.448e-06/0.4537, allocations: 3.844 kB / 406.3 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.615e-06/0.4537, allocations: 0 / 406.3 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.4539, allocations: 169.1 kB / 406.5 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.4539, allocations: 84.17 kB / 406.6 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.4539, allocations: 4.062 kB / 406.6 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.454, allocations: 15.83 kB / 406.6 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.4541, allocations: 3.844 kB / 406.6 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.596e-06/0.4541, allocations: 0 / 406.6 MB, free: 6.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.684e-05/0.4542, allocations: 125.9 kB / 406.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.98e-07/0.4542, allocations: 0 / 406.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.4546, allocations: 23.61 kB / 406.7 MB, free: 6.496 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.0006313/0.4552, allocations: 240.6 kB / 407 MB, free: 6.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.4554, allocations: 94.48 kB / 407.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4554, allocations: 0 / 407.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.884e-05/0.4555, allocations: 23.19 kB / 407.1 MB, free: 6.266 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.4557, allocations: 11.3 kB / 407.1 MB, free: 6.262 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.456, allocations: 157.5 kB / 407.2 MB, free: 6.141 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.4562, allocations: 0.7036 MB / 408 MB, free: 5.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.4562, allocations: 11.28 kB / 408 MB, free: 5.422 MB / 314.7 MB Notification: Performance of SimCode: time 1.469e-06/0.4563, allocations: 0 / 408 MB, free: 5.422 MB / 314.7 MB Notification: Performance of Templates: time 0.002905/0.4592, allocations: 1.268 MB / 409.2 MB, free: 4.789 MB / 314.7 MB