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.Test17.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.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.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadModel(ModelicaTest): time 2.128/2.128, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.507e-05, allocations: 12 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3151, allocations: 54.85 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.4386, allocations: 82.07 MB / 446.6 MB, free: 14.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4389, allocations: 65.09 kB / 446.7 MB, free: 14.36 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.01952/0.4584, allocations: 4.518 MB / 451.2 MB, free: 9.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.171e-06/0.4585, allocations: 4 kB / 451.2 MB, free: 9.859 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.4585, allocations: 0 / 451.2 MB, free: 9.859 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.000586/0.4591, allocations: 461.6 kB / 451.7 MB, free: 9.352 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4592, allocations: 11.97 kB / 451.7 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.4592, allocations: 7.906 kB / 451.7 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.4596, allocations: 203.4 kB / 451.9 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.4596, allocations: 9.031 kB / 451.9 MB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.4596, allocations: 4 kB / 451.9 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.4598, allocations: 57.67 kB / 451.9 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4598, allocations: 0 / 451.9 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.4599, allocations: 3.953 kB / 451.9 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-06/0.4599, allocations: 0 / 451.9 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.516e-05/0.46, allocations: 19.98 kB / 452 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.4605, allocations: 312.8 kB / 452.3 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.4606, allocations: 58.69 kB / 452.3 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.4607, allocations: 16.98 kB / 452.3 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.4607, allocations: 3.953 kB / 452.3 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.4609, allocations: 72.45 kB / 452.4 MB, free: 8.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.826e-06/0.4609, allocations: 3.938 kB / 452.4 MB, free: 8.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005693/0.4615, allocations: 169.3 kB / 452.6 MB, free: 8.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.4616, allocations: 51.41 kB / 452.6 MB, free: 8.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.4618, allocations: 152.9 kB / 452.8 MB, free: 8.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.4618, allocations: 29.7 kB / 452.8 MB, free: 8.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/0.462, allocations: 166.4 kB / 453 MB, free: 7.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.462, allocations: 27.67 kB / 453 MB, free: 7.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.462, allocations: 4 kB / 453 MB, free: 7.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4622, allocations: 314.8 kB / 453.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.4623, allocations: 36 kB / 453.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.4624, allocations: 56.94 kB / 453.4 MB, free: 7.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.4626, allocations: 69.69 kB / 453.5 MB, free: 7.355 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-06/0.4626, allocations: 0 / 453.5 MB, free: 7.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003616/0.463, allocations: 175.2 kB / 453.6 MB, free: 7.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.4631, allocations: 35.11 kB / 453.7 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.593e-06/0.4631, allocations: 0 / 453.7 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4631, allocations: 4 kB / 453.7 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.4632, allocations: 20.02 kB / 453.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.689e-06/0.4632, allocations: 0 / 453.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.4633, allocations: 4 kB / 453.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.4634, allocations: 12 kB / 453.7 MB, free: 7.094 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.0001055/0.4635, allocations: 112.9 kB / 453.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.4635, allocations: 11.86 kB / 453.8 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.4639, allocations: 122.2 kB / 454 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.188e-06/0.4639, allocations: 3.984 kB / 454 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.516e-06/0.4639, allocations: 8 kB / 454 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.421e-06/0.4639, allocations: 192 / 454 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.4645, allocations: 403.3 kB / 454.4 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4645, allocations: 0 / 454.4 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.758e-05/0.4646, allocations: 12 kB / 454.4 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.97e-06/0.4646, allocations: 0 / 454.4 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4647, allocations: 3.984 kB / 454.4 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.272e-06/0.4647, allocations: 4 kB / 454.4 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.95e-06/0.4647, allocations: 0 / 454.4 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.465, allocations: 221.9 kB / 454.6 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.952e-05/0.4651, allocations: 97 kB / 454.7 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.4652, allocations: 4 kB / 454.7 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.4653, allocations: 4 kB / 454.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.4653, allocations: 11.92 kB / 454.7 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.4654, allocations: 4 kB / 454.7 MB, free: 5.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.4655, allocations: 130.5 kB / 454.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.4655, allocations: 0 / 454.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003901/0.4659, allocations: 43.92 kB / 454.9 MB, free: 5.809 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.001464/0.4674, allocations: 419.7 kB / 455.3 MB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003282/0.4678, allocations: 171.3 kB / 455.5 MB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.302e-06/0.4678, allocations: 0 / 455.5 MB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.073e-05/0.4679, allocations: 28 kB / 455.5 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.4682, allocations: 19.94 kB / 455.5 MB, free: 5.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.4687, allocations: 195.7 kB / 455.7 MB, free: 5.023 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.4691, allocations: 0.7084 MB / 456.4 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.4691, allocations: 11.44 kB / 456.4 MB, free: 4.281 MB / 378.7 MB Notification: Performance of SimCode: time 1.722e-06/0.4692, allocations: 4 kB / 456.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of Templates: time 0.004579/0.4737, allocations: 1.892 MB / 458.3 MB, free: 2.387 MB / 378.7 MB