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.CombiTimeTable.Test2.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.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.848/1.848, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.361e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08841/0.08847, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3371/0.4257, allocations: 75.72 MB / 402.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.4259, allocations: 79.31 kB / 402.3 MB, free: 9.996 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0146/0.4406, allocations: 3.814 MB / 406.2 MB, free: 8.531 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4406, allocations: 0 / 406.2 MB, free: 8.531 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.4406, allocations: 0 / 406.2 MB, free: 8.531 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003621/0.441, allocations: 414 kB / 406.6 MB, free: 8.105 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.441, allocations: 7.688 kB / 406.6 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.4411, allocations: 7.875 kB / 406.6 MB, free: 8.102 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.4413, allocations: 197.4 kB / 406.8 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.4413, allocations: 3.875 kB / 406.8 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.4414, allocations: 7.25 kB / 406.8 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.861e-05/0.4415, allocations: 48.86 kB / 406.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4415, allocations: 0 / 406.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.4415, allocations: 0 / 406.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-06/0.4415, allocations: 0 / 406.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.896e-05/0.4416, allocations: 19.19 kB / 406.8 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.442, allocations: 288.4 kB / 407.1 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.4422, allocations: 41.44 kB / 407.2 MB, free: 7.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.4422, allocations: 16.05 kB / 407.2 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.4423, allocations: 0 / 407.2 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.4424, allocations: 58.47 kB / 407.2 MB, free: 7.457 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.381e-06/0.4424, allocations: 0 / 407.2 MB, free: 7.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000392/0.4428, allocations: 117 kB / 407.4 MB, free: 7.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.4428, allocations: 51.41 kB / 407.4 MB, free: 7.332 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.443, allocations: 134.6 kB / 407.5 MB, free: 7.227 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.443, allocations: 32.86 kB / 407.6 MB, free: 7.195 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.4431, allocations: 158 kB / 407.7 MB, free: 7.043 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.4431, allocations: 19.5 kB / 407.7 MB, free: 7.031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-06/0.4431, allocations: 7.938 kB / 407.7 MB, free: 7.023 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.4432, allocations: 314.7 kB / 408.1 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.4432, allocations: 25.83 kB / 408.1 MB, free: 6.707 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.4433, allocations: 22.53 kB / 408.1 MB, free: 6.707 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.352e-05/0.4434, allocations: 51.81 kB / 408.2 MB, free: 6.672 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-06/0.4434, allocations: 0 / 408.2 MB, free: 6.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002134/0.4436, allocations: 127.2 kB / 408.3 MB, free: 6.598 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.4437, allocations: 40.81 kB / 408.3 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4437, allocations: 80 / 408.3 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4437, allocations: 7.844 kB / 408.3 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.4438, allocations: 7.719 kB / 408.3 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4438, allocations: 3.984 kB / 408.3 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.004e-05/0.4439, allocations: 3.844 kB / 408.3 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.4439, allocations: 3.953 kB / 408.3 MB, free: 6.547 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.686e-05/0.444, allocations: 116.1 kB / 408.5 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.444, allocations: 7.656 kB / 408.5 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.4442, allocations: 82.3 kB / 408.5 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.4443, allocations: 7.969 kB / 408.6 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.504e-06/0.4443, allocations: 0 / 408.6 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.787e-06/0.4443, allocations: 0 / 408.6 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.4446, allocations: 353.5 kB / 408.9 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-06/0.4447, allocations: 0 / 408.9 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.4447, allocations: 7.719 kB / 408.9 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.08e-06/0.4447, allocations: 0 / 408.9 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.4448, allocations: 0 / 408.9 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.586e-06/0.4448, allocations: 96 / 408.9 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4448, allocations: 3.938 kB / 408.9 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.445, allocations: 185.7 kB / 409.1 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.445, allocations: 81.02 kB / 409.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.4451, allocations: 7.531 kB / 409.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.4452, allocations: 0 / 409.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.4452, allocations: 7.828 kB / 409.2 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4452, allocations: 0 / 409.2 MB, free: 5.801 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.304e-05/0.4453, allocations: 120.2 kB / 409.3 MB, free: 5.719 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.4453, allocations: 4 kB / 409.3 MB, free: 5.715 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003668/0.4457, allocations: 38.08 kB / 409.3 MB, free: 5.703 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001028/0.4468, allocations: 337.5 kB / 409.7 MB, free: 5.496 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.447, allocations: 115.8 kB / 409.8 MB, free: 5.426 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.278e-06/0.447, allocations: 7.938 kB / 409.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.434e-05/0.4471, allocations: 19.34 kB / 409.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.4474, allocations: 14.95 kB / 409.8 MB, free: 5.414 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.4477, allocations: 141.7 kB / 410 MB, free: 5.293 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.4478, allocations: 0.6995 MB / 410.7 MB, free: 4.586 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.4479, allocations: 11.28 kB / 410.7 MB, free: 4.578 MB / 314.7 MB Notification: Performance of SimCode: time 1.517e-06/0.4479, allocations: 0 / 410.7 MB, free: 4.578 MB / 314.7 MB Notification: Performance of Templates: time 0.003586/0.4515, allocations: 1.639 MB / 412.3 MB, free: 3.75 MB / 314.7 MB