Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadModel(ModelicaTest): time 1.979/1.979, allocations: 209.3 MB / 224.8 MB, free: 1.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004503, allocations: 15.94 kB / 282.6 MB, free: 9.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08843/0.08891, allocations: 48.7 MB / 331.3 MB, free: 8.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3281/0.417, allocations: 76.09 MB / 407.4 MB, free: 9.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.4173, allocations: 67.97 kB / 407.4 MB, free: 9.004 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01999/0.4373, allocations: 4.671 MB / 412.1 MB, free: 4.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.216e-06/0.4374, allocations: 0 / 412.1 MB, free: 4.344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.4374, allocations: 4 kB / 412.1 MB, free: 4.34 MB / 330.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.0005567/0.438, allocations: 412.8 kB / 412.5 MB, free: 3.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.438, allocations: 12.03 kB / 412.5 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.4381, allocations: 7.906 kB / 412.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.4384, allocations: 198.8 kB / 412.7 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.4384, allocations: 4 kB / 412.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.4384, allocations: 4 kB / 412.7 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.4386, allocations: 55.41 kB / 412.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4386, allocations: 0 / 412.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4386, allocations: 0 / 412.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.4386, allocations: 0 / 412.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.482e-05/0.4387, allocations: 15.98 kB / 412.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.4392, allocations: 292.8 kB / 413.1 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.4394, allocations: 42.56 kB / 413.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.4395, allocations: 0 / 413.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.4396, allocations: 59.42 kB / 413.2 MB, free: 3.082 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.33e-06/0.4396, allocations: 3.938 kB / 413.2 MB, free: 3.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004791/0.4401, allocations: 121.5 kB / 413.3 MB, free: 2.953 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.4402, allocations: 81.06 kB / 413.4 MB, free: 2.855 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.4404, allocations: 133.4 kB / 413.5 MB, free: 2.719 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.4405, allocations: 29.64 kB / 413.6 MB, free: 2.684 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.4406, allocations: 162.5 kB / 413.7 MB, free: 2.523 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.4406, allocations: 15.75 kB / 413.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-06/0.4406, allocations: 0 / 413.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4408, allocations: 322.8 kB / 414 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.4409, allocations: 16 kB / 414.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.909e-05/0.441, allocations: 41.64 kB / 414.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.989e-05/0.4411, allocations: 53.69 kB / 414.1 MB, free: 2.062 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-06/0.4411, allocations: 0 / 414.1 MB, free: 2.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002475/0.4414, allocations: 115.3 kB / 414.3 MB, free: 1.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.4414, allocations: 29.7 kB / 414.3 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.291e-06/0.4414, allocations: 0 / 414.3 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4415, allocations: 4.281 kB / 414.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.4415, allocations: 7.984 kB / 414.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.927e-06/0.4415, allocations: 8.031 kB / 414.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.4416, allocations: 7.953 kB / 414.3 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.4417, allocations: 4 kB / 414.3 MB, free: 1.871 MB / 330.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.0001271/0.4418, allocations: 121.8 kB / 414.4 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.4418, allocations: 7.906 kB / 414.4 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.4421, allocations: 89.58 kB / 414.5 MB, free: 1.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.924e-06/0.4421, allocations: 0 / 414.5 MB, free: 1.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.004e-06/0.4421, allocations: 0 / 414.5 MB, free: 1.645 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.4421, allocations: 8 kB / 414.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.4426, allocations: 342.5 kB / 414.9 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.959e-06/0.4426, allocations: 4 kB / 414.9 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.543e-05/0.4427, allocations: 4 kB / 414.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4427, allocations: 0 / 414.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.4427, allocations: 4 kB / 414.9 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.323e-06/0.4427, allocations: 0 / 414.9 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.766e-06/0.4428, allocations: 3.953 kB / 414.9 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.443, allocations: 179.4 kB / 415.1 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.4431, allocations: 81.02 kB / 415.1 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.4431, allocations: 12.27 kB / 415.2 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.4432, allocations: 7.938 kB / 415.2 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.4433, allocations: 8 kB / 415.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.4433, allocations: 3.953 kB / 415.2 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.4435, allocations: 108.5 kB / 415.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.4435, allocations: 3.938 kB / 415.3 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000409/0.4439, allocations: 51.94 kB / 415.3 MB, free: 0.75 MB / 330.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.001446/0.4453, allocations: 456 kB / 415.8 MB, free: 396 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.4456, allocations: 107.4 kB / 415.9 MB, free: 276 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.729e-06/0.4456, allocations: 0 / 415.9 MB, free: 276 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/0.4457, allocations: 23.88 kB / 415.9 MB, free: 252 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.446, allocations: 11.98 kB / 415.9 MB, free: 240 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.4465, allocations: 199.6 kB / 416.1 MB, free: 0 / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.4469, allocations: 0.6926 MB / 416.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.447, allocations: 19.44 kB / 416.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of SimCode: time 1.248e-06/0.447, allocations: 0 / 416.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of Templates: time 0.004665/0.4517, allocations: 1.889 MB / 418.7 MB, free: 13.38 MB / 346.7 MB