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.Test37.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.Test37,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.Test37") Notification: Performance of loadModel(ModelicaTest): time 2.113/2.113, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.44e-05, allocations: 8 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3128, allocations: 54.86 MB / 364.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.4325, allocations: 81.88 MB / 446.4 MB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.4328, allocations: 75.95 kB / 446.5 MB, free: 14.5 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.01831/0.4511, allocations: 4.401 MB / 450.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.798e-06/0.4511, allocations: 0 / 450.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.4511, allocations: 0 / 450.9 MB, free: 10.12 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.0005262/0.4517, allocations: 442.6 kB / 451.3 MB, free: 9.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4517, allocations: 8.031 kB / 451.3 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.4518, allocations: 11.91 kB / 451.4 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.4521, allocations: 206.9 kB / 451.6 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.4522, allocations: 12 kB / 451.6 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.4522, allocations: 4 kB / 451.6 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.4524, allocations: 49.66 kB / 451.6 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.359e-06/0.4524, allocations: 0 / 451.6 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4524, allocations: 3.953 kB / 451.6 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-06/0.4524, allocations: 4 kB / 451.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/0.4525, allocations: 12 kB / 451.6 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.4528, allocations: 198.9 kB / 451.8 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.4529, allocations: 62.56 kB / 451.9 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.453, allocations: 16.86 kB / 451.9 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.453, allocations: 0 / 451.9 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.4532, allocations: 63.48 kB / 452 MB, free: 8.879 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.364e-06/0.4532, allocations: 0 / 452 MB, free: 8.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000249/0.4534, allocations: 93.38 kB / 452.1 MB, free: 8.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.4535, allocations: 59.41 kB / 452.1 MB, free: 8.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.4537, allocations: 161.3 kB / 452.3 MB, free: 8.547 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.4538, allocations: 29.7 kB / 452.3 MB, free: 8.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.4539, allocations: 158.6 kB / 452.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.4539, allocations: 15.8 kB / 452.5 MB, free: 8.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.4539, allocations: 4 kB / 452.5 MB, free: 8.336 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4541, allocations: 314.8 kB / 452.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.4542, allocations: 29.41 kB / 452.8 MB, free: 7.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.797e-05/0.4543, allocations: 53.64 kB / 452.9 MB, free: 7.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.4544, allocations: 61.69 kB / 452.9 MB, free: 7.867 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4545, allocations: 0 / 452.9 MB, free: 7.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003143/0.4548, allocations: 140 kB / 453.1 MB, free: 7.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.4548, allocations: 41.69 kB / 453.1 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.175e-06/0.4549, allocations: 0 / 453.1 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4549, allocations: 4 kB / 453.1 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.912e-05/0.455, allocations: 13.16 kB / 453.1 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9e-06/0.455, allocations: 7.984 kB / 453.1 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.902e-05/0.4551, allocations: 19.83 kB / 453.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.4551, allocations: 4 kB / 453.2 MB, free: 7.625 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.624e-05/0.4553, allocations: 113 kB / 453.3 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.4553, allocations: 7.906 kB / 453.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.4555, allocations: 89.7 kB / 453.4 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.694e-06/0.4556, allocations: 0 / 453.4 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.174e-06/0.4556, allocations: 4 kB / 453.4 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.888e-06/0.4556, allocations: 9.641 kB / 453.4 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.4558, allocations: 189.6 kB / 453.6 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4558, allocations: 0 / 453.6 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.4559, allocations: 4 kB / 453.6 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.802e-06/0.4559, allocations: 0 / 453.6 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.4559, allocations: 4.172 kB / 453.6 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.4559, allocations: 8 kB / 453.6 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4559, allocations: 0 / 453.6 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.4562, allocations: 116.9 kB / 453.7 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.366e-05/0.4563, allocations: 93 kB / 453.8 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.4563, allocations: 7.984 kB / 453.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/0.4564, allocations: 0 / 453.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.4564, allocations: 7.938 kB / 453.8 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.4565, allocations: 0 / 453.8 MB, free: 6.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.4566, allocations: 139.2 kB / 453.9 MB, free: 6.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.03e-07/0.4566, allocations: 0 / 453.9 MB, free: 6.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.457, allocations: 35.94 kB / 454 MB, free: 6.707 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.00122/0.4582, allocations: 371.3 kB / 454.3 MB, free: 6.422 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.4585, allocations: 155.3 kB / 454.5 MB, free: 6.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.529e-06/0.4585, allocations: 0 / 454.5 MB, free: 6.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/0.4586, allocations: 20 kB / 454.5 MB, free: 6.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.4588, allocations: 16.23 kB / 454.5 MB, free: 6.223 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.4593, allocations: 167.5 kB / 454.7 MB, free: 6.031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.4596, allocations: 0.7019 MB / 455.4 MB, free: 5.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.4597, allocations: 19.48 kB / 455.4 MB, free: 5.289 MB / 378.7 MB Notification: Performance of SimCode: time 1.559e-06/0.4597, allocations: 0 / 455.4 MB, free: 5.289 MB / 378.7 MB Notification: Performance of Templates: time 0.00415/0.4639, allocations: 1.702 MB / 457.1 MB, free: 3.59 MB / 378.7 MB