Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.176/2.176, allocations: 235 MB / 248.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/2.996e-05, allocations: 4 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3186, allocations: 54.87 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4404, allocations: 82.06 MB / 446.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4407, allocations: 76.58 kB / 446.7 MB, free: 14.34 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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.0199/0.4606, allocations: 4.563 MB / 451.2 MB, free: 9.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4606, allocations: 0 / 451.2 MB, free: 9.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.4606, allocations: 0.5625 kB / 451.3 MB, free: 9.797 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.0005676/0.4612, allocations: 448.7 kB / 451.7 MB, free: 9.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4613, allocations: 15.97 kB / 451.7 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.4613, allocations: 11.91 kB / 451.7 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.4617, allocations: 206.9 kB / 451.9 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.4617, allocations: 4 kB / 451.9 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.4618, allocations: 4.938 kB / 451.9 MB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.4619, allocations: 53.67 kB / 452 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.462, allocations: 4 kB / 452 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.462, allocations: 7.891 kB / 452 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-06/0.462, allocations: 0 / 452 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.681e-05/0.4621, allocations: 20 kB / 452 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.4626, allocations: 316.8 kB / 452.3 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.4628, allocations: 58.62 kB / 452.4 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.4628, allocations: 16.98 kB / 452.4 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.4629, allocations: 3.953 kB / 452.4 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.463, allocations: 73.11 kB / 452.5 MB, free: 8.406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.4631, allocations: 0 / 452.5 MB, free: 8.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005531/0.4636, allocations: 157.3 kB / 452.6 MB, free: 8.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.4637, allocations: 59.39 kB / 452.7 MB, free: 8.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.4639, allocations: 165.2 kB / 452.8 MB, free: 8.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.464, allocations: 29.7 kB / 452.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.4641, allocations: 162.5 kB / 453 MB, free: 7.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.4641, allocations: 31.62 kB / 453.1 MB, free: 7.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.4642, allocations: 8 kB / 453.1 MB, free: 7.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.4643, allocations: 314.8 kB / 453.4 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.896e-05/0.4644, allocations: 32 kB / 453.4 MB, free: 7.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4646, allocations: 53.7 kB / 453.5 MB, free: 7.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.4647, allocations: 69.69 kB / 453.5 MB, free: 7.293 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-06/0.4647, allocations: 0 / 453.5 MB, free: 7.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003637/0.4651, allocations: 179.2 kB / 453.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/0.4652, allocations: 37.73 kB / 453.7 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.118e-06/0.4652, allocations: 0.8438 kB / 453.7 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4652, allocations: 4 kB / 453.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4653, allocations: 20.8 kB / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.695e-06/0.4654, allocations: 0 / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.073e-05/0.4655, allocations: 8 kB / 453.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.4655, allocations: 8 kB / 453.8 MB, free: 7.023 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 () * 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.000105/0.4656, allocations: 114.8 kB / 453.9 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.4657, allocations: 15.84 kB / 453.9 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.466, allocations: 115 kB / 454 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.79e-06/0.466, allocations: 7.984 kB / 454 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.414e-06/0.466, allocations: 0 / 454 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.566e-06/0.466, allocations: 0.8438 kB / 454 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006174/0.4667, allocations: 415.2 kB / 454.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.352e-06/0.4667, allocations: 0 / 454.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.4668, allocations: 11.98 kB / 454.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.978e-06/0.4668, allocations: 8.031 kB / 454.5 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4668, allocations: 0 / 454.5 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.947e-06/0.4668, allocations: 0 / 454.5 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-06/0.4668, allocations: 8.125 kB / 454.5 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.4672, allocations: 221.8 kB / 454.7 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-05/0.4673, allocations: 97 kB / 454.8 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.4673, allocations: 4 kB / 454.8 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.4675, allocations: 11.92 kB / 454.8 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.4675, allocations: 8 kB / 454.8 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.4675, allocations: 3.938 kB / 454.8 MB, free: 5.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001635/0.4677, allocations: 139.2 kB / 454.9 MB, free: 5.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.4677, allocations: 0 / 454.9 MB, free: 5.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003973/0.4681, allocations: 36 kB / 455 MB, free: 5.719 MB / 378.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) * 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.001431/0.4696, allocations: 421.6 kB / 455.4 MB, free: 5.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.47, allocations: 167.3 kB / 455.5 MB, free: 5.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.47, allocations: 0 / 455.5 MB, free: 5.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.4701, allocations: 31.94 kB / 455.6 MB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.4704, allocations: 23.94 kB / 455.6 MB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.4709, allocations: 184.6 kB / 455.8 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.4713, allocations: 0.7083 MB / 456.5 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.4714, allocations: 19.42 kB / 456.5 MB, free: 4.191 MB / 378.7 MB Notification: Performance of SimCode: time 1.64e-06/0.4714, allocations: 0 / 456.5 MB, free: 4.191 MB / 378.7 MB Notification: Performance of Templates: time 0.004675/0.4761, allocations: 1.934 MB / 458.4 MB, free: 2.262 MB / 378.7 MB