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.Test30.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.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.615/2.615, allocations: 234.9 MB / 251.1 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004609, allocations: 12 kB / 314.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3578, allocations: 54.87 MB / 369.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.5174, allocations: 82.15 MB / 452 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/0.5178, allocations: 75.97 kB / 452 MB, free: 8.527 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.02189/0.5397, allocations: 4.583 MB / 456.6 MB, free: 3.938 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5397, allocations: 4 kB / 456.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.5398, allocations: 0 / 456.6 MB, free: 3.934 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.0007017/0.5405, allocations: 474.2 kB / 457.1 MB, free: 3.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.5405, allocations: 8.031 kB / 457.1 MB, free: 3.402 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.5406, allocations: 19.81 kB / 457.1 MB, free: 3.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.541, allocations: 203.5 kB / 457.3 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.541, allocations: 0 / 457.3 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.5411, allocations: 12 kB / 457.3 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.5413, allocations: 57.61 kB / 457.4 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5413, allocations: 0 / 457.4 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.5413, allocations: 3.953 kB / 457.4 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.5413, allocations: 0 / 457.4 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.5415, allocations: 23.92 kB / 457.4 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.542, allocations: 316.9 kB / 457.7 MB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.5423, allocations: 62.61 kB / 457.8 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.5423, allocations: 4 kB / 457.8 MB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.5426, allocations: 68.06 kB / 457.8 MB, free: 2.531 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.755e-06/0.5426, allocations: 4 kB / 457.8 MB, free: 2.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008511/0.5435, allocations: 185.1 kB / 458 MB, free: 2.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.5435, allocations: 51.41 kB / 458.1 MB, free: 2.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.5438, allocations: 182.2 kB / 458.3 MB, free: 2.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.5439, allocations: 33.64 kB / 458.3 MB, free: 2.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.544, allocations: 166.5 kB / 458.4 MB, free: 1.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.544, allocations: 27.64 kB / 458.5 MB, free: 1.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/0.544, allocations: 0 / 458.5 MB, free: 1.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5442, allocations: 318.8 kB / 458.8 MB, free: 1.539 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.5443, allocations: 39.97 kB / 458.8 MB, free: 1.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.5445, allocations: 53.7 kB / 458.9 MB, free: 1.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.5447, allocations: 77.62 kB / 459 MB, free: 1.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5447, allocations: 0 / 459 MB, free: 1.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004679/0.5452, allocations: 179.3 kB / 459.1 MB, free: 1.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.5453, allocations: 33.7 kB / 459.2 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5453, allocations: 4.031 kB / 459.2 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.5453, allocations: 0 / 459.2 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.5455, allocations: 23.92 kB / 459.2 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.5455, allocations: 384 / 459.2 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.5456, allocations: 8 kB / 459.2 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.5457, allocations: 4 kB / 459.2 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.0001524/0.5458, allocations: 125.8 kB / 459.3 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.5459, allocations: 27.75 kB / 459.4 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/0.5463, allocations: 126.4 kB / 459.5 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.5463, allocations: 4 kB / 459.5 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5463, allocations: 0 / 459.5 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.5463, allocations: 0 / 459.5 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000724/0.5471, allocations: 411.3 kB / 459.9 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5471, allocations: 3.938 kB / 459.9 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.5472, allocations: 15.98 kB / 459.9 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.5472, allocations: 0 / 459.9 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.5472, allocations: 4.031 kB / 459.9 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.5473, allocations: 7.938 kB / 459.9 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5473, allocations: 0 / 459.9 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.5476, allocations: 204.4 kB / 460.1 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.5478, allocations: 105 kB / 460.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.5478, allocations: 11.92 kB / 460.2 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.548, allocations: 8 kB / 460.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.548, allocations: 4 kB / 460.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.5481, allocations: 7.984 kB / 460.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001801/0.5482, allocations: 135.2 kB / 460.4 MB, free: 15.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5483, allocations: 0 / 460.4 MB, free: 15.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004024/0.5487, allocations: 39.92 kB / 460.4 MB, free: 15.75 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.001338/0.55, allocations: 448.3 kB / 460.9 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005052/0.5506, allocations: 167.3 kB / 461 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5506, allocations: 0 / 461 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.5508, allocations: 39.91 kB / 461.1 MB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.5511, allocations: 20.14 kB / 461.1 MB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006789/0.5518, allocations: 283.9 kB / 461.4 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.5522, allocations: 0.7043 MB / 462.1 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.5522, allocations: 19.42 kB / 462.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5523, allocations: 4 kB / 462.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of Templates: time 0.005885/0.5581, allocations: 1.942 MB / 464 MB, free: 12.15 MB / 394.7 MB