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.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.457e-05, allocations: 12 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4394, allocations: 54.85 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.5662, allocations: 82.17 MB / 446.7 MB, free: 14.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.5665, allocations: 67.97 kB / 446.8 MB, free: 14.24 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.0302/0.5967, allocations: 6.755 MB / 453.5 MB, free: 7.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5967, allocations: 0.75 kB / 453.5 MB, free: 7.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.5968, allocations: 8 kB / 453.5 MB, free: 7.496 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008731/0.5977, allocations: 0.5942 MB / 454.1 MB, free: 6.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.5977, allocations: 11.97 kB / 454.2 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/0.5978, allocations: 23.72 kB / 454.2 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.5984, allocations: 262.6 kB / 454.4 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.5984, allocations: 8 kB / 454.4 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.5985, allocations: 11.94 kB / 454.5 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.5987, allocations: 101 kB / 454.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.5987, allocations: 0 / 454.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.5988, allocations: 11.98 kB / 454.6 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.358e-06/0.5988, allocations: 0 / 454.6 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.5989, allocations: 39.92 kB / 454.6 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007975/0.5997, allocations: 0.493 MB / 455.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.6, allocations: 113.4 kB / 455.2 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.6002, allocations: 41.83 kB / 455.2 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.6002, allocations: 4 kB / 455.3 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.6004, allocations: 113.8 kB / 455.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.881e-06/0.6005, allocations: 0 / 455.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001012/0.6015, allocations: 329.6 kB / 455.7 MB, free: 5.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.6016, allocations: 85.11 kB / 455.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.6021, allocations: 311.1 kB / 456.1 MB, free: 4.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.6022, allocations: 33.7 kB / 456.1 MB, free: 4.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.6023, allocations: 190.9 kB / 456.3 MB, free: 4.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.6024, allocations: 47.36 kB / 456.3 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.6024, allocations: 8 kB / 456.3 MB, free: 4.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.6026, allocations: 330.7 kB / 456.7 MB, free: 4.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.6028, allocations: 64.19 kB / 456.7 MB, free: 4.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.6031, allocations: 107.8 kB / 456.8 MB, free: 3.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.6033, allocations: 143.4 kB / 457 MB, free: 3.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.772e-06/0.6034, allocations: 0 / 457 MB, free: 3.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006888/0.6041, allocations: 309.9 kB / 457.3 MB, free: 3.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.188e-05/0.6042, allocations: 73.45 kB / 457.3 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.306e-06/0.6042, allocations: 0 / 457.3 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.6042, allocations: 12 kB / 457.4 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.6044, allocations: 27.98 kB / 457.4 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.6045, allocations: 4 kB / 457.4 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.6047, allocations: 19.88 kB / 457.4 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.6047, allocations: 11.98 kB / 457.4 MB, free: 3.301 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0001361/0.6049, allocations: 124.9 kB / 457.5 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.6049, allocations: 19.72 kB / 457.6 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005668/0.6055, allocations: 223.2 kB / 457.8 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.215e-06/0.6055, allocations: 0 / 457.8 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6055, allocations: 0 / 457.8 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.279e-05/0.6056, allocations: 4 kB / 457.8 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.6067, allocations: 0.6476 MB / 458.4 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.233e-06/0.6067, allocations: 4 kB / 458.4 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.6069, allocations: 24.05 kB / 458.5 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.6069, allocations: 4 kB / 458.5 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.6069, allocations: 7.938 kB / 458.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.811e-06/0.6069, allocations: 0 / 458.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.41e-06/0.6069, allocations: 0 / 458.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.6075, allocations: 408.7 kB / 458.9 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.6077, allocations: 124.8 kB / 459 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/0.6078, allocations: 11.95 kB / 459 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.608, allocations: 11.98 kB / 459 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.6081, allocations: 15.92 kB / 459 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.6081, allocations: 8 kB / 459 MB, free: 1.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003763/0.6085, allocations: 251.1 kB / 459.3 MB, free: 1.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.6085, allocations: 192 / 459.3 MB, free: 1.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005884/0.6091, allocations: 91.77 kB / 459.4 MB, free: 1.203 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002307/0.6115, allocations: 0.6336 MB / 460 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006877/0.6122, allocations: 326.7 kB / 460.3 MB, free: 312 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.683e-06/0.6122, allocations: 0 / 460.3 MB, free: 312 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.6124, allocations: 63.92 kB / 460.4 MB, free: 248 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.6129, allocations: 36.86 kB / 460.4 MB, free: 208 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000932/0.6139, allocations: 387 kB / 460.8 MB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.6143, allocations: 0.7517 MB / 461.6 MB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.764e-05/0.6145, allocations: 27.42 kB / 461.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.839e-06/0.6145, allocations: 3.938 kB / 461.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of Templates: time 0.01189/0.6264, allocations: 3.597 MB / 465.2 MB, free: 11.39 MB / 394.7 MB