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.Test60.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.Test60,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.Test60") Notification: Performance of loadModel(ModelicaTest): time 2.413/2.413, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004429/0.000443, allocations: 12 kB / 314.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4032, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.5497, allocations: 82.35 MB / 452.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.5501, allocations: 75.97 kB / 452.2 MB, free: 8.211 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.02325/0.5733, allocations: 5.16 MB / 457.4 MB, free: 3.039 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5734, allocations: 0 / 457.4 MB, free: 3.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.5734, allocations: 4 kB / 457.4 MB, free: 3.035 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.0006604/0.5741, allocations: 474.1 kB / 457.9 MB, free: 2.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.5741, allocations: 8.031 kB / 457.9 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.5742, allocations: 11.91 kB / 457.9 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.5746, allocations: 193.1 kB / 458.1 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.5746, allocations: 4 kB / 458.1 MB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.5747, allocations: 7.906 kB / 458.1 MB, free: 2.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.5749, allocations: 76.16 kB / 458.2 MB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.575, allocations: 3.938 kB / 458.2 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.575, allocations: 3.953 kB / 458.2 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.575, allocations: 8 kB / 458.2 MB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.5751, allocations: 23.98 kB / 458.2 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.5756, allocations: 288.9 kB / 458.5 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.5759, allocations: 62.61 kB / 458.5 MB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.576, allocations: 0 / 458.5 MB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.5762, allocations: 75.34 kB / 458.6 MB, free: 1.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.466e-06/0.5762, allocations: 0 / 458.6 MB, free: 1.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008715/0.5771, allocations: 181.3 kB / 458.8 MB, free: 1.457 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.5772, allocations: 85.11 kB / 458.9 MB, free: 1.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.5774, allocations: 142.2 kB / 459 MB, free: 1.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.5775, allocations: 25.7 kB / 459 MB, free: 1.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.5776, allocations: 166.5 kB / 459.2 MB, free: 1.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.5776, allocations: 31.59 kB / 459.2 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.5776, allocations: 0 / 459.2 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5778, allocations: 318.8 kB / 459.5 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.5779, allocations: 31.98 kB / 459.6 MB, free: 0.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.5781, allocations: 54.56 kB / 459.6 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.5782, allocations: 69.62 kB / 459.7 MB, free: 500 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5783, allocations: 4.031 kB / 459.7 MB, free: 496 kB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000418/0.5787, allocations: 155.3 kB / 459.8 MB, free: 328 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.47e-05/0.5788, allocations: 41.69 kB / 459.9 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.5788, allocations: 0 / 459.9 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.5788, allocations: 0 / 459.9 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.579, allocations: 16.31 kB / 459.9 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.579, allocations: 7.984 kB / 459.9 MB, free: 256 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.5791, allocations: 8 kB / 459.9 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.5792, allocations: 7.984 kB / 459.9 MB, free: 240 kB / 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.0001336/0.5793, allocations: 125.9 kB / 460 MB, free: 104 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.5794, allocations: 11.86 kB / 460.1 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004203/0.5798, allocations: 126.3 kB / 460.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.5798, allocations: 3.938 kB / 460.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5798, allocations: 0 / 460.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5798, allocations: 3.984 kB / 460.2 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.5805, allocations: 407.2 kB / 460.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5805, allocations: 0 / 460.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.5806, allocations: 15.98 kB / 460.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.5807, allocations: 4 kB / 460.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.5807, allocations: 0 / 460.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.5807, allocations: 3.938 kB / 460.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5807, allocations: 4 kB / 460.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.5811, allocations: 212.2 kB / 460.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.5812, allocations: 93.28 kB / 460.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.5812, allocations: 7.984 kB / 460.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.5814, allocations: 4 kB / 460.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.5814, allocations: 7.938 kB / 460.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.5815, allocations: 7.984 kB / 460.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001307/0.5816, allocations: 110 kB / 461 MB, free: 15 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5816, allocations: 0 / 461 MB, free: 15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004344/0.5821, allocations: 51.98 kB / 461.1 MB, free: 14.95 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.001612/0.5837, allocations: 0.542 MB / 461.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004576/0.5842, allocations: 147.3 kB / 461.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5842, allocations: 0 / 461.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.5843, allocations: 35.92 kB / 461.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.5847, allocations: 23.94 kB / 461.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/0.5853, allocations: 236.2 kB / 462.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.5856, allocations: 0.7043 MB / 462.8 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.705e-05/0.5857, allocations: 19.44 kB / 462.8 MB, free: 13.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.5857, allocations: 0 / 462.8 MB, free: 13.24 MB / 394.7 MB Notification: Performance of Templates: time 0.006242/0.592, allocations: 2.11 MB / 464.9 MB, free: 11.13 MB / 394.7 MB