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.Test15.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.Test15,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.Test15") Notification: Performance of loadModel(ModelicaTest): time 2.086/2.086, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.0004382, allocations: 20 kB / 314.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3198, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4435, allocations: 82.12 MB / 451.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.4438, allocations: 71.95 kB / 451.5 MB, free: 8.41 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.01845/0.4622, allocations: 4.442 MB / 455.9 MB, free: 3.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.988e-06/0.4622, allocations: 0 / 455.9 MB, free: 3.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.4623, allocations: 4 kB / 455.9 MB, free: 3.957 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.0006033/0.4629, allocations: 474.2 kB / 456.4 MB, free: 3.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4629, allocations: 12.03 kB / 456.4 MB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.463, allocations: 7.906 kB / 456.4 MB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.4633, allocations: 213 kB / 456.6 MB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.4634, allocations: 4 kB / 456.6 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.4634, allocations: 4 kB / 456.6 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.4636, allocations: 57.61 kB / 456.7 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4636, allocations: 4 kB / 456.7 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4636, allocations: 3.953 kB / 456.7 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-06/0.4636, allocations: 0 / 456.7 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.4637, allocations: 23.98 kB / 456.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.4642, allocations: 308.8 kB / 457 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.4645, allocations: 62.61 kB / 457.1 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.4645, allocations: 4 kB / 457.1 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.4647, allocations: 76.17 kB / 457.1 MB, free: 2.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.459e-06/0.4647, allocations: 0 / 457.1 MB, free: 2.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006869/0.4654, allocations: 177.3 kB / 457.3 MB, free: 2.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.4655, allocations: 51.41 kB / 457.4 MB, free: 2.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.4657, allocations: 157.5 kB / 457.5 MB, free: 2.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.4657, allocations: 33.7 kB / 457.5 MB, free: 2.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/0.4658, allocations: 158.6 kB / 457.7 MB, free: 1.949 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.4659, allocations: 27.62 kB / 457.7 MB, free: 1.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.4659, allocations: 8 kB / 457.7 MB, free: 1.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4661, allocations: 310.8 kB / 458 MB, free: 1.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.4662, allocations: 43.92 kB / 458.1 MB, free: 1.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.4664, allocations: 57.69 kB / 458.1 MB, free: 1.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.4665, allocations: 77.69 kB / 458.2 MB, free: 1.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-06/0.4666, allocations: 0 / 458.2 MB, free: 1.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004079/0.467, allocations: 171.2 kB / 458.4 MB, free: 1.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/0.4671, allocations: 37.64 kB / 458.4 MB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4671, allocations: 4 kB / 458.4 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4671, allocations: 0 / 458.4 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4672, allocations: 15.98 kB / 458.4 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.4672, allocations: 0 / 458.4 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.836e-05/0.4673, allocations: 8.375 kB / 458.4 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.4674, allocations: 12.03 kB / 458.5 MB, free: 1.152 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.0001476/0.4675, allocations: 125.8 kB / 458.6 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.4676, allocations: 15.8 kB / 458.6 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.468, allocations: 122.3 kB / 458.7 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.611e-06/0.468, allocations: 11.88 kB / 458.7 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.601e-06/0.4681, allocations: 0 / 458.7 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.523e-06/0.4681, allocations: 0 / 458.7 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.4688, allocations: 415.2 kB / 459.1 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.916e-06/0.4688, allocations: 0 / 459.1 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.4689, allocations: 11.98 kB / 459.1 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.44e-06/0.4689, allocations: 0 / 459.1 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.4689, allocations: 4 kB / 459.1 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.79e-06/0.4689, allocations: 160 / 459.1 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4689, allocations: 0 / 459.1 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.4693, allocations: 241.8 kB / 459.4 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.4694, allocations: 93 kB / 459.5 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.4695, allocations: 4 kB / 459.5 MB, free: 0 / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.4696, allocations: 0 / 459.5 MB, free: 0 / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.4697, allocations: 12.06 kB / 459.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.4697, allocations: 4 kB / 459.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.4699, allocations: 126.5 kB / 459.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.4699, allocations: 4 kB / 459.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004306/0.4703, allocations: 40.27 kB / 459.7 MB, free: 15.82 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.001547/0.4719, allocations: 461.4 kB / 460.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004074/0.4723, allocations: 163.4 kB / 460.3 MB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.706e-06/0.4724, allocations: 4 kB / 460.3 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.4725, allocations: 36 kB / 460.3 MB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.4728, allocations: 31.86 kB / 460.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.4734, allocations: 255.7 kB / 460.6 MB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.4738, allocations: 0.7121 MB / 461.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.4739, allocations: 15.38 kB / 461.3 MB, free: 14.17 MB / 394.7 MB Notification: Performance of SimCode: time 1.83e-06/0.4739, allocations: 0 / 461.3 MB, free: 14.17 MB / 394.7 MB Notification: Performance of Templates: time 0.004644/0.4786, allocations: 1.911 MB / 463.2 MB, free: 12.26 MB / 394.7 MB