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.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 234.9 MB / 251.1 MB, free: 9.703 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004387, allocations: 20 kB / 315 MB, free: 9.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3751, allocations: 54.85 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.5319, allocations: 83.46 MB / 453.3 MB, free: 9.219 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.5323, allocations: 79.91 kB / 453.3 MB, free: 9.141 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.01955/0.5518, allocations: 4.202 MB / 457.5 MB, free: 4.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5519, allocations: 0 / 457.5 MB, free: 4.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.5519, allocations: 4 kB / 457.6 MB, free: 4.926 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001242/0.5532, allocations: 0.6105 MB / 458.2 MB, free: 4.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.5532, allocations: 8.031 kB / 458.2 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.017e-05/0.5533, allocations: 27.77 kB / 458.2 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.5537, allocations: 234.4 kB / 458.4 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.5538, allocations: 4 kB / 458.4 MB, free: 3.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.5538, allocations: 12 kB / 458.4 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.5545, allocations: 137.6 kB / 458.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5545, allocations: 0 / 458.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.5545, allocations: 0 / 458.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.5545, allocations: 7.953 kB / 458.6 MB, free: 3.773 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.5556, allocations: 139.8 kB / 458.7 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.5568, allocations: 444.5 kB / 459.2 MB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.5579, allocations: 198.5 kB / 459.3 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.558, allocations: 0 / 459.3 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006296/0.5586, allocations: 159.3 kB / 459.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.294e-06/0.5586, allocations: 0 / 459.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.001607/0.5603, allocations: 297.2 kB / 459.8 MB, free: 2.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.5603, allocations: 51.41 kB / 459.8 MB, free: 2.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.5607, allocations: 222.5 kB / 460.1 MB, free: 2.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.5607, allocations: 29.7 kB / 460.1 MB, free: 2.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.5608, allocations: 174.5 kB / 460.3 MB, free: 1.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.5609, allocations: 35.55 kB / 460.3 MB, free: 1.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.5609, allocations: 4 kB / 460.3 MB, free: 1.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5611, allocations: 318.8 kB / 460.6 MB, free: 1.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.5616, allocations: 92.12 kB / 460.7 MB, free: 1.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005294/0.5621, allocations: 126.8 kB / 460.8 MB, free: 1.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/0.5627, allocations: 159.1 kB / 461 MB, free: 1.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.5627, allocations: 4 kB / 461 MB, free: 1.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001264/0.564, allocations: 332.9 kB / 461.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/0.5641, allocations: 67.39 kB / 461.4 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5641, allocations: 0 / 461.4 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.5641, allocations: 3.953 kB / 461.4 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.5645, allocations: 43.91 kB / 461.4 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5645, allocations: 0 / 461.4 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.5649, allocations: 43.81 kB / 461.5 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.5649, allocations: 8 kB / 461.5 MB, free: 0.707 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.000191/0.5651, allocations: 137.8 kB / 461.6 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.5652, allocations: 19.8 kB / 461.6 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.5663, allocations: 239 kB / 461.9 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.5663, allocations: 4 kB / 461.9 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.5663, allocations: 3.953 kB / 461.9 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5663, allocations: 0 / 461.9 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.5666, allocations: 237.5 kB / 462.1 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5666, allocations: 0 / 462.1 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.567, allocations: 32.03 kB / 462.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.567, allocations: 0 / 462.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.567, allocations: 7.875 kB / 462.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.567, allocations: 7.938 kB / 462.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5671, allocations: 4 kB / 462.2 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.5686, allocations: 348.6 kB / 462.5 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.5688, allocations: 112.9 kB / 462.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.509e-05/0.5689, allocations: 4 kB / 462.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.5692, allocations: 27.97 kB / 462.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.5693, allocations: 19.97 kB / 462.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.5693, allocations: 4 kB / 462.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002105/0.5695, allocations: 168.2 kB / 462.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5696, allocations: 0 / 462.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003786/0.5699, allocations: 48 kB / 462.9 MB, free: 15.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001249/0.5712, allocations: 416.5 kB / 463.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.5724, allocations: 346.6 kB / 463.6 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5725, allocations: 0 / 463.6 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.573, allocations: 88.06 kB / 463.7 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.5734, allocations: 43.28 kB / 463.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000983/0.5744, allocations: 376 kB / 464.1 MB, free: 14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.5747, allocations: 0.7321 MB / 464.8 MB, free: 13.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.5748, allocations: 15.44 kB / 464.9 MB, free: 13.22 MB / 394.7 MB Notification: Performance of SimCode: time 9.81e-07/0.5749, allocations: 0 / 464.9 MB, free: 13.22 MB / 394.7 MB Notification: Performance of Templates: time 0.007226/0.5821, allocations: 2.692 MB / 467.5 MB, free: 10.54 MB / 394.7 MB