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.Test28.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.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.611/2.611, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004791, allocations: 16 kB / 314.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3559, allocations: 54.85 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.5083, allocations: 82.1 MB / 451.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/0.5087, allocations: 83.95 kB / 452 MB, free: 8.449 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.02134/0.5301, allocations: 4.489 MB / 456.5 MB, free: 3.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.676e-06/0.5302, allocations: 4 kB / 456.5 MB, free: 3.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.5302, allocations: 0 / 456.5 MB, free: 3.949 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.0006948/0.5309, allocations: 482.1 kB / 456.9 MB, free: 3.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5309, allocations: 8.031 kB / 457 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.531, allocations: 15.81 kB / 457 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.5314, allocations: 199.5 kB / 457.2 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.5314, allocations: 4 kB / 457.2 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.5315, allocations: 8 kB / 457.2 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.5317, allocations: 53.67 kB / 457.2 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5317, allocations: 0 / 457.2 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.5317, allocations: 3.953 kB / 457.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.5318, allocations: 7.984 kB / 457.2 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.5319, allocations: 23.92 kB / 457.3 MB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.5324, allocations: 308.9 kB / 457.6 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.5327, allocations: 62.67 kB / 457.6 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.5328, allocations: 0 / 457.6 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.533, allocations: 76 kB / 457.7 MB, free: 2.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.533, allocations: 3.938 kB / 457.7 MB, free: 2.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008374/0.5339, allocations: 185.1 kB / 457.9 MB, free: 2.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.5339, allocations: 51.41 kB / 457.9 MB, free: 2.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.5342, allocations: 182.2 kB / 458.1 MB, free: 2.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.5343, allocations: 29.7 kB / 458.1 MB, free: 2.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.387e-05/0.5344, allocations: 174.5 kB / 458.3 MB, free: 1.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.5344, allocations: 23.66 kB / 458.3 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.5344, allocations: 0 / 458.3 MB, free: 1.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5346, allocations: 322.8 kB / 458.7 MB, free: 1.551 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.5347, allocations: 35.98 kB / 458.7 MB, free: 1.516 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.5349, allocations: 57.69 kB / 458.7 MB, free: 1.453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.5351, allocations: 69.7 kB / 458.8 MB, free: 1.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5351, allocations: 4 kB / 458.8 MB, free: 1.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004626/0.5356, allocations: 183.2 kB / 459 MB, free: 1.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.525e-05/0.5357, allocations: 37.69 kB / 459 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5357, allocations: 0 / 459 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.5357, allocations: 0 / 459 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.5359, allocations: 23.94 kB / 459.1 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.5359, allocations: 0 / 459.1 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.536, allocations: 7.984 kB / 459.1 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.536, allocations: 4 kB / 459.1 MB, free: 1.105 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.0001535/0.5362, allocations: 129.9 kB / 459.2 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.5362, allocations: 15.77 kB / 459.2 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/0.5367, allocations: 122.4 kB / 459.3 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.5367, allocations: 12.34 kB / 459.3 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/0.5367, allocations: 0 / 459.3 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5367, allocations: 0 / 459.3 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007719/0.5375, allocations: 419.3 kB / 459.8 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5376, allocations: 0 / 459.8 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.5376, allocations: 12 kB / 459.8 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.5377, allocations: 0 / 459.8 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.5377, allocations: 0 / 459.8 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.5377, allocations: 4 kB / 459.8 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5377, allocations: 3.938 kB / 459.8 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.5381, allocations: 216.2 kB / 460 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.5383, allocations: 100.9 kB / 460.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.5383, allocations: 4 kB / 460.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.5384, allocations: 4.281 kB / 460.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.5385, allocations: 11.92 kB / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.5385, allocations: 4 kB / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001941/0.5387, allocations: 147.1 kB / 460.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5387, allocations: 0 / 460.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000445/0.5392, allocations: 35.94 kB / 460.3 MB, free: 15.77 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.001346/0.5406, allocations: 449.7 kB / 460.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005842/0.5412, allocations: 171.3 kB / 460.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5412, allocations: 0 / 460.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.5413, allocations: 35.92 kB / 460.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.5417, allocations: 28.25 kB / 461 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006962/0.5424, allocations: 279.5 kB / 461.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.5428, allocations: 0.7121 MB / 461.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.5429, allocations: 19.44 kB / 462 MB, free: 14.09 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5429, allocations: 0 / 462 MB, free: 14.09 MB / 394.7 MB Notification: Performance of Templates: time 0.00588/0.5488, allocations: 1.939 MB / 463.9 MB, free: 12.16 MB / 394.7 MB