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.Test65.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.Test65,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.Test65") Notification: Performance of loadModel(ModelicaTest): time 2.154/2.154, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.769e-05, allocations: 4 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3204, allocations: 54.86 MB / 364.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.4445, allocations: 81.85 MB / 446.4 MB, free: 14.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.4448, allocations: 72.56 kB / 446.5 MB, free: 14.55 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.01835/0.4632, allocations: 4.441 MB / 450.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.91e-06/0.4632, allocations: 5.875 kB / 450.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.4632, allocations: 4 kB / 450.9 MB, free: 10.14 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.0005596/0.4638, allocations: 457.5 kB / 451.4 MB, free: 9.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4639, allocations: 8.031 kB / 451.4 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.4639, allocations: 7.906 kB / 451.4 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.4643, allocations: 199.7 kB / 451.6 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.4643, allocations: 4 kB / 451.6 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.4643, allocations: 4 kB / 451.6 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.4645, allocations: 49.67 kB / 451.6 MB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.4645, allocations: 4 kB / 451.6 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.4645, allocations: 3.953 kB / 451.6 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.409e-06/0.4645, allocations: 0 / 451.6 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.4646, allocations: 19.92 kB / 451.7 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.4649, allocations: 205.5 kB / 451.9 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.4651, allocations: 54.61 kB / 451.9 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.4651, allocations: 20.86 kB / 451.9 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.4652, allocations: 4 kB / 451.9 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.4653, allocations: 67.42 kB / 452 MB, free: 8.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.673e-06/0.4653, allocations: 0 / 452 MB, free: 8.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002581/0.4656, allocations: 81.55 kB / 452.1 MB, free: 8.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.4657, allocations: 52.62 kB / 452.1 MB, free: 8.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.4659, allocations: 190 kB / 452.3 MB, free: 8.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.466, allocations: 33.7 kB / 452.4 MB, free: 8.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.4661, allocations: 174.4 kB / 452.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.4661, allocations: 7.906 kB / 452.5 MB, free: 8.309 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.4662, allocations: 4 kB / 452.5 MB, free: 8.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4663, allocations: 314.8 kB / 452.8 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.4664, allocations: 32.08 kB / 452.9 MB, free: 7.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.409e-05/0.4665, allocations: 41.72 kB / 452.9 MB, free: 7.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.4667, allocations: 70.38 kB / 453 MB, free: 7.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.11e-06/0.4667, allocations: 0 / 453 MB, free: 7.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003145/0.467, allocations: 152.2 kB / 453.1 MB, free: 7.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.6e-05/0.4671, allocations: 35.58 kB / 453.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4671, allocations: 0 / 453.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4671, allocations: 4 kB / 453.2 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.4673, allocations: 12.86 kB / 453.2 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4673, allocations: 8.016 kB / 453.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-05/0.4674, allocations: 15.94 kB / 453.2 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.4674, allocations: 8.031 kB / 453.2 MB, free: 7.59 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.604e-05/0.4675, allocations: 111.8 kB / 453.3 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.4676, allocations: 11.81 kB / 453.3 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.4678, allocations: 98.78 kB / 453.4 MB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.381e-06/0.4678, allocations: 0 / 453.4 MB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.624e-06/0.4679, allocations: 4 kB / 453.4 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4679, allocations: 3.953 kB / 453.4 MB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.4681, allocations: 193.6 kB / 453.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-06/0.4681, allocations: 0.9375 kB / 453.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.4682, allocations: 8 kB / 453.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.452e-06/0.4682, allocations: 0 / 453.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4682, allocations: 4 kB / 453.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.647e-06/0.4682, allocations: 0 / 453.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-06/0.4682, allocations: 0 / 453.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.4685, allocations: 120.8 kB / 453.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.4686, allocations: 93 kB / 453.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.4686, allocations: 4 kB / 453.9 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.4687, allocations: 11.98 kB / 453.9 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.4688, allocations: 7.938 kB / 453.9 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.4688, allocations: 0 / 453.9 MB, free: 6.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001881/0.469, allocations: 152.8 kB / 454 MB, free: 6.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.54e-07/0.469, allocations: 3.938 kB / 454 MB, free: 6.684 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.4693, allocations: 35.92 kB / 454.1 MB, free: 6.648 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.001275/0.4706, allocations: 379.5 kB / 454.4 MB, free: 6.352 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.4709, allocations: 143.3 kB / 454.6 MB, free: 6.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.388e-06/0.4709, allocations: 0 / 454.6 MB, free: 6.199 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.471, allocations: 24.05 kB / 454.6 MB, free: 6.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.4713, allocations: 23.98 kB / 454.6 MB, free: 6.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.4718, allocations: 187.2 kB / 454.8 MB, free: 5.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.4722, allocations: 0.7082 MB / 455.5 MB, free: 5.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.4722, allocations: 15.44 kB / 455.5 MB, free: 5.188 MB / 378.7 MB Notification: Performance of SimCode: time 3.953e-06/0.4722, allocations: 0 / 455.5 MB, free: 5.188 MB / 378.7 MB Notification: Performance of Templates: time 0.004448/0.4767, allocations: 1.781 MB / 457.3 MB, free: 3.414 MB / 378.7 MB