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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.82/2.82, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004566, allocations: 19.98 kB / 314.9 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3678, allocations: 54.87 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.5436, allocations: 82.13 MB / 451.9 MB, free: 8.469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.544, allocations: 79.97 kB / 452 MB, free: 8.391 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.02299/0.567, allocations: 4.876 MB / 456.9 MB, free: 3.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.567, allocations: 0 / 456.9 MB, free: 3.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.5671, allocations: 4 kB / 456.9 MB, free: 3.496 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.0007803/0.5678, allocations: 0.4902 MB / 457.4 MB, free: 2.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5679, allocations: 8.031 kB / 457.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.568, allocations: 15.81 kB / 457.4 MB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.5684, allocations: 214.8 kB / 457.6 MB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.5684, allocations: 0 / 457.6 MB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.5685, allocations: 8 kB / 457.6 MB, free: 2.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.5687, allocations: 57.61 kB / 457.7 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.5687, allocations: 4 kB / 457.7 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.5687, allocations: 7.953 kB / 457.7 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.5688, allocations: 3.984 kB / 457.7 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.5689, allocations: 23.97 kB / 457.7 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.5695, allocations: 328.8 kB / 458.1 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.5698, allocations: 66.56 kB / 458.1 MB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.5698, allocations: 7.984 kB / 458.1 MB, free: 2.109 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.5701, allocations: 68.06 kB / 458.2 MB, free: 2.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.625e-06/0.5701, allocations: 0 / 458.2 MB, free: 2.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009184/0.571, allocations: 197.3 kB / 458.4 MB, free: 1.832 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.5711, allocations: 51.41 kB / 458.4 MB, free: 1.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.5715, allocations: 254.5 kB / 458.7 MB, free: 1.504 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.5716, allocations: 33.7 kB / 458.7 MB, free: 1.465 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.5717, allocations: 170.6 kB / 458.9 MB, free: 1.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.5717, allocations: 27.64 kB / 458.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.5718, allocations: 0 / 458.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5719, allocations: 318.8 kB / 459.2 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.5721, allocations: 31.98 kB / 459.3 MB, free: 0.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.5723, allocations: 57.69 kB / 459.3 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.5725, allocations: 81.62 kB / 459.4 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5725, allocations: 0 / 459.4 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004844/0.573, allocations: 175.2 kB / 459.6 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/0.573, allocations: 37.69 kB / 459.6 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.5731, allocations: 128 / 459.6 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.5731, allocations: 7.938 kB / 459.6 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.5733, allocations: 23.98 kB / 459.6 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.5733, allocations: 0 / 459.6 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.5734, allocations: 4 kB / 459.6 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.5735, allocations: 12.03 kB / 459.6 MB, free: 0.4961 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.0002007/0.5737, allocations: 135.2 kB / 459.8 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.5737, allocations: 19.77 kB / 459.8 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.5742, allocations: 119 kB / 459.9 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5742, allocations: 4 kB / 459.9 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.5742, allocations: 0 / 459.9 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.5742, allocations: 3.984 kB / 459.9 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008368/0.5751, allocations: 443.2 kB / 460.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5751, allocations: 0 / 460.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.5752, allocations: 11.94 kB / 460.4 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.5752, allocations: 3.938 kB / 460.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.5752, allocations: 7.984 kB / 460.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.5753, allocations: 0 / 460.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5753, allocations: 0 / 460.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.5757, allocations: 220.3 kB / 460.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.5758, allocations: 108.9 kB / 460.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.5759, allocations: 4 kB / 460.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.576, allocations: 7.984 kB / 460.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.5761, allocations: 4 kB / 460.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.5761, allocations: 4 kB / 460.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003055/0.5764, allocations: 196.2 kB / 460.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5764, allocations: 4 kB / 460.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004403/0.5769, allocations: 43.92 kB / 461 MB, free: 15.08 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.001465/0.5784, allocations: 463.6 kB / 461.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005546/0.579, allocations: 167.3 kB / 461.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.579, allocations: 0 / 461.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.5791, allocations: 36.05 kB / 461.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.5795, allocations: 20.17 kB / 461.6 MB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008945/0.5805, allocations: 360.5 kB / 462 MB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.5809, allocations: 0.716 MB / 462.7 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.5811, allocations: 23.42 kB / 462.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of SimCode: time 1.774e-06/0.5811, allocations: 0 / 462.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of Templates: time 0.007267/0.5884, allocations: 2.159 MB / 464.9 MB, free: 11.15 MB / 394.7 MB