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.Test43.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadModel(ModelicaTest): time 2.261/2.261, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.749e-05, allocations: 8 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2782, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.4458, allocations: 81.4 MB / 439.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.4461, allocations: 67.97 kB / 439.5 MB, free: 13.36 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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.01918/0.4653, allocations: 4.587 MB / 444.1 MB, free: 8.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.832e-06/0.4653, allocations: 0 / 444.1 MB, free: 8.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.4654, allocations: 4 kB / 444.1 MB, free: 8.77 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.0006094/0.466, allocations: 461.4 kB / 444.6 MB, free: 8.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.466, allocations: 8.031 kB / 444.6 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.4661, allocations: 11.91 kB / 444.6 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.4665, allocations: 218.7 kB / 444.8 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.4665, allocations: 4 kB / 444.8 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.4665, allocations: 4 kB / 444.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.709e-05/0.4666, allocations: 19.94 kB / 444.8 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.4668, allocations: 53.67 kB / 444.9 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4668, allocations: 3.953 kB / 444.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4668, allocations: 0 / 444.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4668, allocations: 0 / 444.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.4673, allocations: 289.4 kB / 445.2 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.4675, allocations: 54.64 kB / 445.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.4675, allocations: 20.97 kB / 445.2 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.4676, allocations: 4 kB / 445.2 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.4677, allocations: 63.36 kB / 445.3 MB, free: 7.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 5.413e-06/0.4678, allocations: 3.984 kB / 445.3 MB, free: 7.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005571/0.4683, allocations: 169.1 kB / 445.5 MB, free: 7.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.4684, allocations: 51.41 kB / 445.5 MB, free: 7.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.4686, allocations: 174.5 kB / 445.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.4687, allocations: 29.7 kB / 445.7 MB, free: 6.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.4688, allocations: 162.6 kB / 445.9 MB, free: 6.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/0.4688, allocations: 23.66 kB / 445.9 MB, free: 6.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-06/0.4689, allocations: 0 / 445.9 MB, free: 6.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.469, allocations: 319.5 kB / 446.2 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.095e-05/0.4691, allocations: 32 kB / 446.2 MB, free: 6.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.4693, allocations: 53.7 kB / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.4694, allocations: 31.98 kB / 446.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-06/0.4694, allocations: 0 / 446.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003526/0.4697, allocations: 129.5 kB / 446.4 MB, free: 6.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.4698, allocations: 33.7 kB / 446.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.4698, allocations: 7.938 kB / 446.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4699, allocations: 0 / 446.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.47, allocations: 20 kB / 446.5 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.47, allocations: 4.031 kB / 446.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.611e-05/0.4701, allocations: 4 kB / 446.5 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.4702, allocations: 7.984 kB / 446.5 MB, free: 6.113 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.0001098/0.4703, allocations: 114.6 kB / 446.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.4703, allocations: 11.91 kB / 446.6 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.4706, allocations: 115.5 kB / 446.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.944e-06/0.4707, allocations: 7.953 kB / 446.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.009e-06/0.4707, allocations: 0 / 446.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.342e-06/0.4707, allocations: 4 kB / 446.8 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.4713, allocations: 375.8 kB / 447.1 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-06/0.4713, allocations: 0 / 447.1 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-05/0.4714, allocations: 15.98 kB / 447.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.916e-06/0.4714, allocations: 3.953 kB / 447.2 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.4714, allocations: 4 kB / 447.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.4714, allocations: 4 kB / 447.2 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.4715, allocations: 0 / 447.2 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.4718, allocations: 210 kB / 447.4 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.4719, allocations: 104.9 kB / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.4719, allocations: 4 kB / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.4721, allocations: 3.984 kB / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.4721, allocations: 8 kB / 447.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.4721, allocations: 8 kB / 447.5 MB, free: 5.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.4723, allocations: 136 kB / 447.6 MB, free: 4.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.4723, allocations: 0 / 447.6 MB, free: 4.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004017/0.4727, allocations: 43.92 kB / 447.7 MB, free: 4.855 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.001271/0.474, allocations: 386.2 kB / 448 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.4744, allocations: 151.4 kB / 448.2 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4744, allocations: 0 / 448.2 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.811e-05/0.4745, allocations: 31.94 kB / 448.2 MB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.4748, allocations: 20.58 kB / 448.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.4753, allocations: 200.4 kB / 448.4 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.4757, allocations: 0.7198 MB / 449.2 MB, free: 3.352 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.4758, allocations: 15.44 kB / 449.2 MB, free: 3.336 MB / 378.7 MB Notification: Performance of SimCode: time 1.724e-06/0.4758, allocations: 0 / 449.2 MB, free: 3.336 MB / 378.7 MB Notification: Performance of Templates: time 0.004863/0.4807, allocations: 1.964 MB / 451.1 MB, free: 1.371 MB / 378.7 MB