Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004513, allocations: 16 kB / 315 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4015, allocations: 54.85 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.5492, allocations: 82.11 MB / 451.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.5496, allocations: 79.91 kB / 452 MB, free: 8.441 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02058/0.5702, allocations: 4.489 MB / 456.5 MB, free: 3.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5702, allocations: 4 kB / 456.5 MB, free: 3.941 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.5702, allocations: 0 / 456.5 MB, free: 3.941 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006649/0.5709, allocations: 474.2 kB / 456.9 MB, free: 3.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.571, allocations: 16.02 kB / 457 MB, free: 3.402 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.5711, allocations: 11.81 kB / 457 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.5714, allocations: 195.5 kB / 457.2 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.5715, allocations: 7.984 kB / 457.2 MB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.5715, allocations: 8 kB / 457.2 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.5717, allocations: 61.61 kB / 457.2 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5718, allocations: 0 / 457.2 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.5718, allocations: 7.953 kB / 457.2 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.5718, allocations: 0 / 457.2 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.5719, allocations: 19.98 kB / 457.3 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.5724, allocations: 308.9 kB / 457.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.5727, allocations: 66.61 kB / 457.6 MB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.5727, allocations: 0 / 457.6 MB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.573, allocations: 79.98 kB / 457.7 MB, free: 2.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.573, allocations: 0 / 457.7 MB, free: 2.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008456/0.5738, allocations: 185.1 kB / 457.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.5739, allocations: 55.41 kB / 457.9 MB, free: 2.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.5742, allocations: 186.2 kB / 458.1 MB, free: 2.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.5742, allocations: 25.7 kB / 458.2 MB, free: 2.059 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.5743, allocations: 166.5 kB / 458.3 MB, free: 1.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.5744, allocations: 27.64 kB / 458.3 MB, free: 1.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.5744, allocations: 0 / 458.3 MB, free: 1.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5745, allocations: 318.8 kB / 458.7 MB, free: 1.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.5747, allocations: 39.92 kB / 458.7 MB, free: 1.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.5749, allocations: 59.52 kB / 458.7 MB, free: 1.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.5751, allocations: 77.62 kB / 458.8 MB, free: 1.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5751, allocations: 0 / 458.8 MB, free: 1.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004776/0.5756, allocations: 171.3 kB / 459 MB, free: 1.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.5756, allocations: 37.69 kB / 459 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.5757, allocations: 0 / 459 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.5757, allocations: 4 kB / 459 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.5758, allocations: 20.3 kB / 459.1 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5759, allocations: 0 / 459.1 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.576, allocations: 16.03 kB / 459.1 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.576, allocations: 8 kB / 459.1 MB, free: 1.094 MB / 378.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001533/0.5762, allocations: 125.8 kB / 459.2 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.5763, allocations: 15.77 kB / 459.2 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.5767, allocations: 122.3 kB / 459.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5767, allocations: 0 / 459.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5767, allocations: 0 / 459.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5767, allocations: 0 / 459.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006971/0.5774, allocations: 419.3 kB / 459.7 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5775, allocations: 0 / 459.7 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.903e-05/0.5775, allocations: 8 kB / 459.8 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.5776, allocations: 3.938 kB / 459.8 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.5776, allocations: 7.984 kB / 459.8 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5776, allocations: 3.938 kB / 459.8 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5776, allocations: 0 / 459.8 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.578, allocations: 208.3 kB / 460 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.5781, allocations: 104.9 kB / 460.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.5782, allocations: 8 kB / 460.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.5783, allocations: 3.984 kB / 460.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.5784, allocations: 4.281 kB / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.5784, allocations: 4 kB / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.5786, allocations: 143.2 kB / 460.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5786, allocations: 3.938 kB / 460.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003978/0.579, allocations: 39.94 kB / 460.3 MB, free: 15.77 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001328/0.5804, allocations: 463.5 kB / 460.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004942/0.5809, allocations: 167.3 kB / 460.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5809, allocations: 64 / 460.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.5811, allocations: 39.92 kB / 460.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.5814, allocations: 15.98 kB / 460.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.5821, allocations: 283.6 kB / 461.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.5825, allocations: 0.7082 MB / 461.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.5825, allocations: 15.44 kB / 461.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.243e-06/0.5825, allocations: 0 / 461.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of Templates: time 0.005483/0.588, allocations: 1.936 MB / 463.9 MB, free: 12.17 MB / 394.7 MB