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.Test35.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.Test35,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.Test35") Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 234.9 MB / 251.1 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005813/0.0005815, allocations: 12 kB / 314.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3421, allocations: 54.87 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1739/0.516, allocations: 82.13 MB / 451.9 MB, free: 8.457 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.5164, allocations: 79.95 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.0271/0.5435, allocations: 4.785 MB / 456.8 MB, free: 3.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5435, allocations: 0 / 456.8 MB, free: 3.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.5436, allocations: 0 / 456.8 MB, free: 3.59 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.0007045/0.5443, allocations: 0.4902 MB / 457.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5443, allocations: 8.031 kB / 457.3 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.5444, allocations: 15.81 kB / 457.3 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.5448, allocations: 206.9 kB / 457.5 MB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.5449, allocations: 8 kB / 457.5 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.5449, allocations: 4 kB / 457.5 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.5451, allocations: 53.67 kB / 457.6 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.5451, allocations: 4 kB / 457.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.5452, allocations: 3.953 kB / 457.6 MB, free: 2.695 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5452, allocations: 4 kB / 457.6 MB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.5453, allocations: 27.91 kB / 457.6 MB, free: 2.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.5459, allocations: 308.9 kB / 457.9 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.5462, allocations: 66.67 kB / 458 MB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.5462, allocations: 0 / 458 MB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.5465, allocations: 76 kB / 458.1 MB, free: 2.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.5465, allocations: 0 / 458.1 MB, free: 2.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008906/0.5474, allocations: 201.2 kB / 458.3 MB, free: 1.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.5475, allocations: 55.41 kB / 458.3 MB, free: 1.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.5478, allocations: 211.4 kB / 458.5 MB, free: 1.664 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.5479, allocations: 37.7 kB / 458.6 MB, free: 1.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.548, allocations: 158.6 kB / 458.7 MB, free: 1.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.548, allocations: 31.62 kB / 458.7 MB, free: 1.434 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.5481, allocations: 8 kB / 458.8 MB, free: 1.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5482, allocations: 310.8 kB / 459.1 MB, free: 1.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.5484, allocations: 43.97 kB / 459.1 MB, free: 1.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.5485, allocations: 53.7 kB / 459.1 MB, free: 1.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.5487, allocations: 77.69 kB / 459.2 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5488, allocations: 0 / 459.2 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004812/0.5492, allocations: 179.2 kB / 459.4 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.5493, allocations: 33.7 kB / 459.4 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.5493, allocations: 208 / 459.4 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.5494, allocations: 0 / 459.4 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.5495, allocations: 19.98 kB / 459.5 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.5495, allocations: 7.984 kB / 459.5 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.5497, allocations: 4 kB / 459.5 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.5497, allocations: 15.97 kB / 459.5 MB, free: 0.6562 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.0001646/0.5499, allocations: 127.2 kB / 459.6 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.5499, allocations: 19.77 kB / 459.6 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.5504, allocations: 127 kB / 459.7 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.5504, allocations: 0 / 459.7 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5504, allocations: 0 / 459.7 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5504, allocations: 3.984 kB / 459.8 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007778/0.5512, allocations: 419.5 kB / 460.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5512, allocations: 0 / 460.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.947e-05/0.5513, allocations: 19.92 kB / 460.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.5513, allocations: 0 / 460.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.5514, allocations: 4 kB / 460.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-06/0.5514, allocations: 4 kB / 460.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5514, allocations: 0 / 460.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.5521, allocations: 220.3 kB / 460.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.5523, allocations: 101 kB / 460.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.469e-05/0.5525, allocations: 7.984 kB / 460.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.5528, allocations: 8 kB / 460.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.5529, allocations: 4 kB / 460.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.553, allocations: 3.984 kB / 460.5 MB, free: 15.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003343/0.5533, allocations: 163.2 kB / 460.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.376e-06/0.5533, allocations: 4 kB / 460.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004151/0.5538, allocations: 51.86 kB / 460.7 MB, free: 15.28 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.001317/0.5551, allocations: 453.4 kB / 461.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004852/0.5556, allocations: 171.3 kB / 461.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5556, allocations: 0 / 461.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.5558, allocations: 36.05 kB / 461.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.5561, allocations: 19.98 kB / 461.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007538/0.5569, allocations: 316.2 kB / 461.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.5573, allocations: 0.7199 MB / 462.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.5573, allocations: 15.44 kB / 462.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5573, allocations: 0 / 462.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of Templates: time 0.005636/0.563, allocations: 2.046 MB / 464.5 MB, free: 11.53 MB / 394.7 MB