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.Test73.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.Test73,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.Test73") Notification: Performance of loadModel(ModelicaTest): time 2.276/2.276, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.654e-05, allocations: 8 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3203, allocations: 54.85 MB / 364.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4453, allocations: 82.18 MB / 446.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.4456, allocations: 69.31 kB / 446.8 MB, free: 14.11 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.02862/0.4742, allocations: 6.751 MB / 453.5 MB, free: 7.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.987e-06/0.4743, allocations: 0 / 453.5 MB, free: 7.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.4743, allocations: 8 kB / 453.5 MB, free: 7.375 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.0008287/0.4752, allocations: 0.5942 MB / 454.1 MB, free: 6.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.4752, allocations: 11.97 kB / 454.2 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.442e-05/0.4753, allocations: 23.72 kB / 454.2 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.4758, allocations: 258.6 kB / 454.4 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.4759, allocations: 8 kB / 454.4 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.4759, allocations: 15.98 kB / 454.5 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.4762, allocations: 103.3 kB / 454.6 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4762, allocations: 0 / 454.6 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.4762, allocations: 4.656 kB / 454.6 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.48e-06/0.4763, allocations: 0 / 454.6 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.4764, allocations: 47.91 kB / 454.6 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007981/0.4772, allocations: 0.4891 MB / 455.1 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.4775, allocations: 117.4 kB / 455.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.4776, allocations: 45.84 kB / 455.3 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.4777, allocations: 0 / 455.3 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.4779, allocations: 114.5 kB / 455.4 MB, free: 5.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.373e-06/0.4779, allocations: 0 / 455.4 MB, free: 5.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001003/0.479, allocations: 332.1 kB / 455.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.479, allocations: 81.11 kB / 455.8 MB, free: 4.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.4796, allocations: 315 kB / 456.1 MB, free: 4.602 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.4796, allocations: 29.7 kB / 456.1 MB, free: 4.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.4798, allocations: 190.9 kB / 456.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.276e-05/0.4799, allocations: 43.36 kB / 456.3 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.4799, allocations: 4 kB / 456.3 MB, free: 4.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4801, allocations: 326.8 kB / 456.7 MB, free: 4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.4803, allocations: 68.19 kB / 456.7 MB, free: 3.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.4805, allocations: 115.7 kB / 456.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.4808, allocations: 139.4 kB / 457 MB, free: 3.656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-06/0.4808, allocations: 0 / 457 MB, free: 3.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006728/0.4815, allocations: 314 kB / 457.3 MB, free: 3.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/0.4816, allocations: 65.27 kB / 457.3 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4816, allocations: 0 / 457.3 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4816, allocations: 4.062 kB / 457.3 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.4819, allocations: 35.98 kB / 457.4 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.709e-06/0.4819, allocations: 4 kB / 457.4 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.4821, allocations: 15.92 kB / 457.4 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.4821, allocations: 17.41 kB / 457.4 MB, free: 3.184 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.0001328/0.4823, allocations: 120.9 kB / 457.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.4824, allocations: 23.72 kB / 457.6 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005688/0.4829, allocations: 225 kB / 457.8 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.943e-06/0.483, allocations: 0 / 457.8 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.455e-06/0.483, allocations: 4 kB / 457.8 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.474e-06/0.483, allocations: 0 / 457.8 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.4841, allocations: 0.648 MB / 458.4 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4841, allocations: 0 / 458.4 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.4843, allocations: 23.98 kB / 458.5 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.841e-06/0.4843, allocations: 8.062 kB / 458.5 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.4843, allocations: 8 kB / 458.5 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.561e-06/0.4843, allocations: 3.938 kB / 458.5 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.622e-06/0.4843, allocations: 320 / 458.5 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.4849, allocations: 416.4 kB / 458.9 MB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.4851, allocations: 120.8 kB / 459 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.4852, allocations: 15.94 kB / 459 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.4854, allocations: 4 kB / 459 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.4855, allocations: 20.3 kB / 459 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.4855, allocations: 11.98 kB / 459.1 MB, free: 1.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003709/0.4859, allocations: 247.1 kB / 459.3 MB, free: 1.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.4859, allocations: 0 / 459.3 MB, free: 1.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005831/0.4865, allocations: 99.7 kB / 459.4 MB, free: 1.07 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.002304/0.4888, allocations: 0.6333 MB / 460 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006646/0.4895, allocations: 318.7 kB / 460.3 MB, free: 184 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.009e-06/0.4895, allocations: 0 / 460.3 MB, free: 184 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.4897, allocations: 59.94 kB / 460.4 MB, free: 124 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.4903, allocations: 40.86 kB / 460.4 MB, free: 80 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009433/0.4912, allocations: 387.1 kB / 460.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.4918, allocations: 0.7517 MB / 461.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.4919, allocations: 27.44 kB / 461.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of SimCode: time 1.701e-06/0.4919, allocations: 3.938 kB / 461.6 MB, free: 14.85 MB / 394.7 MB Notification: Performance of Templates: time 0.007881/0.4998, allocations: 3.593 MB / 465.2 MB, free: 11.27 MB / 394.7 MB