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.Test42.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.Test42,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.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.114/2.114, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.000438, allocations: 12 kB / 314.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2987, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.4367, allocations: 82.14 MB / 451.4 MB, free: 8.461 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.437, allocations: 75.91 kB / 451.5 MB, free: 8.387 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.01908/0.4561, allocations: 4.645 MB / 456.1 MB, free: 3.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.533e-06/0.4561, allocations: 4 kB / 456.1 MB, free: 3.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.4561, allocations: 4 kB / 456.1 MB, free: 3.727 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.000642/0.4568, allocations: 491.2 kB / 456.6 MB, free: 3.188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4568, allocations: 8.031 kB / 456.6 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.4569, allocations: 15.89 kB / 456.6 MB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.4573, allocations: 198.9 kB / 456.8 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.4573, allocations: 4 kB / 456.8 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.4574, allocations: 4 kB / 456.8 MB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.4575, allocations: 57.67 kB / 456.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4576, allocations: 4 kB / 456.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.4576, allocations: 7.891 kB / 456.9 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-06/0.4576, allocations: 0 / 456.9 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.988e-05/0.4577, allocations: 23.97 kB / 456.9 MB, free: 2.824 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.4582, allocations: 316.8 kB / 457.2 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.4585, allocations: 66.61 kB / 457.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.4585, allocations: 4 kB / 457.3 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.4587, allocations: 68.19 kB / 457.4 MB, free: 2.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.752e-06/0.4587, allocations: 3.938 kB / 457.4 MB, free: 2.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007196/0.4595, allocations: 181.2 kB / 457.6 MB, free: 2.121 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.4595, allocations: 51.41 kB / 457.6 MB, free: 2.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.4599, allocations: 190.4 kB / 457.8 MB, free: 1.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.46, allocations: 25.7 kB / 457.8 MB, free: 1.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.4601, allocations: 174.5 kB / 458 MB, free: 1.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.4602, allocations: 19.72 kB / 458 MB, free: 1.633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.4602, allocations: 4 kB / 458 MB, free: 1.629 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.4605, allocations: 314.8 kB / 458.3 MB, free: 1.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.4607, allocations: 39.98 kB / 458.4 MB, free: 1.273 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.4609, allocations: 61.62 kB / 458.4 MB, free: 1.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.4611, allocations: 69.7 kB / 458.5 MB, free: 1.133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-06/0.4611, allocations: 0 / 458.5 MB, free: 1.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004114/0.4615, allocations: 175.2 kB / 458.7 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.4616, allocations: 37.66 kB / 458.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.283e-06/0.4616, allocations: 0 / 458.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4616, allocations: 4 kB / 458.7 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4617, allocations: 19.92 kB / 458.7 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.698e-06/0.4618, allocations: 0 / 458.7 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.27e-05/0.4618, allocations: 12.41 kB / 458.7 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.4619, allocations: 8 kB / 458.7 MB, free: 0.8633 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 () * 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.0001402/0.462, allocations: 121.8 kB / 458.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.4621, allocations: 11.91 kB / 458.9 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.4624, allocations: 127 kB / 459 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.486e-06/0.4625, allocations: 8 kB / 459 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.793e-06/0.4625, allocations: 0 / 459 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.825e-06/0.4625, allocations: 7.984 kB / 459 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.4632, allocations: 423.2 kB / 459.4 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.612e-06/0.4632, allocations: 0 / 459.4 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.4633, allocations: 8 kB / 459.4 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.175e-06/0.4633, allocations: 0 / 459.4 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.4633, allocations: 4 kB / 459.4 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.908e-06/0.4633, allocations: 0 / 459.4 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.045e-06/0.4634, allocations: 7.875 kB / 459.4 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.4638, allocations: 226.2 kB / 459.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.4639, allocations: 100.9 kB / 459.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.464, allocations: 8.031 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.4641, allocations: 7.938 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.4641, allocations: 7.984 kB / 459.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.4642, allocations: 8 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001794/0.4644, allocations: 139.9 kB / 459.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.4644, allocations: 0 / 459.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004091/0.4648, allocations: 47.92 kB / 460 MB, free: 15.5 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.002214/0.467, allocations: 460.5 kB / 460.4 MB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006271/0.4677, allocations: 171.3 kB / 460.6 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.932e-06/0.4677, allocations: 4 kB / 460.6 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.4679, allocations: 35.92 kB / 460.6 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.4684, allocations: 23.88 kB / 460.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.4691, allocations: 284.4 kB / 460.9 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.4695, allocations: 0.7084 MB / 461.6 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.4696, allocations: 15.44 kB / 461.7 MB, free: 13.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.384e-06/0.4696, allocations: 4 kB / 461.7 MB, free: 13.82 MB / 394.7 MB Notification: Performance of Templates: time 0.004822/0.4744, allocations: 1.963 MB / 463.6 MB, free: 11.87 MB / 394.7 MB