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.Test61.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.Test61,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.Test61") Notification: Performance of loadModel(ModelicaTest): time 2.201/2.201, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.137e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.319, allocations: 54.86 MB / 364.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.4454, allocations: 81.89 MB / 446.4 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4457, allocations: 68.66 kB / 446.5 MB, free: 14.39 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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/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.01984/0.4656, allocations: 4.717 MB / 451.2 MB, free: 9.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.8e-06/0.4656, allocations: 0 / 451.2 MB, free: 9.699 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.4656, allocations: 0 / 451.2 MB, free: 9.699 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.0005878/0.4662, allocations: 461.5 kB / 451.7 MB, free: 9.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4663, allocations: 13.06 kB / 451.7 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.4664, allocations: 11.81 kB / 451.7 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.4667, allocations: 214.9 kB / 451.9 MB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.4668, allocations: 4 kB / 451.9 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4668, allocations: 4 kB / 451.9 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.467, allocations: 53.67 kB / 452 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.099e-06/0.467, allocations: 4 kB / 452 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.467, allocations: 3.953 kB / 452 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-06/0.467, allocations: 0 / 452 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.255e-05/0.4671, allocations: 12 kB / 452 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.4674, allocations: 217.5 kB / 452.2 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.4676, allocations: 47.66 kB / 452.2 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.4677, allocations: 16.86 kB / 452.3 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.4677, allocations: 8 kB / 452.3 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.4679, allocations: 63.48 kB / 452.3 MB, free: 8.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.633e-06/0.4679, allocations: 0 / 452.3 MB, free: 8.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002615/0.4682, allocations: 86.36 kB / 452.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.4682, allocations: 59.39 kB / 452.5 MB, free: 8.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.4686, allocations: 229.8 kB / 452.7 MB, free: 8.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.4687, allocations: 33.7 kB / 452.7 MB, free: 7.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.4688, allocations: 170.6 kB / 452.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.4688, allocations: 19.73 kB / 452.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.4688, allocations: 5.406 kB / 452.9 MB, free: 7.789 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.469, allocations: 318.8 kB / 453.2 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.525e-05/0.4691, allocations: 24.09 kB / 453.3 MB, free: 7.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.4692, allocations: 46.31 kB / 453.3 MB, free: 7.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.4694, allocations: 65.67 kB / 453.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.144e-06/0.4694, allocations: 7.938 kB / 453.4 MB, free: 7.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00033/0.4697, allocations: 151.2 kB / 453.5 MB, free: 7.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/0.4698, allocations: 31.58 kB / 453.6 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.429e-06/0.4698, allocations: 4 kB / 453.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4698, allocations: 3.984 kB / 453.6 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.47, allocations: 8 kB / 453.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.47, allocations: 3.953 kB / 453.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.4701, allocations: 15.91 kB / 453.6 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.4701, allocations: 8.125 kB / 453.6 MB, free: 7.078 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 0.0001032/0.4702, allocations: 113 kB / 453.7 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.4703, allocations: 15.91 kB / 453.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.4706, allocations: 102.5 kB / 453.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.33e-06/0.4706, allocations: 0 / 453.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.894e-06/0.4706, allocations: 0 / 453.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.022e-06/0.4706, allocations: 3.953 kB / 453.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.4709, allocations: 205.5 kB / 454 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4709, allocations: 0 / 454 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.4709, allocations: 4 kB / 454 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.932e-06/0.471, allocations: 4 kB / 454 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.471, allocations: 7.984 kB / 454 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.977e-06/0.471, allocations: 0 / 454 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.471, allocations: 0 / 454 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.4712, allocations: 120.8 kB / 454.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.4714, allocations: 97 kB / 454.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.4714, allocations: 7.984 kB / 454.3 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.4715, allocations: 4 kB / 454.3 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.4716, allocations: 8 kB / 454.3 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.4716, allocations: 3.984 kB / 454.3 MB, free: 6.293 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002525/0.4718, allocations: 192 kB / 454.5 MB, free: 6.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.16e-07/0.4719, allocations: 0 / 454.5 MB, free: 6.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003409/0.4722, allocations: 36 kB / 454.5 MB, free: 6.07 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.001274/0.4735, allocations: 376.1 kB / 454.9 MB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.4738, allocations: 147.3 kB / 455 MB, free: 5.621 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.949e-06/0.4739, allocations: 3.938 kB / 455 MB, free: 5.617 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.646e-05/0.4739, allocations: 20 kB / 455 MB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.4742, allocations: 24.23 kB / 455.1 MB, free: 5.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.4748, allocations: 227.4 kB / 455.3 MB, free: 5.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.4752, allocations: 0.716 MB / 456 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.4752, allocations: 11.44 kB / 456 MB, free: 4.562 MB / 378.7 MB Notification: Performance of SimCode: time 3.847e-06/0.4753, allocations: 0 / 456 MB, free: 4.562 MB / 378.7 MB Notification: Performance of Templates: time 0.004852/0.4801, allocations: 1.924 MB / 457.9 MB, free: 2.641 MB / 378.7 MB