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.Test25.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.Test25,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.Test25") Notification: Performance of loadModel(ModelicaTest): time 2.62/2.62, allocations: 234.9 MB / 251.1 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004811, allocations: 12 kB / 314.9 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3711, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.5293, allocations: 82.14 MB / 451.9 MB, free: 8.461 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.5297, allocations: 75.95 kB / 452 MB, free: 8.387 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.02115/0.5508, allocations: 4.625 MB / 456.6 MB, free: 3.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5509, allocations: 0 / 456.6 MB, free: 3.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.5509, allocations: 8 kB / 456.7 MB, free: 3.746 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.0007063/0.5516, allocations: 485 kB / 457.1 MB, free: 3.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.5517, allocations: 8.031 kB / 457.1 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.5518, allocations: 11.91 kB / 457.1 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.5522, allocations: 206.9 kB / 457.3 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.5522, allocations: 4 kB / 457.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.5523, allocations: 4 kB / 457.4 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.5525, allocations: 57.67 kB / 457.4 MB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.5525, allocations: 3.984 kB / 457.4 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.5525, allocations: 7.953 kB / 457.4 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5526, allocations: 0 / 457.4 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.5527, allocations: 27.97 kB / 457.5 MB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.5533, allocations: 312.7 kB / 457.8 MB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.5536, allocations: 62.67 kB / 457.8 MB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.5536, allocations: 3.938 kB / 457.8 MB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.5538, allocations: 72.06 kB / 457.9 MB, free: 2.332 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.364e-06/0.5539, allocations: 0 / 457.9 MB, free: 2.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008455/0.5547, allocations: 181.2 kB / 458.1 MB, free: 2.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.5548, allocations: 55.41 kB / 458.1 MB, free: 2.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.5551, allocations: 203.2 kB / 458.3 MB, free: 1.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.5551, allocations: 25.7 kB / 458.3 MB, free: 1.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/0.5552, allocations: 170.5 kB / 458.5 MB, free: 1.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.5553, allocations: 27.64 kB / 458.5 MB, free: 1.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.5553, allocations: 4 kB / 458.5 MB, free: 1.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5555, allocations: 314.8 kB / 458.9 MB, free: 1.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.5556, allocations: 39.98 kB / 458.9 MB, free: 1.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.5558, allocations: 57.62 kB / 458.9 MB, free: 1.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.556, allocations: 77.69 kB / 459 MB, free: 1.133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.556, allocations: 0 / 459 MB, free: 1.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004774/0.5565, allocations: 183.2 kB / 459.2 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.5566, allocations: 33.7 kB / 459.2 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.5566, allocations: 4 kB / 459.2 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5566, allocations: 0 / 459.2 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.5568, allocations: 16.36 kB / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5568, allocations: 0 / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.5569, allocations: 20.03 kB / 459.3 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.557, allocations: 4 kB / 459.3 MB, free: 0.8594 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.0001663/0.5572, allocations: 129.8 kB / 459.4 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.5572, allocations: 11.86 kB / 459.4 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.5576, allocations: 127.1 kB / 459.5 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.5576, allocations: 4 kB / 459.5 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5577, allocations: 0 / 459.5 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5577, allocations: 0 / 459.5 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007277/0.5584, allocations: 423.2 kB / 460 MB, free: 104 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.5584, allocations: 0 / 460 MB, free: 104 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.5585, allocations: 11.98 kB / 460 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.098e-06/0.5585, allocations: 4 kB / 460 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5586, allocations: 3.938 kB / 460 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.5586, allocations: 0 / 460 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5586, allocations: 0 / 460 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.559, allocations: 212.3 kB / 460.2 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.5591, allocations: 108.8 kB / 460.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.5592, allocations: 4 kB / 460.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.5593, allocations: 4.281 kB / 460.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.5594, allocations: 7.984 kB / 460.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.5594, allocations: 4 kB / 460.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.5596, allocations: 147.9 kB / 460.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5597, allocations: 4 kB / 460.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004484/0.5601, allocations: 43.94 kB / 460.5 MB, free: 15.52 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.001445/0.5616, allocations: 450.8 kB / 460.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.5621, allocations: 167.4 kB / 461.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5621, allocations: 3.938 kB / 461.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.5623, allocations: 36.05 kB / 461.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.5626, allocations: 20.12 kB / 461.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000745/0.5634, allocations: 292.3 kB / 461.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.5638, allocations: 0.7082 MB / 462.2 MB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.5639, allocations: 19.42 kB / 462.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5639, allocations: 0 / 462.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of Templates: time 0.00603/0.57, allocations: 1.975 MB / 464.2 MB, free: 11.87 MB / 394.7 MB