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.Test18.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.Test18,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.Test18") Notification: Performance of loadModel(ModelicaTest): time 1.937/1.937, allocations: 209.3 MB / 222.4 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.307e-05, allocations: 8 kB / 277.8 MB, free: 12.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0869/0.08696, allocations: 48.71 MB / 326.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4104/0.4974, allocations: 75.78 MB / 402.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004244/0.4979, allocations: 71.95 kB / 402.4 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0639/0.5618, allocations: 3.948 MB / 406.3 MB, free: 7.453 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.022e-06/0.5619, allocations: 0 / 406.3 MB, free: 7.453 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.5619, allocations: 8 kB / 406.4 MB, free: 7.445 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.0009198/0.5629, allocations: 412 kB / 406.8 MB, free: 6.992 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.105e-05/0.563, allocations: 8.031 kB / 406.8 MB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.905e-05/0.5631, allocations: 11.91 kB / 406.8 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.5636, allocations: 194.8 kB / 407 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.5637, allocations: 4 kB / 407 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.5638, allocations: 4 kB / 407 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.564, allocations: 41.69 kB / 407 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.5641, allocations: 7.984 kB / 407 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.5641, allocations: 4 kB / 407 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.5641, allocations: 0 / 407 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.5643, allocations: 8 kB / 407 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008416/0.5651, allocations: 292.8 kB / 407.3 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.5656, allocations: 50.5 kB / 407.4 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.114e-05/0.5657, allocations: 12.86 kB / 407.4 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.5658, allocations: 4 kB / 407.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.566, allocations: 55.5 kB / 407.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.445e-06/0.5661, allocations: 0 / 407.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008036/0.5669, allocations: 113.3 kB / 407.5 MB, free: 6.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.567, allocations: 55.36 kB / 407.6 MB, free: 6.004 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.5674, allocations: 149.2 kB / 407.7 MB, free: 5.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.5675, allocations: 29.7 kB / 407.8 MB, free: 5.812 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.5677, allocations: 158.6 kB / 407.9 MB, free: 5.656 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.5678, allocations: 15.81 kB / 407.9 MB, free: 5.641 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.5678, allocations: 0 / 407.9 MB, free: 5.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002819/0.5681, allocations: 318.8 kB / 408.3 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.5683, allocations: 24 kB / 408.3 MB, free: 5.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.5684, allocations: 19.94 kB / 408.3 MB, free: 5.277 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.5687, allocations: 65.66 kB / 408.4 MB, free: 5.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.059e-06/0.5687, allocations: 0 / 408.4 MB, free: 5.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005686/0.5693, allocations: 123.4 kB / 408.5 MB, free: 5.074 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.544e-05/0.5694, allocations: 29.7 kB / 408.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.477e-06/0.5694, allocations: 0 / 408.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.5695, allocations: 144 / 408.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.5696, allocations: 15.89 kB / 408.5 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.5697, allocations: 7.984 kB / 408.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.5698, allocations: 7.984 kB / 408.5 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.5699, allocations: 4 kB / 408.6 MB, free: 5.004 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 0.0001727/0.5701, allocations: 105.3 kB / 408.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.5702, allocations: 7.906 kB / 408.7 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000486/0.5707, allocations: 89.77 kB / 408.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.5707, allocations: 0 / 408.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.5707, allocations: 7.891 kB / 408.8 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.966e-06/0.5708, allocations: 0 / 408.8 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000943/0.5717, allocations: 350.5 kB / 409.1 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.057e-06/0.5718, allocations: 0 / 409.1 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.5719, allocations: 8.172 kB / 409.1 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.472e-06/0.5719, allocations: 0 / 409.1 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.572, allocations: 15.95 kB / 409.1 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.878e-06/0.572, allocations: 0 / 409.1 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.572, allocations: 0 / 409.1 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.5725, allocations: 179.3 kB / 409.3 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.5727, allocations: 85.02 kB / 409.4 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.5728, allocations: 0 / 409.4 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.573, allocations: 11.95 kB / 409.4 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.5731, allocations: 7.984 kB / 409.4 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.5732, allocations: 4 kB / 409.4 MB, free: 4.051 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002745/0.5735, allocations: 118.2 kB / 409.5 MB, free: 3.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.095e-06/0.5735, allocations: 0 / 409.5 MB, free: 3.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009068/0.5744, allocations: 36 kB / 409.6 MB, free: 3.902 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.002155/0.5766, allocations: 356 kB / 409.9 MB, free: 3.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.5769, allocations: 115.4 kB / 410 MB, free: 3.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.878e-06/0.5769, allocations: 0 / 410 MB, free: 3.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/0.577, allocations: 16 kB / 410 MB, free: 3.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.5773, allocations: 22.33 kB / 410.1 MB, free: 3.469 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.5777, allocations: 143.7 kB / 410.2 MB, free: 3.301 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.5781, allocations: 0.7004 MB / 410.9 MB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.5781, allocations: 19.42 kB / 410.9 MB, free: 2.555 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5782, allocations: 3.938 kB / 410.9 MB, free: 2.551 MB / 330.7 MB Notification: Performance of Templates: time 0.00418/0.5824, allocations: 1.651 MB / 412.6 MB, free: 0.9062 MB / 330.7 MB