Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.241/2.241, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000718/0.0007181, allocations: 15.98 kB / 314.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3626, allocations: 54.86 MB / 369.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.4858, allocations: 82.12 MB / 451.4 MB, free: 8.621 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.4861, allocations: 75.95 kB / 451.5 MB, free: 8.547 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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.0187/0.5048, allocations: 4.434 MB / 455.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.639e-06/0.5049, allocations: 0 / 455.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.5049, allocations: 0 / 455.9 MB, free: 4.105 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.0006367/0.5055, allocations: 470.2 kB / 456.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.5056, allocations: 8.031 kB / 456.4 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.5056, allocations: 7.906 kB / 456.4 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.506, allocations: 217.4 kB / 456.6 MB, free: 3.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.506, allocations: 4 kB / 456.6 MB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.5061, allocations: 4 kB / 456.6 MB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.5063, allocations: 53.67 kB / 456.6 MB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.5063, allocations: 0 / 456.6 MB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.5063, allocations: 7.953 kB / 456.7 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5063, allocations: 0 / 456.7 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.5064, allocations: 27.97 kB / 456.7 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.5069, allocations: 308.8 kB / 457 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.5072, allocations: 62.61 kB / 457 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.5072, allocations: 7.938 kB / 457.1 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.5074, allocations: 72.17 kB / 457.1 MB, free: 2.703 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.563e-06/0.5074, allocations: 4 kB / 457.1 MB, free: 2.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006954/0.5081, allocations: 177.3 kB / 457.3 MB, free: 2.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.5082, allocations: 51.41 kB / 457.4 MB, free: 2.457 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.5084, allocations: 157.5 kB / 457.5 MB, free: 2.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.5084, allocations: 29.7 kB / 457.5 MB, free: 2.258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.5085, allocations: 170.5 kB / 457.7 MB, free: 2.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.5086, allocations: 23.66 kB / 457.7 MB, free: 2.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.074e-06/0.5086, allocations: 3.938 kB / 457.7 MB, free: 2.062 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5088, allocations: 322.8 kB / 458 MB, free: 1.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.5089, allocations: 39.92 kB / 458.1 MB, free: 1.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.5091, allocations: 57.69 kB / 458.1 MB, free: 1.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.5092, allocations: 69.7 kB / 458.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.5093, allocations: 0 / 458.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004043/0.5097, allocations: 171.3 kB / 458.4 MB, free: 1.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.5097, allocations: 37.66 kB / 458.4 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.5098, allocations: 4.031 kB / 458.4 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5098, allocations: 0 / 458.4 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.5099, allocations: 15.98 kB / 458.4 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.5099, allocations: 4 kB / 458.4 MB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.433e-05/0.51, allocations: 8 kB / 458.4 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.5101, allocations: 4.375 kB / 458.4 MB, free: 1.305 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.0001392/0.5102, allocations: 129.8 kB / 458.6 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.5102, allocations: 11.81 kB / 458.6 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.5106, allocations: 126.3 kB / 458.7 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.101e-06/0.5106, allocations: 0 / 458.7 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.614e-06/0.5107, allocations: 7.938 kB / 458.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.984e-06/0.5107, allocations: 0 / 458.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006622/0.5113, allocations: 411.3 kB / 459.1 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-06/0.5114, allocations: 3.938 kB / 459.1 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.5114, allocations: 12 kB / 459.1 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.865e-06/0.5115, allocations: 4.031 kB / 459.1 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.5115, allocations: 7.922 kB / 459.1 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5115, allocations: 0 / 459.1 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5115, allocations: 4 kB / 459.1 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.5119, allocations: 225.8 kB / 459.4 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.512, allocations: 93 kB / 459.5 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.512, allocations: 8.281 kB / 459.5 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5122, allocations: 11.98 kB / 459.5 MB, free: 144 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.5122, allocations: 4 kB / 459.5 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.5122, allocations: 3.938 kB / 459.5 MB, free: 136 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001521/0.5124, allocations: 134.5 kB / 459.6 MB, free: 4 kB / 378.7 MB Notification: Performance of sort global known variables: time 6.75e-07/0.5124, allocations: 0 / 459.6 MB, free: 4 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004191/0.5128, allocations: 36.05 kB / 459.7 MB, free: 15.96 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.001571/0.5144, allocations: 461.2 kB / 460.1 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004349/0.5149, allocations: 163.4 kB / 460.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.525e-06/0.5149, allocations: 4 kB / 460.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.515, allocations: 35.92 kB / 460.3 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.5154, allocations: 19.94 kB / 460.3 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.516, allocations: 264 kB / 460.6 MB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.5164, allocations: 0.7004 MB / 461.3 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.5165, allocations: 19.44 kB / 461.3 MB, free: 14.33 MB / 394.7 MB Notification: Performance of SimCode: time 1.48e-06/0.5165, allocations: 3.938 kB / 461.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of Templates: time 0.004675/0.5212, allocations: 1.904 MB / 463.2 MB, free: 12.43 MB / 394.7 MB