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.Test40.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.Test40,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.Test40") Notification: Performance of loadModel(ModelicaTest): time 2.641/2.641, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.0004531, allocations: 16 kB / 314.9 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3711, allocations: 54.86 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.5275, allocations: 82.13 MB / 451.9 MB, free: 8.465 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/0.5279, allocations: 87.83 kB / 452 MB, free: 8.379 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.0231/0.551, allocations: 4.692 MB / 456.7 MB, free: 3.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5511, allocations: 0 / 456.7 MB, free: 3.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.5511, allocations: 4 kB / 456.7 MB, free: 3.676 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.0007711/0.5519, allocations: 490 kB / 457.2 MB, free: 3.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5519, allocations: 12.03 kB / 457.2 MB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.552, allocations: 7.906 kB / 457.2 MB, free: 3.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.5525, allocations: 211.6 kB / 457.4 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.5525, allocations: 4 kB / 457.4 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.5526, allocations: 11.98 kB / 457.4 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.5528, allocations: 53.67 kB / 457.5 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5529, allocations: 0 / 457.5 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.5529, allocations: 3.953 kB / 457.5 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5529, allocations: 0 / 457.5 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.553, allocations: 23.92 kB / 457.5 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.5536, allocations: 332.7 kB / 457.8 MB, free: 2.391 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.5539, allocations: 54.69 kB / 457.9 MB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.5539, allocations: 0 / 457.9 MB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.5541, allocations: 79.98 kB / 458 MB, free: 2.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.5542, allocations: 4 kB / 458 MB, free: 2.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009644/0.5551, allocations: 185.2 kB / 458.2 MB, free: 2.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.5552, allocations: 51.41 kB / 458.2 MB, free: 1.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.5556, allocations: 210.3 kB / 458.4 MB, free: 1.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.5557, allocations: 25.7 kB / 458.4 MB, free: 1.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.5558, allocations: 170.4 kB / 458.6 MB, free: 1.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.5558, allocations: 27.64 kB / 458.6 MB, free: 1.539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.5559, allocations: 8 kB / 458.6 MB, free: 1.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.556, allocations: 314.8 kB / 458.9 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.5562, allocations: 35.98 kB / 459 MB, free: 1.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.5563, allocations: 53.69 kB / 459 MB, free: 1.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.5565, allocations: 73.69 kB / 459.1 MB, free: 1.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5566, allocations: 0 / 459.1 MB, free: 1.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005104/0.5571, allocations: 175.3 kB / 459.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/0.5572, allocations: 43.44 kB / 459.3 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5572, allocations: 4.078 kB / 459.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5572, allocations: 4 kB / 459.3 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.5574, allocations: 15.98 kB / 459.3 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.5574, allocations: 7.922 kB / 459.4 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.5575, allocations: 8 kB / 459.4 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.5576, allocations: 4 kB / 459.4 MB, free: 0.7695 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.0002345/0.5578, allocations: 129.8 kB / 459.5 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.5579, allocations: 15.77 kB / 459.5 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.5584, allocations: 127 kB / 459.6 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5584, allocations: 0 / 459.6 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5584, allocations: 0 / 459.6 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5584, allocations: 0 / 459.6 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007765/0.5592, allocations: 427.2 kB / 460 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5592, allocations: 0 / 460 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.5593, allocations: 11.98 kB / 460.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.5593, allocations: 8.031 kB / 460.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.5594, allocations: 0 / 460.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.5594, allocations: 0 / 460.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.5594, allocations: 0 / 460.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.5598, allocations: 224.2 kB / 460.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.56, allocations: 97.33 kB / 460.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.56, allocations: 4.094 kB / 460.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.5602, allocations: 15.94 kB / 460.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.5602, allocations: 7.984 kB / 460.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.5603, allocations: 7.938 kB / 460.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003117/0.5606, allocations: 151.2 kB / 460.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5606, allocations: 0 / 460.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004528/0.5611, allocations: 43.92 kB / 460.6 MB, free: 15.41 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.001353/0.5624, allocations: 457 kB / 461.1 MB, free: 15.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005082/0.563, allocations: 175.3 kB / 461.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.563, allocations: 0 / 461.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.5631, allocations: 35.92 kB / 461.3 MB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.5637, allocations: 27.89 kB / 461.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.5648, allocations: 296.4 kB / 461.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.5652, allocations: 0.7121 MB / 462.3 MB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.5653, allocations: 23.44 kB / 462.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5653, allocations: 0 / 462.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of Templates: time 0.00638/0.5717, allocations: 2.009 MB / 464.3 MB, free: 11.7 MB / 394.7 MB