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.Test61.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.Test61,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.Test61") Notification: Performance of loadModel(ModelicaTest): time 1.987/1.987, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004475, allocations: 15.94 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2818, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.4293, allocations: 75.7 MB / 407 MB, free: 2.711 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/0.4297, allocations: 71.97 kB / 407.1 MB, free: 2.641 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02393/0.4536, allocations: 4.144 MB / 411.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.359e-06/0.4537, allocations: 0 / 411.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.4537, allocations: 0 / 411.2 MB, free: 14.5 MB / 346.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.0008071/0.4545, allocations: 444.5 kB / 411.6 MB, free: 14.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.4546, allocations: 11.97 kB / 411.6 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/0.4547, allocations: 15.81 kB / 411.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.4552, allocations: 206.8 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.4552, allocations: 0 / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.4552, allocations: 4 kB / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.4554, allocations: 41.67 kB / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4554, allocations: 0 / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4555, allocations: 4 kB / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.834e-06/0.4555, allocations: 0 / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.4556, allocations: 12 kB / 411.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.456, allocations: 189.6 kB / 412.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.4561, allocations: 38.5 kB / 412.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.4561, allocations: 0 / 412.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.4564, allocations: 55.47 kB / 412.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 3.366e-06/0.4564, allocations: 0 / 412.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003656/0.4568, allocations: 81.41 kB / 412.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.4568, allocations: 55.41 kB / 412.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.4574, allocations: 222.6 kB / 412.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.4574, allocations: 25.7 kB / 412.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.4576, allocations: 170.6 kB / 412.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.4576, allocations: 7.906 kB / 412.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-06/0.4576, allocations: 0 / 412.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.4579, allocations: 318.8 kB / 413.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.458, allocations: 19.92 kB / 413.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.462e-05/0.4581, allocations: 20 kB / 413.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.4582, allocations: 49.69 kB / 413.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.14e-06/0.4582, allocations: 3.953 kB / 413.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00035/0.4586, allocations: 111.3 kB / 413.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.431e-05/0.4587, allocations: 37.69 kB / 413.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.051e-06/0.4587, allocations: 0 / 413.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4587, allocations: 0 / 413.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.4589, allocations: 4.125 kB / 413.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.4589, allocations: 4 kB / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.459, allocations: 19.78 kB / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.4591, allocations: 8 kB / 413.3 MB, free: 12.12 MB / 346.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.0001899/0.4593, allocations: 125.8 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.4593, allocations: 19.84 kB / 413.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.4597, allocations: 78.55 kB / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.304e-06/0.4597, allocations: 0 / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.126e-06/0.4597, allocations: 0 / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.4597, allocations: 4 kB / 413.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.4601, allocations: 189.6 kB / 413.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4601, allocations: 0 / 413.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.4602, allocations: 7.953 kB / 413.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.4602, allocations: 0 / 413.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.4602, allocations: 7.984 kB / 413.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.809e-06/0.4602, allocations: 0 / 413.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.533e-06/0.4603, allocations: 0 / 413.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.4605, allocations: 92.94 kB / 413.8 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.4607, allocations: 97 kB / 413.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.4608, allocations: 7.953 kB / 413.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.4609, allocations: 0 / 413.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.461, allocations: 11.94 kB / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.461, allocations: 3.984 kB / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003549/0.4614, allocations: 181.1 kB / 414.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.16e-06/0.4614, allocations: 0 / 414.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005575/0.462, allocations: 35.94 kB / 414.2 MB, free: 11.16 MB / 346.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.001642/0.4636, allocations: 331.9 kB / 414.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003515/0.464, allocations: 103.4 kB / 414.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.984e-06/0.4641, allocations: 0 / 414.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.249e-05/0.4642, allocations: 19.86 kB / 414.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.4646, allocations: 20.16 kB / 414.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009268/0.4655, allocations: 291.8 kB / 414.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.4661, allocations: 0.716 MB / 415.6 MB, free: 9.703 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/0.4662, allocations: 11.44 kB / 415.7 MB, free: 9.691 MB / 346.7 MB Notification: Performance of SimCode: time 2.11e-06/0.4662, allocations: 0 / 415.7 MB, free: 9.691 MB / 346.7 MB Notification: Performance of Templates: time 0.007369/0.4736, allocations: 1.715 MB / 417.4 MB, free: 7.98 MB / 346.7 MB