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.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new_2.nextTimeEvent|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadModel(ModelicaTest): time 2.125/2.125, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.264e-05, allocations: 8 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3186, allocations: 54.85 MB / 364.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.4691, allocations: 82.1 MB / 446.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.4694, allocations: 70.56 kB / 446.7 MB, free: 14.19 MB / 378.7 MB [/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.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.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.02154/0.4909, allocations: 5.143 MB / 451.9 MB, free: 9.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4909, allocations: 0 / 451.9 MB, free: 9.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.491, allocations: 8 kB / 451.9 MB, free: 9.07 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007537/0.4917, allocations: 0.5477 MB / 452.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4918, allocations: 15.97 kB / 452.4 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.4919, allocations: 11.91 kB / 452.4 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.4923, allocations: 242.6 kB / 452.7 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.4924, allocations: 0 / 452.7 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.4924, allocations: 8.844 kB / 452.7 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.4927, allocations: 101.2 kB / 452.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4927, allocations: 3.953 kB / 452.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.4927, allocations: 7.984 kB / 452.8 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-06/0.4927, allocations: 0 / 452.8 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.4929, allocations: 35.92 kB / 452.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.4932, allocations: 238.4 kB / 453.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.4935, allocations: 101.3 kB / 453.2 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.4936, allocations: 33.72 kB / 453.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.4937, allocations: 8.828 kB / 453.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.4939, allocations: 113 kB / 453.3 MB, free: 7.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.974e-06/0.494, allocations: 0.75 kB / 453.3 MB, free: 7.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004068/0.4944, allocations: 138.3 kB / 453.4 MB, free: 7.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/0.4945, allocations: 132.5 kB / 453.6 MB, free: 7.098 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.4948, allocations: 181.9 kB / 453.8 MB, free: 6.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.4948, allocations: 37.64 kB / 453.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.495, allocations: 174.7 kB / 454 MB, free: 6.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.495, allocations: 27.64 kB / 454 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/0.495, allocations: 8 kB / 454 MB, free: 6.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4952, allocations: 319.7 kB / 454.3 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.4954, allocations: 44 kB / 454.4 MB, free: 6.293 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.4956, allocations: 85.14 kB / 454.4 MB, free: 6.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.4958, allocations: 120 kB / 454.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.073e-06/0.4958, allocations: 4 kB / 454.6 MB, free: 6.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004959/0.4963, allocations: 238.5 kB / 454.8 MB, free: 5.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.459e-05/0.4964, allocations: 67.39 kB / 454.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.4964, allocations: 0 / 454.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4964, allocations: 0 / 454.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.4966, allocations: 35.88 kB / 454.9 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.4966, allocations: 4.062 kB / 454.9 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.4968, allocations: 23.84 kB / 454.9 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.4968, allocations: 8 kB / 454.9 MB, free: 5.664 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (16): * Single equations (assignments): 14 * 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.0001374/0.497, allocations: 128.8 kB / 455.1 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.497, allocations: 11.81 kB / 455.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.4975, allocations: 154.6 kB / 455.2 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.858e-06/0.4975, allocations: 0 / 455.2 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4975, allocations: 7.953 kB / 455.2 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.894e-06/0.4975, allocations: 4 kB / 455.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.4978, allocations: 221.4 kB / 455.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.139e-06/0.4979, allocations: 0 / 455.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-05/0.498, allocations: 11.98 kB / 455.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.162e-06/0.498, allocations: 4 kB / 455.5 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.498, allocations: 3.984 kB / 455.5 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.508e-06/0.498, allocations: 4 kB / 455.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.135e-06/0.498, allocations: 3.984 kB / 455.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.4984, allocations: 191.4 kB / 455.7 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.4986, allocations: 104.9 kB / 455.8 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.4986, allocations: 8 kB / 455.8 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.4988, allocations: 7.984 kB / 455.8 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.4988, allocations: 19.88 kB / 455.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.4989, allocations: 4 kB / 455.8 MB, free: 4.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.4991, allocations: 156 kB / 456 MB, free: 4.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.4991, allocations: 0 / 456 MB, free: 4.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004572/0.4996, allocations: 75.86 kB / 456 MB, free: 4.449 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.002416/0.502, allocations: 0.6653 MB / 456.7 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005215/0.5025, allocations: 258.7 kB / 456.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.181e-06/0.5026, allocations: 0 / 456.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.5027, allocations: 47.92 kB / 457 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.5031, allocations: 35.14 kB / 457 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000571/0.5037, allocations: 212.6 kB / 457.2 MB, free: 3.273 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.5041, allocations: 0.7165 MB / 457.9 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.766e-05/0.5042, allocations: 27.42 kB / 458 MB, free: 2.504 MB / 378.7 MB Notification: Performance of SimCode: time 1.708e-06/0.5042, allocations: 4 kB / 458 MB, free: 2.5 MB / 378.7 MB Notification: Performance of Templates: time 0.007008/0.5112, allocations: 3.066 MB / 461 MB, free: 15.43 MB / 394.7 MB