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.Test7.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.Test7,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.Test7") Notification: Performance of loadModel(ModelicaTest): time 1.882/1.882, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.133e-05/4.152e-05, allocations: 8 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 48.69 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.337/0.4498, allocations: 75.78 MB / 402.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.45, allocations: 70.62 kB / 402.4 MB, free: 10.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01501/0.4651, allocations: 4.261 MB / 406.7 MB, free: 8.406 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.876e-06/0.4651, allocations: 0 / 406.7 MB, free: 8.406 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.4651, allocations: 0 / 406.7 MB, free: 8.406 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.0003874/0.4655, allocations: 429.2 kB / 407.1 MB, free: 7.973 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4656, allocations: 11.28 kB / 407.1 MB, free: 7.973 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.4656, allocations: 7.75 kB / 407.1 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.4659, allocations: 212.2 kB / 407.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.4659, allocations: 3.812 kB / 407.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.4659, allocations: 7.875 kB / 407.3 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.466, allocations: 51.33 kB / 407.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4661, allocations: 0 / 407.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4661, allocations: 0 / 407.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-06/0.4661, allocations: 0 / 407.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.372e-05/0.4662, allocations: 13.81 kB / 407.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.4665, allocations: 304.2 kB / 407.7 MB, free: 7.406 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.4667, allocations: 45.59 kB / 407.7 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.4668, allocations: 16.44 kB / 407.7 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.4668, allocations: 3.75 kB / 407.7 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.4669, allocations: 56.97 kB / 407.8 MB, free: 7.312 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.436e-06/0.4669, allocations: 0 / 407.8 MB, free: 7.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003771/0.4673, allocations: 124.6 kB / 407.9 MB, free: 7.242 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.4674, allocations: 51.41 kB / 408 MB, free: 7.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.4676, allocations: 209.4 kB / 408.2 MB, free: 7.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.4676, allocations: 25.7 kB / 408.2 MB, free: 7.039 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.4677, allocations: 168.3 kB / 408.4 MB, free: 6.891 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.4677, allocations: 15.64 kB / 408.4 MB, free: 6.879 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.048e-06/0.4677, allocations: 3.312 kB / 408.4 MB, free: 6.879 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.4678, allocations: 310.8 kB / 408.7 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.4679, allocations: 26.47 kB / 408.7 MB, free: 6.562 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.311e-05/0.4679, allocations: 22.86 kB / 408.7 MB, free: 6.559 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.488e-05/0.468, allocations: 58.98 kB / 408.8 MB, free: 6.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-06/0.468, allocations: 0 / 408.8 MB, free: 6.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002122/0.4683, allocations: 126.8 kB / 408.9 MB, free: 6.441 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.4683, allocations: 33.55 kB / 408.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4683, allocations: 0 / 408.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4683, allocations: 3.984 kB / 408.9 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.4684, allocations: 10.12 kB / 409 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.944e-06/0.4684, allocations: 0 / 409 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.4685, allocations: 11.78 kB / 409 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.4685, allocations: 7.906 kB / 409 MB, free: 6.395 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.741e-05/0.4686, allocations: 115.8 kB / 409.1 MB, free: 6.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.4686, allocations: 7.844 kB / 409.1 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.4689, allocations: 98.44 kB / 409.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.77e-06/0.4689, allocations: 3.875 kB / 409.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.766e-06/0.4689, allocations: 0 / 409.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.839e-06/0.4689, allocations: 0 / 409.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.4693, allocations: 374.5 kB / 409.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.657e-06/0.4693, allocations: 0 / 409.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.4694, allocations: 7.797 kB / 409.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.202e-06/0.4694, allocations: 0 / 409.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4694, allocations: 3.906 kB / 409.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.178e-06/0.4694, allocations: 0 / 409.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-06/0.4694, allocations: 0 / 409.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.4696, allocations: 182.3 kB / 409.8 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.4697, allocations: 100.1 kB / 409.8 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.4697, allocations: 0 / 409.8 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/0.4698, allocations: 3.844 kB / 409.9 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.4699, allocations: 7.234 kB / 409.9 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.4699, allocations: 3.844 kB / 409.9 MB, free: 5.629 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.47, allocations: 178.2 kB / 410 MB, free: 5.531 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.47, allocations: 0 / 410 MB, free: 5.531 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003635/0.4704, allocations: 41.83 kB / 410.1 MB, free: 5.52 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.001014/0.4714, allocations: 349 kB / 410.4 MB, free: 5.316 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.4717, allocations: 115.2 kB / 410.5 MB, free: 5.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.651e-06/0.4717, allocations: 0 / 410.5 MB, free: 5.242 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.643e-05/0.4718, allocations: 22.59 kB / 410.6 MB, free: 5.242 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.472, allocations: 22.48 kB / 410.6 MB, free: 5.234 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.4725, allocations: 205.2 kB / 410.8 MB, free: 5.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.4726, allocations: 0.7147 MB / 411.5 MB, free: 4.375 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.4727, allocations: 15.12 kB / 411.5 MB, free: 4.367 MB / 314.7 MB Notification: Performance of SimCode: time 1.63e-06/0.4727, allocations: 0 / 411.5 MB, free: 4.367 MB / 314.7 MB Notification: Performance of Templates: time 0.003691/0.4764, allocations: 1.854 MB / 413.4 MB, free: 3.441 MB / 314.7 MB