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.Test54.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.Test54,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.Test54") Notification: Performance of loadModel(ModelicaTest): time 2.566/2.566, allocations: 234.9 MB / 251.1 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006131/0.0006132, allocations: 16 kB / 314.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3645, allocations: 54.86 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.5211, allocations: 82.14 MB / 451.9 MB, free: 8.461 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.5214, allocations: 75.95 kB / 452 MB, free: 8.387 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.02168/0.5431, allocations: 4.766 MB / 456.8 MB, free: 3.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5432, allocations: 0 / 456.8 MB, free: 3.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.5432, allocations: 4 kB / 456.8 MB, free: 3.609 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.0007099/0.5439, allocations: 490 kB / 457.3 MB, free: 3.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.544, allocations: 8.031 kB / 457.3 MB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.5441, allocations: 15.81 kB / 457.3 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.5445, allocations: 210.9 kB / 457.5 MB, free: 2.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.5445, allocations: 3.984 kB / 457.5 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.5446, allocations: 8 kB / 457.5 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.5448, allocations: 57.61 kB / 457.6 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5448, allocations: 0 / 457.6 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.5448, allocations: 11.95 kB / 457.6 MB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.5448, allocations: 0 / 457.6 MB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.545, allocations: 23.92 kB / 457.6 MB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.5455, allocations: 316.9 kB / 457.9 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.5458, allocations: 58.67 kB / 458 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.5458, allocations: 8 kB / 458 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.5461, allocations: 72 kB / 458 MB, free: 2.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.798e-06/0.5461, allocations: 3.984 kB / 458 MB, free: 2.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008202/0.5469, allocations: 193 kB / 458.2 MB, free: 1.977 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.547, allocations: 55.41 kB / 458.3 MB, free: 1.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.5473, allocations: 215.4 kB / 458.5 MB, free: 1.688 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.5474, allocations: 29.69 kB / 458.5 MB, free: 1.652 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.5475, allocations: 170.6 kB / 458.7 MB, free: 1.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.5476, allocations: 23.66 kB / 458.7 MB, free: 1.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.5476, allocations: 4 kB / 458.7 MB, free: 1.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5477, allocations: 318.8 kB / 459 MB, free: 1.137 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.5479, allocations: 35.98 kB / 459.1 MB, free: 1.102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.5481, allocations: 53.69 kB / 459.1 MB, free: 1.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.5483, allocations: 73.7 kB / 459.2 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5483, allocations: 0 / 459.2 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004564/0.5487, allocations: 179.2 kB / 459.4 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.5488, allocations: 41.69 kB / 459.4 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5488, allocations: 4 kB / 459.4 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5489, allocations: 0 / 459.4 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.549, allocations: 15.94 kB / 459.4 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.549, allocations: 0 / 459.4 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.5491, allocations: 11.98 kB / 459.4 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.5492, allocations: 8.031 kB / 459.5 MB, free: 0.6914 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.0001536/0.5493, allocations: 129.8 kB / 459.6 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.5494, allocations: 19.77 kB / 459.6 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.5498, allocations: 123 kB / 459.7 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.5498, allocations: 7.938 kB / 459.7 MB, free: 408 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5498, allocations: 0 / 459.7 MB, free: 408 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5498, allocations: 0 / 459.7 MB, free: 408 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000777/0.5506, allocations: 435.4 kB / 460.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5507, allocations: 0 / 460.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/0.5507, allocations: 8 kB / 460.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/0.5508, allocations: 4 kB / 460.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.5508, allocations: 0 / 460.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5508, allocations: 0 / 460.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5508, allocations: 0 / 460.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.5512, allocations: 224.2 kB / 460.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.5514, allocations: 101.3 kB / 460.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.5514, allocations: 4 kB / 460.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.5515, allocations: 4 kB / 460.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.5516, allocations: 11.92 kB / 460.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.5516, allocations: 8 kB / 460.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002271/0.5519, allocations: 167.2 kB / 460.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5519, allocations: 0 / 460.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003882/0.5523, allocations: 47.94 kB / 460.7 MB, free: 15.3 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.001335/0.5536, allocations: 448 kB / 461.2 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.5541, allocations: 167.2 kB / 461.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5541, allocations: 0 / 461.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.5542, allocations: 35.92 kB / 461.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.5546, allocations: 24.02 kB / 461.4 MB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007573/0.5554, allocations: 324.2 kB / 461.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.5557, allocations: 0.7121 MB / 462.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.5558, allocations: 23.42 kB / 462.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5558, allocations: 0 / 462.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of Templates: time 0.005719/0.5615, allocations: 2.042 MB / 464.5 MB, free: 11.56 MB / 394.7 MB