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.Test4.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.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 1.866/1.866, allocations: 209.3 MB / 222.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.335e-05, allocations: 4 kB / 277.8 MB, free: 12.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.08916, allocations: 48.7 MB / 326.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3746/0.4638, allocations: 75.77 MB / 402.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.464, allocations: 67.97 kB / 402.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01764/0.4817, allocations: 4.136 MB / 406.5 MB, free: 7.254 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4817, allocations: 0 / 406.5 MB, free: 7.254 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.4818, allocations: 0 / 406.5 MB, free: 7.254 MB / 330.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.0005257/0.4823, allocations: 420 kB / 406.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4824, allocations: 8.031 kB / 406.9 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.4824, allocations: 11.91 kB / 406.9 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.4827, allocations: 205.5 kB / 407.1 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.4828, allocations: 7.938 kB / 407.2 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.4828, allocations: 8 kB / 407.2 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.4829, allocations: 49.67 kB / 407.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.483, allocations: 0 / 407.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.483, allocations: 3.938 kB / 407.2 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.483, allocations: 0 / 407.2 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.936e-05/0.4831, allocations: 8 kB / 407.2 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.4835, allocations: 296.9 kB / 407.5 MB, free: 6.113 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.4838, allocations: 50.5 kB / 407.6 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.4838, allocations: 12.86 kB / 407.6 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.4839, allocations: 4 kB / 407.6 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.484, allocations: 55.48 kB / 407.6 MB, free: 5.969 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.648e-06/0.484, allocations: 0 / 407.6 MB, free: 5.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004196/0.4845, allocations: 113.2 kB / 407.7 MB, free: 5.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.4845, allocations: 63.36 kB / 407.8 MB, free: 5.777 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.4848, allocations: 174.2 kB / 408 MB, free: 5.602 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.979e-05/0.4849, allocations: 33.7 kB / 408 MB, free: 5.562 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.485, allocations: 158.6 kB / 408.2 MB, free: 5.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.485, allocations: 19.8 kB / 408.2 MB, free: 5.387 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.4851, allocations: 0 / 408.2 MB, free: 5.387 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4852, allocations: 314.8 kB / 408.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.991e-05/0.4853, allocations: 23.94 kB / 408.5 MB, free: 5.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.364e-05/0.4854, allocations: 20 kB / 408.5 MB, free: 5.027 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.899e-05/0.4855, allocations: 61.62 kB / 408.6 MB, free: 4.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-06/0.4855, allocations: 0 / 408.6 MB, free: 4.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002657/0.4858, allocations: 127.4 kB / 408.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.4859, allocations: 33.7 kB / 408.8 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.977e-06/0.4859, allocations: 0 / 408.8 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.4859, allocations: 0 / 408.8 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.486, allocations: 15.92 kB / 408.8 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.156e-06/0.486, allocations: 96 / 408.8 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.4861, allocations: 11.89 kB / 408.8 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.4861, allocations: 4 kB / 408.8 MB, free: 4.754 MB / 330.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 9.24e-05/0.4862, allocations: 109.3 kB / 408.9 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.4863, allocations: 11.81 kB / 408.9 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.4865, allocations: 93.89 kB / 409 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.13e-06/0.4865, allocations: 3.984 kB / 409 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.444e-06/0.4866, allocations: 0 / 409 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.058e-06/0.4866, allocations: 4 kB / 409 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.4871, allocations: 358.5 kB / 409.4 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-06/0.4871, allocations: 4 kB / 409.4 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.4872, allocations: 8 kB / 409.4 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.468e-06/0.4872, allocations: 192 / 409.4 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.4872, allocations: 4 kB / 409.4 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.328e-06/0.4872, allocations: 4 kB / 409.4 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.38e-06/0.4872, allocations: 3.953 kB / 409.4 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.4875, allocations: 175.4 kB / 409.5 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.401e-05/0.4876, allocations: 92.92 kB / 409.6 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.4876, allocations: 8 kB / 409.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.4877, allocations: 0 / 409.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.4878, allocations: 11.94 kB / 409.7 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.4878, allocations: 4 kB / 409.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001815/0.488, allocations: 152 kB / 409.8 MB, free: 3.625 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.488, allocations: 0 / 409.8 MB, free: 3.625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003764/0.4884, allocations: 35.94 kB / 409.8 MB, free: 3.59 MB / 330.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.001111/0.4895, allocations: 350 kB / 410.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.4898, allocations: 115.3 kB / 410.3 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.944e-06/0.4898, allocations: 0 / 410.3 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.4899, allocations: 19.98 kB / 410.3 MB, free: 3.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.4901, allocations: 15.98 kB / 410.3 MB, free: 3.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.4906, allocations: 187.5 kB / 410.5 MB, free: 2.953 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.491, allocations: 0.7082 MB / 411.2 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.4911, allocations: 11.44 kB / 411.2 MB, free: 2.207 MB / 330.7 MB Notification: Performance of SimCode: time 1.518e-06/0.4911, allocations: 4 kB / 411.2 MB, free: 2.203 MB / 330.7 MB Notification: Performance of Templates: time 0.004421/0.4955, allocations: 1.756 MB / 413 MB, free: 460 kB / 330.7 MB