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.856/1.856, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.967e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08488/0.08494, allocations: 48.71 MB / 326.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3353/0.4203, allocations: 75.99 MB / 402.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.4205, allocations: 70.78 kB / 402.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01582/0.4364, allocations: 4.47 MB / 407.1 MB, free: 8.438 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.851e-06/0.4364, allocations: 0 / 407.1 MB, free: 8.438 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.4364, allocations: 7.844 kB / 407.1 MB, free: 8.434 MB / 314.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.0003567/0.4368, allocations: 405.6 kB / 407.5 MB, free: 8.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.4368, allocations: 11.69 kB / 407.5 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.4369, allocations: 11.75 kB / 407.5 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.4371, allocations: 190.4 kB / 407.7 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.4371, allocations: 3.812 kB / 407.7 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.4372, allocations: 0 / 407.7 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.4373, allocations: 61.88 kB / 407.8 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4373, allocations: 0 / 407.8 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.4373, allocations: 3.812 kB / 407.8 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-06/0.4374, allocations: 0 / 407.8 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.54e-05/0.4374, allocations: 19.3 kB / 407.8 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.4378, allocations: 277.9 kB / 408 MB, free: 7.445 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.438, allocations: 48.41 kB / 408.1 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.438, allocations: 12.45 kB / 408.1 MB, free: 7.406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.438, allocations: 0 / 408.1 MB, free: 7.406 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.4382, allocations: 66.8 kB / 408.2 MB, free: 7.348 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.519e-06/0.4382, allocations: 3.938 kB / 408.2 MB, free: 7.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003692/0.4386, allocations: 102.6 kB / 408.3 MB, free: 7.289 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.4386, allocations: 80.61 kB / 408.4 MB, free: 7.195 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.4388, allocations: 136.7 kB / 408.5 MB, free: 7.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.4388, allocations: 25.7 kB / 408.5 MB, free: 7.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.4388, allocations: 160.6 kB / 408.7 MB, free: 6.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.4389, allocations: 11.75 kB / 408.7 MB, free: 6.898 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.341e-06/0.4389, allocations: 11.06 kB / 408.7 MB, free: 6.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.4389, allocations: 314.8 kB / 409 MB, free: 6.578 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/0.439, allocations: 18.78 kB / 409 MB, free: 6.578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/0.4391, allocations: 39.89 kB / 409.1 MB, free: 6.559 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.125e-05/0.4392, allocations: 51.78 kB / 409.1 MB, free: 6.523 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-06/0.4392, allocations: 3.938 kB / 409.1 MB, free: 6.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000198/0.4394, allocations: 111.5 kB / 409.2 MB, free: 6.453 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.4394, allocations: 33.66 kB / 409.3 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.035e-06/0.4395, allocations: 8.094 kB / 409.3 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4395, allocations: 3.875 kB / 409.3 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.796e-05/0.4395, allocations: 11.62 kB / 409.3 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.909e-06/0.4396, allocations: 0 / 409.3 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.4396, allocations: 0 / 409.3 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.4397, allocations: 11.11 kB / 409.3 MB, free: 6.402 MB / 314.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 () * 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 5.969e-05/0.4397, allocations: 108.8 kB / 409.4 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.4398, allocations: 7.891 kB / 409.4 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.44, allocations: 93.06 kB / 409.5 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.44, allocations: 7.906 kB / 409.5 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.44, allocations: 3.938 kB / 409.5 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.392e-06/0.44, allocations: 0 / 409.5 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.4404, allocations: 336.3 kB / 409.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.044e-06/0.4404, allocations: 0 / 409.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.4404, allocations: 7.75 kB / 409.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.023e-06/0.4405, allocations: 0 / 409.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4405, allocations: 7.406 kB / 409.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.94e-06/0.4405, allocations: 3.984 kB / 409.9 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.759e-06/0.4405, allocations: 4 kB / 409.9 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.4407, allocations: 172.6 kB / 410 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.4407, allocations: 92.19 kB / 410.1 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.4408, allocations: 0 / 410.1 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.672e-05/0.4409, allocations: 3.812 kB / 410.1 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.4409, allocations: 192 / 410.1 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.441, allocations: 11.12 kB / 410.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.561e-05/0.4411, allocations: 109.3 kB / 410.2 MB, free: 5.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.75e-07/0.4411, allocations: 0 / 410.2 MB, free: 5.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000385/0.4415, allocations: 58.27 kB / 410.3 MB, free: 5.547 MB / 314.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) * 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.001245/0.4427, allocations: 421.6 kB / 410.7 MB, free: 5.289 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.4429, allocations: 103.1 kB / 410.8 MB, free: 5.227 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.993e-06/0.443, allocations: 0 / 410.8 MB, free: 5.227 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.856e-05/0.443, allocations: 22.58 kB / 410.8 MB, free: 5.219 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.4433, allocations: 18.56 kB / 410.8 MB, free: 5.215 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.4436, allocations: 136.7 kB / 411 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.4438, allocations: 0.695 MB / 411.7 MB, free: 4.383 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.4438, allocations: 19.11 kB / 411.7 MB, free: 4.375 MB / 314.7 MB Notification: Performance of SimCode: time 1.668e-06/0.4439, allocations: 0 / 411.7 MB, free: 4.375 MB / 314.7 MB Notification: Performance of Templates: time 0.003825/0.4477, allocations: 1.877 MB / 413.6 MB, free: 3.418 MB / 314.7 MB