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.Test53.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.Test53,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.Test53") Notification: Performance of loadModel(ModelicaTest): time 2.745/2.745, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006375/0.0006376, allocations: 16 kB / 314.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.4578, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.6145, allocations: 82.13 MB / 451.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/0.6149, allocations: 87.84 kB / 452 MB, free: 8.414 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.02272/0.6376, allocations: 4.758 MB / 456.8 MB, free: 3.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6376, allocations: 0 / 456.8 MB, free: 3.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.6377, allocations: 4 kB / 456.8 MB, free: 3.645 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.0008067/0.6385, allocations: 490 kB / 457.3 MB, free: 3.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.6386, allocations: 8.031 kB / 457.3 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.6386, allocations: 15.81 kB / 457.3 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.6391, allocations: 214.8 kB / 457.5 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.6391, allocations: 4 kB / 457.5 MB, free: 2.828 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.6392, allocations: 4 kB / 457.5 MB, free: 2.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.6394, allocations: 57.67 kB / 457.6 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.6394, allocations: 0 / 457.6 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.6395, allocations: 15.89 kB / 457.6 MB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.6395, allocations: 0 / 457.6 MB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.6396, allocations: 19.98 kB / 457.6 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.6402, allocations: 312.9 kB / 457.9 MB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.6405, allocations: 66.67 kB / 458 MB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.6406, allocations: 3.938 kB / 458 MB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.6408, allocations: 72.06 kB / 458 MB, free: 2.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.425e-06/0.6408, allocations: 3.938 kB / 458 MB, free: 2.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009391/0.6418, allocations: 197 kB / 458.2 MB, free: 2.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.6419, allocations: 51.41 kB / 458.3 MB, free: 1.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.6422, allocations: 219.4 kB / 458.5 MB, free: 1.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.6423, allocations: 29.7 kB / 458.5 MB, free: 1.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.6424, allocations: 170.5 kB / 458.7 MB, free: 1.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.6425, allocations: 27.64 kB / 458.7 MB, free: 1.488 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-06/0.6425, allocations: 0 / 458.7 MB, free: 1.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.6427, allocations: 314.8 kB / 459 MB, free: 1.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.6428, allocations: 39.97 kB / 459.1 MB, free: 1.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.643, allocations: 55.67 kB / 459.1 MB, free: 1.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.6432, allocations: 77.69 kB / 459.2 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6433, allocations: 0 / 459.2 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005022/0.6438, allocations: 179.2 kB / 459.4 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.6438, allocations: 37.7 kB / 459.4 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.6439, allocations: 0 / 459.4 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6439, allocations: 0 / 459.4 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.6441, allocations: 23.92 kB / 459.4 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.6441, allocations: 0 / 459.4 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.6442, allocations: 8.031 kB / 459.4 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.6442, allocations: 4 kB / 459.4 MB, free: 0.7266 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.0002149/0.6445, allocations: 133.8 kB / 459.6 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.6445, allocations: 15.77 kB / 459.6 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.645, allocations: 123 kB / 459.7 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.645, allocations: 0 / 459.7 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.645, allocations: 0 / 459.7 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.645, allocations: 3.984 kB / 459.7 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008472/0.6459, allocations: 431.3 kB / 460.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6459, allocations: 0 / 460.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.304e-05/0.646, allocations: 15.98 kB / 460.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.646, allocations: 0 / 460.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.646, allocations: 0 / 460.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.646, allocations: 4 kB / 460.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6461, allocations: 3.938 kB / 460.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.6465, allocations: 216.4 kB / 460.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.6466, allocations: 105 kB / 460.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.6467, allocations: 4.453 kB / 460.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.6468, allocations: 7.938 kB / 460.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.6469, allocations: 11.94 kB / 460.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.6469, allocations: 11.98 kB / 460.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002463/0.6472, allocations: 159.2 kB / 460.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6472, allocations: 4 kB / 460.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004283/0.6476, allocations: 47.92 kB / 460.7 MB, free: 15.34 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.001451/0.6491, allocations: 448.6 kB / 461.2 MB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005424/0.6497, allocations: 167.3 kB / 461.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.6497, allocations: 4 kB / 461.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.6498, allocations: 39.98 kB / 461.4 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.6502, allocations: 15.98 kB / 461.4 MB, free: 14.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007973/0.6511, allocations: 320.3 kB / 461.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.6515, allocations: 0.716 MB / 462.4 MB, free: 13.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.6516, allocations: 19.44 kB / 462.4 MB, free: 13.63 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6516, allocations: 0 / 462.4 MB, free: 13.63 MB / 394.7 MB Notification: Performance of Templates: time 0.006321/0.6579, allocations: 2.05 MB / 464.5 MB, free: 11.59 MB / 394.7 MB