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.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadModel(ModelicaTest): time 2.184/2.184, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007832/0.0007835, allocations: 12 kB / 314.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3246, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.4578, allocations: 82.15 MB / 451.4 MB, free: 8.457 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.4581, allocations: 75.97 kB / 451.5 MB, free: 8.383 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. Notification: Performance of FrontEnd - DAE generated: time 0.02161/0.4797, allocations: 4.903 MB / 456.4 MB, free: 3.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.927e-06/0.4798, allocations: 0 / 456.4 MB, free: 3.465 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.848e-05/0.4798, allocations: 7.984 kB / 456.4 MB, free: 3.457 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009972/0.4808, allocations: 0.4901 MB / 456.9 MB, free: 2.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.4809, allocations: 8.031 kB / 456.9 MB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.899e-05/0.481, allocations: 19.8 kB / 456.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.4816, allocations: 222.8 kB / 457.1 MB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.4816, allocations: 0 / 457.1 MB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/0.4817, allocations: 8 kB / 457.2 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.4819, allocations: 53.67 kB / 457.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.482, allocations: 0 / 457.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.482, allocations: 3.953 kB / 457.2 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.482, allocations: 0 / 457.2 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.4822, allocations: 27.92 kB / 457.2 MB, free: 2.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007591/0.483, allocations: 324.8 kB / 457.6 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.4833, allocations: 58.67 kB / 457.6 MB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.4834, allocations: 4 kB / 457.6 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000278/0.4837, allocations: 76.11 kB / 457.7 MB, free: 2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.45e-06/0.4837, allocations: 7.938 kB / 457.7 MB, free: 1.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001072/0.4848, allocations: 193 kB / 457.9 MB, free: 1.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.4849, allocations: 51.41 kB / 457.9 MB, free: 1.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/0.4854, allocations: 233.7 kB / 458.2 MB, free: 1.492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.4855, allocations: 29.7 kB / 458.2 MB, free: 1.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.4857, allocations: 170.5 kB / 458.4 MB, free: 1.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.4857, allocations: 23.66 kB / 458.4 MB, free: 1.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.4858, allocations: 4 kB / 458.4 MB, free: 1.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.486, allocations: 322.8 kB / 458.7 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.4862, allocations: 43.92 kB / 458.7 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.4865, allocations: 53.69 kB / 458.8 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.4867, allocations: 69.7 kB / 458.9 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.099e-06/0.4868, allocations: 0 / 458.9 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006677/0.4875, allocations: 179.6 kB / 459 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.795e-05/0.4875, allocations: 41.67 kB / 459.1 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.462e-06/0.4876, allocations: 4 kB / 459.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4876, allocations: 0 / 459.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.4878, allocations: 20 kB / 459.1 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.115e-06/0.4878, allocations: 3.938 kB / 459.1 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.488, allocations: 7.984 kB / 459.1 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.4881, allocations: 8 kB / 459.1 MB, free: 496 kB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 0.0002568/0.4883, allocations: 137.8 kB / 459.3 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.4884, allocations: 11.81 kB / 459.3 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006477/0.4891, allocations: 131 kB / 459.4 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.4891, allocations: 4 kB / 459.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.038e-06/0.4892, allocations: 0 / 459.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.102e-06/0.4892, allocations: 0 / 459.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009306/0.4901, allocations: 439.2 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.961e-06/0.4902, allocations: 0 / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.4902, allocations: 8 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.46e-06/0.4902, allocations: 4.031 kB / 459.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.4903, allocations: 8 kB / 459.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.834e-06/0.4903, allocations: 0 / 459.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.356e-06/0.4903, allocations: 3.938 kB / 459.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.4907, allocations: 230 kB / 460.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.4909, allocations: 104.9 kB / 460.2 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.4909, allocations: 8 kB / 460.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.491, allocations: 11.97 kB / 460.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.4911, allocations: 4.281 kB / 460.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.4911, allocations: 7.938 kB / 460.2 MB, free: 15.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002643/0.4914, allocations: 192.2 kB / 460.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.075e-06/0.4914, allocations: 3.938 kB / 460.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004228/0.4919, allocations: 43.94 kB / 460.5 MB, free: 15.04 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001654/0.4935, allocations: 464.5 kB / 460.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004499/0.494, allocations: 167.3 kB / 461.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.404e-06/0.494, allocations: 0 / 461.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.4942, allocations: 35.92 kB / 461.1 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.4945, allocations: 20.12 kB / 461.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007474/0.4953, allocations: 352.7 kB / 461.5 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.4957, allocations: 0.7199 MB / 462.2 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.4958, allocations: 23.42 kB / 462.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of SimCode: time 1.948e-06/0.4958, allocations: 0 / 462.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of Templates: time 0.007857/0.5037, allocations: 2.15 MB / 464.4 MB, free: 11.14 MB / 394.7 MB