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.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadModel(ModelicaTest): time 1.868/1.868, allocations: 209.3 MB / 224.9 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.000438, allocations: 15.98 kB / 282.6 MB, free: 9.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08836/0.08882, allocations: 48.71 MB / 331.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.4153, allocations: 75.71 MB / 407 MB, free: 9.312 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.4156, allocations: 70.72 kB / 407.1 MB, free: 9.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0263/0.4419, allocations: 4.153 MB / 411.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.13e-06/0.442, allocations: 0 / 411.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.078e-05/0.4421, allocations: 0 / 411.2 MB, free: 5.105 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0009381/0.443, allocations: 440.5 kB / 411.6 MB, free: 4.621 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.4431, allocations: 8.031 kB / 411.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.493e-05/0.4432, allocations: 19.81 kB / 411.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.4438, allocations: 214.8 kB / 411.9 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.4438, allocations: 0 / 411.9 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.4439, allocations: 8 kB / 411.9 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.444, allocations: 33.69 kB / 411.9 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4441, allocations: 0 / 411.9 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4441, allocations: 0 / 411.9 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.565e-06/0.4441, allocations: 0 / 411.9 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.4443, allocations: 15.94 kB / 411.9 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.4447, allocations: 197.6 kB / 412.1 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.4449, allocations: 26.56 kB / 412.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.4449, allocations: 4.062 kB / 412.2 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.4452, allocations: 63.38 kB / 412.2 MB, free: 3.926 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.76e-06/0.4452, allocations: 0 / 412.2 MB, free: 3.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004151/0.4456, allocations: 73.44 kB / 412.3 MB, free: 3.848 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.4457, allocations: 55.41 kB / 412.3 MB, free: 3.781 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006466/0.4464, allocations: 222.6 kB / 412.6 MB, free: 3.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.4465, allocations: 25.7 kB / 412.6 MB, free: 3.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.4466, allocations: 170.6 kB / 412.8 MB, free: 3.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.4467, allocations: 3.906 kB / 412.8 MB, free: 3.348 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.4467, allocations: 4 kB / 412.8 MB, free: 3.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002454/0.447, allocations: 318.8 kB / 413.1 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.4471, allocations: 15.98 kB / 413.1 MB, free: 3.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.4473, allocations: 27.98 kB / 413.1 MB, free: 2.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.4474, allocations: 45.7 kB / 413.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.874e-06/0.4475, allocations: 0 / 413.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004466/0.4479, allocations: 115.3 kB / 413.3 MB, free: 2.805 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.356e-05/0.448, allocations: 30.48 kB / 413.3 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.779e-06/0.4481, allocations: 4 kB / 413.3 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4481, allocations: 0 / 413.3 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4482, allocations: 7.938 kB / 413.3 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.553e-06/0.4483, allocations: 0 / 413.3 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.4484, allocations: 15.84 kB / 413.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.4485, allocations: 11.98 kB / 413.3 MB, free: 2.73 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0002337/0.4487, allocations: 133.7 kB / 413.5 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.4488, allocations: 11.91 kB / 413.5 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.4492, allocations: 78.55 kB / 413.6 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.233e-06/0.4492, allocations: 0 / 413.6 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.15e-06/0.4492, allocations: 0 / 413.6 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.956e-06/0.4493, allocations: 0 / 413.6 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.4497, allocations: 193.6 kB / 413.8 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.479e-06/0.4497, allocations: 0 / 413.8 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.4498, allocations: 16.11 kB / 413.8 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.488e-06/0.4498, allocations: 0 / 413.8 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.4498, allocations: 8 kB / 413.8 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.58e-06/0.4499, allocations: 0 / 413.8 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.4499, allocations: 0 / 413.8 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.4502, allocations: 88.94 kB / 413.9 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.4504, allocations: 96.95 kB / 414 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/0.4505, allocations: 8 kB / 414 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.4506, allocations: 7.938 kB / 414 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.4507, allocations: 7.984 kB / 414 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.4507, allocations: 0 / 414 MB, free: 1.984 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004558/0.4512, allocations: 181.1 kB / 414.2 MB, free: 1.809 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.126e-06/0.4512, allocations: 0 / 414.2 MB, free: 1.809 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007081/0.452, allocations: 35.94 kB / 414.2 MB, free: 1.773 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.001802/0.4538, allocations: 327.1 kB / 414.5 MB, free: 1.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003782/0.4542, allocations: 103.4 kB / 414.6 MB, free: 1.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.962e-06/0.4542, allocations: 4 kB / 414.6 MB, free: 1.406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.4544, allocations: 19.92 kB / 414.6 MB, free: 1.387 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.4548, allocations: 16.17 kB / 414.7 MB, free: 1.367 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4559, allocations: 295.7 kB / 414.9 MB, free: 1.051 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.4565, allocations: 0.7149 MB / 415.7 MB, free: 320 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.4566, allocations: 11.44 kB / 415.7 MB, free: 308 kB / 330.7 MB Notification: Performance of SimCode: time 2.018e-06/0.4567, allocations: 0 / 415.7 MB, free: 308 kB / 330.7 MB Notification: Performance of Templates: time 0.007732/0.4644, allocations: 1.713 MB / 417.4 MB, free: 14.59 MB / 346.7 MB