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.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadModel(ModelicaTest): time 2.212/2.212, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.801e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.315, allocations: 54.87 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4407, allocations: 81.22 MB / 439.3 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.441, allocations: 71.97 kB / 439.4 MB, free: 13.52 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01885/0.4599, allocations: 4.672 MB / 444 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4599, allocations: 0 / 444 MB, free: 8.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.46, allocations: 7.984 kB / 444 MB, free: 8.828 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005832/0.4605, allocations: 465.4 kB / 444.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4606, allocations: 12.03 kB / 444.5 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.4607, allocations: 11.81 kB / 444.5 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.4611, allocations: 218.8 kB / 444.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.4611, allocations: 4 kB / 444.7 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.4611, allocations: 4 kB / 444.7 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.319e-05/0.4612, allocations: 15.98 kB / 444.7 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.4614, allocations: 53.62 kB / 444.8 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4614, allocations: 3.953 kB / 444.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.4614, allocations: 0 / 444.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.193e-06/0.4614, allocations: 4 kB / 444.8 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.4617, allocations: 178.2 kB / 445 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.4618, allocations: 46.62 kB / 445 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.4619, allocations: 24.88 kB / 445 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.4619, allocations: 4 kB / 445.1 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.4621, allocations: 67.31 kB / 445.1 MB, free: 7.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.763e-06/0.4621, allocations: 0 / 445.1 MB, free: 7.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002388/0.4623, allocations: 81.58 kB / 445.2 MB, free: 7.488 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.4624, allocations: 51.41 kB / 445.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.4627, allocations: 226.9 kB / 445.5 MB, free: 7.195 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.4628, allocations: 29.7 kB / 445.5 MB, free: 7.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4629, allocations: 170.6 kB / 445.7 MB, free: 6.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.4629, allocations: 19.83 kB / 445.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-06/0.463, allocations: 0 / 445.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4631, allocations: 314.8 kB / 446 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.4632, allocations: 27.94 kB / 446 MB, free: 6.629 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.584e-05/0.4633, allocations: 41.7 kB / 446.1 MB, free: 6.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.965e-05/0.4634, allocations: 27.98 kB / 446.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.652e-06/0.4634, allocations: 4 kB / 446.1 MB, free: 6.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002747/0.4637, allocations: 113.5 kB / 446.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/0.4638, allocations: 33.7 kB / 446.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4638, allocations: 3.938 kB / 446.2 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4638, allocations: 0 / 446.2 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.543e-05/0.4639, allocations: 11.98 kB / 446.3 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.464, allocations: 0 / 446.3 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.762e-05/0.4641, allocations: 11.91 kB / 446.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.4641, allocations: 11.95 kB / 446.3 MB, free: 6.355 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 (8): * Single equations (assignments): 7 * 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 9.857e-05/0.4642, allocations: 109 kB / 446.4 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.4642, allocations: 7.906 kB / 446.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.4645, allocations: 99.22 kB / 446.5 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.78e-06/0.4645, allocations: 3.938 kB / 446.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.736e-06/0.4645, allocations: 0 / 446.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4645, allocations: 4 kB / 446.5 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.4648, allocations: 186 kB / 446.7 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4648, allocations: 0 / 446.7 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.4648, allocations: 4 kB / 446.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.181e-06/0.4648, allocations: 0 / 446.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.4649, allocations: 8 kB / 446.7 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4649, allocations: 0 / 446.7 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.401e-06/0.4649, allocations: 0 / 446.7 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.4651, allocations: 121.5 kB / 446.8 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4653, allocations: 104.9 kB / 446.9 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.4653, allocations: 256 / 446.9 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.4654, allocations: 0 / 446.9 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.4654, allocations: 15.98 kB / 446.9 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.4655, allocations: 4 kB / 446.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002222/0.4657, allocations: 183 kB / 447.1 MB, free: 5.434 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.4657, allocations: 0 / 447.1 MB, free: 5.434 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.4661, allocations: 36 kB / 447.1 MB, free: 5.398 MB / 378.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: 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 (6): * Single equations (assignments): 4 * 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.001078/0.4672, allocations: 330 kB / 447.5 MB, free: 5.117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.4674, allocations: 143.3 kB / 447.6 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4675, allocations: 0 / 447.6 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.601e-05/0.4675, allocations: 16 kB / 447.6 MB, free: 4.949 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.4678, allocations: 26.52 kB / 447.6 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/0.4683, allocations: 227.5 kB / 447.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.4687, allocations: 0.7274 MB / 448.6 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.4688, allocations: 11.44 kB / 448.6 MB, free: 3.906 MB / 378.7 MB Notification: Performance of SimCode: time 1.828e-06/0.4688, allocations: 0 / 448.6 MB, free: 3.906 MB / 378.7 MB Notification: Performance of Templates: time 0.004626/0.4734, allocations: 1.922 MB / 450.5 MB, free: 1.988 MB / 378.7 MB