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.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadModel(ModelicaTest): time 2.04/2.04, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.069e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08835/0.0884, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3405/0.429, allocations: 75.63 MB / 402.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.4292, allocations: 66.88 kB / 402.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01901/0.4483, allocations: 5.42 MB / 407.7 MB, free: 8.012 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.853e-06/0.4483, allocations: 3.938 kB / 407.7 MB, free: 8.008 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.049e-05/0.4484, allocations: 7.906 kB / 407.7 MB, free: 8.004 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.0006297/0.449, allocations: 0.6291 MB / 408.3 MB, free: 7.426 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4491, allocations: 11.53 kB / 408.3 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.369e-05/0.4492, allocations: 46.64 kB / 408.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006802/0.4499, allocations: 449 kB / 408.8 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.4499, allocations: 7.844 kB / 408.8 MB, free: 7.117 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.4499, allocations: 3.844 kB / 408.8 MB, free: 7.117 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.4501, allocations: 65.45 kB / 408.9 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4501, allocations: 0 / 408.9 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4501, allocations: 3.984 kB / 408.9 MB, free: 7.059 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.148e-06/0.4501, allocations: 3.938 kB / 408.9 MB, free: 7.055 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.757e-05/0.4502, allocations: 24.95 kB / 408.9 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.4506, allocations: 381.6 kB / 409.3 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.4507, allocations: 58.05 kB / 409.3 MB, free: 6.727 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.4508, allocations: 29.14 kB / 409.4 MB, free: 6.703 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.4508, allocations: 3.5 kB / 409.4 MB, free: 6.703 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.451, allocations: 90.81 kB / 409.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.656e-06/0.451, allocations: 0 / 409.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003499/0.4514, allocations: 125.6 kB / 409.6 MB, free: 6.559 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.4514, allocations: 80.55 kB / 409.7 MB, free: 6.465 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.4529, allocations: 0.8837 MB / 410.5 MB, free: 6.258 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.4529, allocations: 29.48 kB / 410.6 MB, free: 6.227 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.4531, allocations: 252.1 kB / 410.8 MB, free: 6.074 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.4531, allocations: 19.61 kB / 410.8 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.4531, allocations: 2.5 kB / 410.8 MB, free: 6.059 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.375e-05/0.4532, allocations: 322 kB / 411.2 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.774e-05/0.4533, allocations: 29.66 kB / 411.2 MB, free: 5.742 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.685e-05/0.4534, allocations: 54.55 kB / 411.2 MB, free: 5.719 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.4535, allocations: 104.7 kB / 411.3 MB, free: 5.641 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.825e-06/0.4536, allocations: 3.844 kB / 411.3 MB, free: 5.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003433/0.4539, allocations: 196.4 kB / 411.5 MB, free: 5.531 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.454, allocations: 63.06 kB / 411.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.477e-06/0.454, allocations: 0 / 411.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.454, allocations: 3.984 kB / 411.6 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.4541, allocations: 15.5 kB / 411.6 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.736e-06/0.4542, allocations: 0 / 411.6 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.4544, allocations: 11.53 kB / 411.6 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.4544, allocations: 10.75 kB / 411.6 MB, free: 5.449 MB / 314.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 () * 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 7.429e-05/0.4545, allocations: 120.2 kB / 411.8 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.411e-05/0.4546, allocations: 46.5 kB / 411.8 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/0.455, allocations: 155.6 kB / 412 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.865e-06/0.455, allocations: 0 / 412 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.791e-06/0.455, allocations: 0 / 412 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.971e-06/0.455, allocations: 3.812 kB / 412 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.4554, allocations: 364.7 kB / 412.3 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.935e-06/0.4554, allocations: 0 / 412.3 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.4555, allocations: 15.34 kB / 412.3 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.322e-06/0.4555, allocations: 0 / 412.3 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4555, allocations: 3.906 kB / 412.3 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.621e-06/0.4555, allocations: 0 / 412.3 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.017e-06/0.4555, allocations: 7.938 kB / 412.3 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.4559, allocations: 183.2 kB / 412.5 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.4561, allocations: 185.4 kB / 412.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.4562, allocations: 3.812 kB / 412.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.4563, allocations: 15.56 kB / 412.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.4564, allocations: 7.875 kB / 412.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.4564, allocations: 3.844 kB / 412.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008993/0.4573, allocations: 0.697 MB / 413.4 MB, free: 4.535 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.4574, allocations: 96 / 413.4 MB, free: 4.535 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004526/0.4578, allocations: 104.6 kB / 413.5 MB, free: 4.516 MB / 314.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) * 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.001409/0.4592, allocations: 453.3 kB / 414 MB, free: 4.238 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.4596, allocations: 199.7 kB / 414.2 MB, free: 4.055 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.521e-06/0.4596, allocations: 4 kB / 414.2 MB, free: 4.051 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.4597, allocations: 22.62 kB / 414.2 MB, free: 4.035 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.4601, allocations: 50.08 kB / 414.2 MB, free: 4.004 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.4614, allocations: 0.7606 MB / 415 MB, free: 3.285 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.4618, allocations: 0.8412 MB / 415.8 MB, free: 2.434 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.4619, allocations: 35.25 kB / 415.9 MB, free: 2.402 MB / 314.7 MB Notification: Performance of SimCode: time 1.613e-06/0.4619, allocations: 0 / 415.9 MB, free: 2.402 MB / 314.7 MB Notification: Performance of Templates: time 0.01089/0.4728, allocations: 5.382 MB / 421.3 MB, free: 13.04 MB / 330.7 MB