Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadModel(ModelicaTest): time 2.25/2.25, allocations: 209.2 MB / 225.4 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004342, allocations: 15.98 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3726, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.516, allocations: 75.87 MB / 407.7 MB, free: 2.578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.5164, allocations: 67.97 kB / 407.7 MB, free: 2.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02213/0.5385, allocations: 4.071 MB / 411.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5386, allocations: 0 / 411.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.5386, allocations: 4 kB / 411.8 MB, free: 14.44 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008507/0.5395, allocations: 435.7 kB / 412.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.5396, allocations: 8.031 kB / 412.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.5397, allocations: 11.84 kB / 412.3 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.5402, allocations: 199.4 kB / 412.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5402, allocations: 4 kB / 412.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.5403, allocations: 11.98 kB / 412.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.5405, allocations: 41.69 kB / 412.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.5405, allocations: 0 / 412.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.5405, allocations: 0 / 412.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.5406, allocations: 0 / 412.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.5407, allocations: 15.98 kB / 412.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.5414, allocations: 300.7 kB / 412.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.5418, allocations: 46.56 kB / 412.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.5418, allocations: 4 kB / 412.9 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.5421, allocations: 59.47 kB / 412.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.056e-06/0.5421, allocations: 0 / 412.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000748/0.5429, allocations: 117.3 kB / 413 MB, free: 13.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.543, allocations: 51.41 kB / 413.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.5434, allocations: 186.4 kB / 413.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.5435, allocations: 29.7 kB / 413.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.5436, allocations: 166.4 kB / 413.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.5437, allocations: 19.8 kB / 413.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/0.5437, allocations: 0 / 413.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.544, allocations: 318.8 kB / 413.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.5441, allocations: 23.98 kB / 413.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.5442, allocations: 23.92 kB / 413.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.5444, allocations: 57.7 kB / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5445, allocations: 0 / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004627/0.5449, allocations: 135.2 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.431e-05/0.545, allocations: 33.7 kB / 414.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.545, allocations: 0 / 414.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.5451, allocations: 0 / 414.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.5452, allocations: 11.98 kB / 414.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.5453, allocations: 0 / 414.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.5454, allocations: 4 kB / 414.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.5454, allocations: 3.953 kB / 414.1 MB, free: 11.92 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0002163/0.5457, allocations: 129.8 kB / 414.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.5457, allocations: 7.906 kB / 414.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.5462, allocations: 93.92 kB / 414.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5462, allocations: 0 / 414.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.5463, allocations: 4 kB / 414.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5463, allocations: 288 / 414.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/0.5471, allocations: 354.5 kB / 414.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5471, allocations: 4 kB / 414.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-05/0.5472, allocations: 8.125 kB / 414.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.5473, allocations: 3.984 kB / 414.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.5473, allocations: 8 kB / 414.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.5473, allocations: 96 / 414.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5474, allocations: 3.938 kB / 414.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.5478, allocations: 179.4 kB / 414.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.5479, allocations: 85.02 kB / 414.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.548, allocations: 4 kB / 415 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.5481, allocations: 8 kB / 415 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.5482, allocations: 7.984 kB / 415 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.5483, allocations: 0 / 415 MB, free: 10.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002741/0.5486, allocations: 145.8 kB / 415.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5486, allocations: 0 / 415.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006077/0.5492, allocations: 43.84 kB / 415.2 MB, free: 10.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001665/0.5509, allocations: 374.7 kB / 415.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004194/0.5513, allocations: 111.4 kB / 415.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5514, allocations: 0 / 415.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.5515, allocations: 19.98 kB / 415.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.552, allocations: 19.92 kB / 415.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000881/0.5529, allocations: 251.2 kB / 415.9 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.5534, allocations: 0.7004 MB / 416.6 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.5535, allocations: 15.42 kB / 416.6 MB, free: 9.27 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/0.5535, allocations: 0 / 416.6 MB, free: 9.27 MB / 346.7 MB Notification: Performance of Templates: time 0.008151/0.5617, allocations: 1.74 MB / 418.4 MB, free: 7.535 MB / 346.7 MB