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.Test16.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.Test16,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.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.53/2.53, allocations: 234.9 MB / 251.1 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007358/0.0007362, allocations: 16 kB / 315 MB, free: 9.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3873, allocations: 54.85 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.5392, allocations: 82.1 MB / 451.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.5396, allocations: 83.89 kB / 452 MB, free: 10.5 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.02109/0.5607, allocations: 4.43 MB / 456.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5608, allocations: 0 / 456.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.5608, allocations: 8 kB / 456.4 MB, free: 6.059 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.0007306/0.5616, allocations: 478.1 kB / 456.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.5616, allocations: 12.03 kB / 456.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.5617, allocations: 7.906 kB / 456.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.5621, allocations: 199.4 kB / 457.1 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.5621, allocations: 8 kB / 457.1 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.5622, allocations: 4 kB / 457.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.5624, allocations: 53.67 kB / 457.2 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5624, allocations: 7.938 kB / 457.2 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.5624, allocations: 3.953 kB / 457.2 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5625, allocations: 4 kB / 457.2 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.5626, allocations: 23.97 kB / 457.2 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.5632, allocations: 308.8 kB / 457.5 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.5635, allocations: 62.61 kB / 457.6 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.5635, allocations: 7.938 kB / 457.6 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.5637, allocations: 72.06 kB / 457.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.715e-06/0.5637, allocations: 0 / 457.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008769/0.5646, allocations: 181.3 kB / 457.8 MB, free: 4.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.5647, allocations: 51.41 kB / 457.9 MB, free: 4.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.565, allocations: 173.8 kB / 458 MB, free: 4.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.565, allocations: 33.7 kB / 458.1 MB, free: 4.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.5651, allocations: 158.6 kB / 458.2 MB, free: 4.031 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.5651, allocations: 27.64 kB / 458.3 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.5652, allocations: 7.938 kB / 458.3 MB, free: 3.996 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5654, allocations: 314.8 kB / 458.6 MB, free: 3.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.5655, allocations: 35.98 kB / 458.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.5657, allocations: 57.69 kB / 458.7 MB, free: 3.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.5659, allocations: 77.69 kB / 458.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5659, allocations: 0 / 458.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004907/0.5664, allocations: 171.3 kB / 458.9 MB, free: 3.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.261e-05/0.5665, allocations: 37.69 kB / 458.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5665, allocations: 0 / 458.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5666, allocations: 0 / 458.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.5667, allocations: 19.92 kB / 459 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.5668, allocations: 4 kB / 459 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.5669, allocations: 8 kB / 459 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.5669, allocations: 8.031 kB / 459 MB, free: 3.238 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.0001773/0.5671, allocations: 127.8 kB / 459.1 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.5672, allocations: 15.77 kB / 459.1 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.5676, allocations: 122.3 kB / 459.2 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.5676, allocations: 384 / 459.2 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.5676, allocations: 0 / 459.2 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5677, allocations: 0 / 459.2 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007825/0.5685, allocations: 419.2 kB / 459.7 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5685, allocations: 0 / 459.7 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.147e-05/0.5686, allocations: 12 kB / 459.7 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.5686, allocations: 3.938 kB / 459.7 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.5686, allocations: 4 kB / 459.7 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.5686, allocations: 4 kB / 459.7 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5686, allocations: 3.938 kB / 459.7 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.569, allocations: 212.2 kB / 459.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.5692, allocations: 96.95 kB / 460 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.5692, allocations: 4.281 kB / 460 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5694, allocations: 11.94 kB / 460 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.5694, allocations: 7.969 kB / 460 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.5695, allocations: 7.938 kB / 460 MB, free: 2.086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000167/0.5696, allocations: 123.2 kB / 460.1 MB, free: 1.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5697, allocations: 4 kB / 460.1 MB, free: 1.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004294/0.5701, allocations: 43.98 kB / 460.2 MB, free: 1.918 MB / 378.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.001345/0.5714, allocations: 456 kB / 460.6 MB, free: 1.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005124/0.572, allocations: 171.3 kB / 460.8 MB, free: 1.375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.572, allocations: 0 / 460.8 MB, free: 1.375 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.5722, allocations: 36.05 kB / 460.8 MB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.5725, allocations: 19.98 kB / 460.9 MB, free: 1.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/0.5733, allocations: 263.6 kB / 461.1 MB, free: 1.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.5737, allocations: 0.7082 MB / 461.8 MB, free: 300 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.5738, allocations: 15.44 kB / 461.8 MB, free: 288 kB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/0.5738, allocations: 0 / 461.8 MB, free: 288 kB / 378.7 MB Notification: Performance of Templates: time 0.007773/0.5815, allocations: 1.913 MB / 463.7 MB, free: 14.37 MB / 394.7 MB