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.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadModel(ModelicaTest): time 1.909/1.909, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004414, allocations: 12 kB / 282.6 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.08984, allocations: 48.71 MB / 331.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3307/0.4206, allocations: 75.72 MB / 407 MB, free: 9.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.4209, allocations: 75.97 kB / 407.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02125/0.4421, allocations: 5.49 MB / 412.6 MB, free: 3.879 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.277e-06/0.4422, allocations: 0 / 412.6 MB, free: 3.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.342e-05/0.4422, allocations: 8 kB / 412.6 MB, free: 3.871 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.001186/0.4434, allocations: 0.7461 MB / 413.3 MB, free: 3.062 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4435, allocations: 8.031 kB / 413.3 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.4436, allocations: 47.44 kB / 413.4 MB, free: 3.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009253/0.4445, allocations: 463.1 kB / 413.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.4446, allocations: 7.984 kB / 413.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.4446, allocations: 4 kB / 413.8 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.4448, allocations: 75.31 kB / 413.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.186e-06/0.4448, allocations: 0 / 413.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.4448, allocations: 0 / 413.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-06/0.4449, allocations: 0 / 413.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.445, allocations: 19.98 kB / 413.9 MB, free: 2.395 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.4455, allocations: 382.3 kB / 414.3 MB, free: 1.969 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.4457, allocations: 65.14 kB / 414.4 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.4457, allocations: 0 / 414.4 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.4459, allocations: 89.09 kB / 414.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.057e-06/0.446, allocations: 0 / 414.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004602/0.4464, allocations: 149 kB / 414.6 MB, free: 1.629 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.4465, allocations: 81.11 kB / 414.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/0.4483, allocations: 0.9158 MB / 415.6 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.4484, allocations: 29.7 kB / 415.6 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.4486, allocations: 250.6 kB / 415.9 MB, free: 336 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.4487, allocations: 19.73 kB / 415.9 MB, free: 316 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/0.4487, allocations: 4 kB / 415.9 MB, free: 312 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4489, allocations: 318.8 kB / 416.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.4491, allocations: 39.98 kB / 416.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.4492, allocations: 49.69 kB / 416.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.4494, allocations: 103.4 kB / 416.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.353e-06/0.4495, allocations: 0 / 416.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004226/0.4499, allocations: 193 kB / 416.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.972e-05/0.45, allocations: 64.03 kB / 416.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.756e-06/0.45, allocations: 0 / 416.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.45, allocations: 3.984 kB / 416.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.4501, allocations: 12 kB / 416.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4502, allocations: 15.95 kB / 416.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.4504, allocations: 15.97 kB / 416.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.4504, allocations: 12 kB / 416.7 MB, free: 15.44 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0003383/0.4508, allocations: 229.3 kB / 416.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.4509, allocations: 47.44 kB / 417 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.4513, allocations: 153.6 kB / 417.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.4513, allocations: 4 kB / 417.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4514, allocations: 4 kB / 417.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.606e-06/0.4514, allocations: 3.984 kB / 417.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.4519, allocations: 373.4 kB / 417.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.982e-06/0.4519, allocations: 3.984 kB / 417.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.452, allocations: 4 kB / 417.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.183e-06/0.452, allocations: 4 kB / 417.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.452, allocations: 4 kB / 417.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.52e-06/0.452, allocations: 0 / 417.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.945e-06/0.4521, allocations: 4 kB / 417.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.4524, allocations: 183 kB / 417.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.4528, allocations: 184.5 kB / 417.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.4529, allocations: 8 kB / 417.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.453, allocations: 7.984 kB / 417.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.4531, allocations: 4 kB / 417.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.4531, allocations: 7.984 kB / 417.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001252/0.4544, allocations: 0.7292 MB / 418.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.49e-07/0.4544, allocations: 0 / 418.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005236/0.4549, allocations: 99.92 kB / 418.7 MB, free: 13.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001641/0.4566, allocations: 484.4 kB / 419.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004025/0.457, allocations: 206.7 kB / 419.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.703e-06/0.457, allocations: 0 / 419.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.425e-05/0.4571, allocations: 35.91 kB / 419.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.4576, allocations: 50.23 kB / 419.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.4596, allocations: 0.9812 MB / 420.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.4602, allocations: 0.8468 MB / 421.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.4604, allocations: 35.44 kB / 421.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.799e-06/0.4604, allocations: 0 / 421.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of Templates: time 0.01198/0.4724, allocations: 5.498 MB / 426.9 MB, free: 5.164 MB / 346.7 MB