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.Test17.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadModel(ModelicaTest): time 1.933/1.933, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.613e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3077, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.4217, allocations: 75.11 MB / 395.1 MB, free: 5.336 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.4221, allocations: 63.97 kB / 395.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02463/0.4468, allocations: 3.944 MB / 399.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.029e-06/0.4468, allocations: 0 / 399.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.4469, allocations: 0 / 399.1 MB, free: 1.324 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.0007278/0.4476, allocations: 415.3 kB / 399.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.297e-05/0.4477, allocations: 8.031 kB / 399.6 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.774e-05/0.4478, allocations: 7.906 kB / 399.6 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.4482, allocations: 195.6 kB / 399.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.4483, allocations: 11.94 kB / 399.8 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.4483, allocations: 3.938 kB / 399.8 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.607e-05/0.4484, allocations: 12 kB / 399.8 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.4486, allocations: 45.67 kB / 399.8 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4486, allocations: 4 kB / 399.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4487, allocations: 0 / 399.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.395e-06/0.4487, allocations: 0 / 399.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.4493, allocations: 269.4 kB / 400.1 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.4496, allocations: 46.5 kB / 400.1 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.4497, allocations: 12.86 kB / 400.1 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.4497, allocations: 0 / 400.1 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.4499, allocations: 59.48 kB / 400.2 MB, free: 104 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.256e-06/0.4499, allocations: 0 / 400.2 MB, free: 104 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000599/0.4505, allocations: 101.4 kB / 400.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.4506, allocations: 55.41 kB / 400.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.4509, allocations: 149.1 kB / 400.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.451, allocations: 25.7 kB / 400.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4511, allocations: 158.6 kB / 400.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.4512, allocations: 15.8 kB / 400.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.4512, allocations: 4 kB / 400.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.4514, allocations: 314.8 kB / 401 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.781e-05/0.4515, allocations: 20 kB / 401 MB, free: 15.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-05/0.4516, allocations: 20 kB / 401 MB, free: 15.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.4518, allocations: 23.98 kB / 401.1 MB, free: 15.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4518, allocations: 0 / 401.1 MB, free: 15.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003713/0.4522, allocations: 89.62 kB / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/0.4523, allocations: 40.03 kB / 401.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.596e-06/0.4523, allocations: 0 / 401.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4523, allocations: 0 / 401.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.4525, allocations: 8.094 kB / 401.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4525, allocations: 4 kB / 401.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.98e-05/0.4526, allocations: 8.141 kB / 401.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.4527, allocations: 11.94 kB / 401.2 MB, free: 15.02 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 () * 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.0001358/0.4528, allocations: 109 kB / 401.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.4529, allocations: 11.84 kB / 401.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.4532, allocations: 86.08 kB / 401.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.476e-06/0.4533, allocations: 3.938 kB / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.322e-06/0.4533, allocations: 0 / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.928e-06/0.4533, allocations: 0 / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.454, allocations: 323 kB / 401.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.043e-06/0.454, allocations: 7.938 kB / 401.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-05/0.4541, allocations: 8 kB / 401.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.454e-06/0.4541, allocations: 0 / 401.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4541, allocations: 4 kB / 401.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.138e-06/0.4541, allocations: 0 / 401.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.124e-06/0.4542, allocations: 0 / 401.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.4545, allocations: 179.3 kB / 401.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.4546, allocations: 85.02 kB / 402 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.4547, allocations: 4 kB / 402 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.4549, allocations: 3.984 kB / 402 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.455, allocations: 4 kB / 402 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.455, allocations: 0 / 402 MB, free: 14.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001882/0.4552, allocations: 121.5 kB / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.4552, allocations: 0 / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007032/0.4559, allocations: 39.98 kB / 402.2 MB, free: 13.96 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) * 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.001389/0.4573, allocations: 315.9 kB / 402.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.4577, allocations: 103.4 kB / 402.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.962e-06/0.4577, allocations: 0 / 402.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.4578, allocations: 19.94 kB / 402.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.4581, allocations: 17.41 kB / 402.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.4585, allocations: 151.8 kB / 402.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.4589, allocations: 0.6963 MB / 403.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.459, allocations: 19.44 kB / 403.5 MB, free: 12.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.42e-06/0.459, allocations: 0 / 403.5 MB, free: 12.63 MB / 346.7 MB Notification: Performance of Templates: time 0.005112/0.4641, allocations: 1.662 MB / 405.2 MB, free: 10.98 MB / 346.7 MB