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.Test35.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.Test35,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.Test35") Notification: Performance of loadModel(ModelicaTest): time 2.014/2.014, allocations: 209.3 MB / 222.4 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.153e-05, allocations: 7.984 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08769/0.08775, allocations: 48.7 MB / 326.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3508/0.4386, allocations: 75.77 MB / 402.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.439, allocations: 74.61 kB / 402.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02667/0.4657, allocations: 4.219 MB / 406.6 MB, free: 8.422 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.493e-06/0.4657, allocations: 0 / 406.6 MB, free: 8.422 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.174e-05/0.4658, allocations: 0 / 406.6 MB, free: 8.422 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.0006123/0.4664, allocations: 417.5 kB / 407 MB, free: 7.996 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.4665, allocations: 11.64 kB / 407 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/0.4666, allocations: 15.38 kB / 407 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.467, allocations: 197.3 kB / 407.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.4671, allocations: 3.844 kB / 407.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.4671, allocations: 3.844 kB / 407.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.4673, allocations: 45.31 kB / 407.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.4674, allocations: 0 / 407.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.4674, allocations: 3.875 kB / 407.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.292e-06/0.4674, allocations: 0 / 407.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.4675, allocations: 15.48 kB / 407.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.468, allocations: 311.8 kB / 407.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.4683, allocations: 44.97 kB / 407.7 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.4683, allocations: 15.98 kB / 407.7 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.4683, allocations: 0 / 407.7 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.4685, allocations: 54.47 kB / 407.7 MB, free: 7.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.277e-06/0.4685, allocations: 3.938 kB / 407.7 MB, free: 7.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003846/0.4689, allocations: 109.1 kB / 407.8 MB, free: 7.281 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.4689, allocations: 51.41 kB / 407.9 MB, free: 7.219 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.4691, allocations: 194.5 kB / 408.1 MB, free: 7.102 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.4692, allocations: 33.45 kB / 408.1 MB, free: 7.066 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.4692, allocations: 166.1 kB / 408.3 MB, free: 6.914 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.4693, allocations: 22.98 kB / 408.3 MB, free: 6.898 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-06/0.4693, allocations: 0 / 408.3 MB, free: 6.898 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.839e-05/0.4693, allocations: 314.8 kB / 408.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-05/0.4694, allocations: 22.06 kB / 408.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.407e-05/0.4695, allocations: 25.25 kB / 408.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.489e-05/0.4696, allocations: 51.59 kB / 408.7 MB, free: 6.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-06/0.4696, allocations: 4 kB / 408.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002092/0.4698, allocations: 129.5 kB / 408.8 MB, free: 6.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.4698, allocations: 33.3 kB / 408.9 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.423e-06/0.4699, allocations: 160 / 408.9 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.4699, allocations: 0 / 408.9 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/0.4699, allocations: 11.61 kB / 408.9 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.347e-06/0.47, allocations: 3.984 kB / 408.9 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.47, allocations: 3.688 kB / 408.9 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.4701, allocations: 7.703 kB / 408.9 MB, free: 6.422 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.636e-05/0.4701, allocations: 111.5 kB / 409 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.4702, allocations: 7.891 kB / 409 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.4704, allocations: 102.9 kB / 409.1 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4704, allocations: 0 / 409.1 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.975e-06/0.4704, allocations: 0 / 409.1 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.921e-06/0.4704, allocations: 3.844 kB / 409.1 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.4708, allocations: 364.7 kB / 409.5 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-06/0.4708, allocations: 4.156 kB / 409.5 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.4709, allocations: 11.94 kB / 409.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.342e-06/0.4709, allocations: 7.875 kB / 409.5 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4709, allocations: 3.844 kB / 409.5 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.262e-06/0.4709, allocations: 0 / 409.5 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4709, allocations: 0 / 409.5 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.4711, allocations: 179.5 kB / 409.7 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.4712, allocations: 84.86 kB / 409.7 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.4712, allocations: 7.344 kB / 409.8 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.4713, allocations: 7.984 kB / 409.8 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.4714, allocations: 3.844 kB / 409.8 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.816e-06/0.4714, allocations: 0 / 409.8 MB, free: 5.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.4715, allocations: 163.6 kB / 409.9 MB, free: 5.566 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.4716, allocations: 0 / 409.9 MB, free: 5.566 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.472, allocations: 46.42 kB / 410 MB, free: 5.551 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.001022/0.473, allocations: 349.2 kB / 410.3 MB, free: 5.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.4732, allocations: 107.6 kB / 410.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.583e-06/0.4732, allocations: 0 / 410.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.748e-05/0.4733, allocations: 25.75 kB / 410.4 MB, free: 5.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.4736, allocations: 14.11 kB / 410.5 MB, free: 5.266 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.474, allocations: 186.3 kB / 410.6 MB, free: 5.141 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.4741, allocations: 0.7142 MB / 411.4 MB, free: 4.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.4742, allocations: 11.28 kB / 411.4 MB, free: 4.418 MB / 314.7 MB Notification: Performance of SimCode: time 1.614e-06/0.4742, allocations: 0 / 411.4 MB, free: 4.418 MB / 314.7 MB Notification: Performance of Templates: time 0.003672/0.4779, allocations: 1.808 MB / 413.2 MB, free: 3.508 MB / 314.7 MB