Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.436/2.436, allocations: 234.9 MB / 251.1 MB, free: 9.711 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006035/0.0006036, allocations: 16 kB / 315 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3857, allocations: 54.85 MB / 369.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.5338, allocations: 82.14 MB / 451.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.5342, allocations: 79.95 kB / 452 MB, free: 10.48 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02201/0.5562, allocations: 4.911 MB / 456.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5562, allocations: 0 / 456.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.5563, allocations: 0 / 456.9 MB, free: 5.559 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.0007621/0.5571, allocations: 0.4902 MB / 457.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5571, allocations: 8.031 kB / 457.4 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.5572, allocations: 19.75 kB / 457.4 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.5576, allocations: 214.8 kB / 457.7 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.5577, allocations: 4 kB / 457.7 MB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.5577, allocations: 8 kB / 457.7 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.5579, allocations: 53.67 kB / 457.7 MB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.5579, allocations: 4 kB / 457.7 MB, free: 4.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.558, allocations: 7.953 kB / 457.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.558, allocations: 0 / 457.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.5581, allocations: 23.97 kB / 457.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.5587, allocations: 332.7 kB / 458.1 MB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.559, allocations: 62.66 kB / 458.1 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.559, allocations: 4 kB / 458.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.5593, allocations: 79.94 kB / 458.2 MB, free: 4.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.775e-06/0.5593, allocations: 0 / 458.2 MB, free: 4.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000857/0.5602, allocations: 185.1 kB / 458.4 MB, free: 3.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.5602, allocations: 59.34 kB / 458.5 MB, free: 3.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.5606, allocations: 250.5 kB / 458.7 MB, free: 3.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.5607, allocations: 33.7 kB / 458.7 MB, free: 3.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/0.5608, allocations: 166.6 kB / 458.9 MB, free: 3.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.5608, allocations: 31.58 kB / 458.9 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.5609, allocations: 4 kB / 458.9 MB, free: 3.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.561, allocations: 314.8 kB / 459.2 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.5611, allocations: 35.98 kB / 459.3 MB, free: 2.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.5613, allocations: 60.36 kB / 459.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.5615, allocations: 77.69 kB / 459.4 MB, free: 2.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5615, allocations: 0 / 459.4 MB, free: 2.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004737/0.562, allocations: 179.2 kB / 459.6 MB, free: 2.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.5621, allocations: 38.62 kB / 459.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5621, allocations: 0 / 459.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.5621, allocations: 0 / 459.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.5623, allocations: 19.98 kB / 459.6 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.5623, allocations: 4 kB / 459.7 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.5624, allocations: 4 kB / 459.7 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.5625, allocations: 8.031 kB / 459.7 MB, free: 2.566 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.0001673/0.5626, allocations: 137.8 kB / 459.8 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.5627, allocations: 19.77 kB / 459.8 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.5631, allocations: 127 kB / 459.9 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5631, allocations: 0 / 459.9 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5631, allocations: 384 / 459.9 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-06/0.5632, allocations: 3.984 kB / 459.9 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007673/0.5639, allocations: 447.3 kB / 460.4 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.564, allocations: 0 / 460.4 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.102e-05/0.5641, allocations: 12 kB / 460.4 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.5641, allocations: 0 / 460.4 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.5641, allocations: 3.984 kB / 460.4 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.5641, allocations: 7.938 kB / 460.4 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5641, allocations: 0 / 460.4 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.5645, allocations: 212.2 kB / 460.6 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.5646, allocations: 113.1 kB / 460.7 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.5647, allocations: 7.984 kB / 460.7 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.5648, allocations: 4 kB / 460.7 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.5649, allocations: 3.938 kB / 460.7 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.5649, allocations: 11.98 kB / 460.8 MB, free: 1.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002767/0.5652, allocations: 188.2 kB / 460.9 MB, free: 1.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5652, allocations: 4 kB / 460.9 MB, free: 1.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003998/0.5656, allocations: 47.92 kB / 461 MB, free: 1.137 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: 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.001331/0.567, allocations: 458.5 kB / 461.4 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000484/0.5675, allocations: 167.3 kB / 461.6 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5675, allocations: 0 / 461.6 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.5676, allocations: 32.11 kB / 461.6 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.568, allocations: 36.06 kB / 461.7 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.5688, allocations: 356.5 kB / 462 MB, free: 140 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.5692, allocations: 0.7238 MB / 462.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.5693, allocations: 15.44 kB / 462.8 MB, free: 15.37 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.5693, allocations: 0 / 462.8 MB, free: 15.37 MB / 394.7 MB Notification: Performance of Templates: time 0.006485/0.5758, allocations: 2.144 MB / 464.9 MB, free: 13.23 MB / 394.7 MB