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.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadModel(ModelicaTest): time 2.24/2.24, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.38e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4105, allocations: 54.87 MB / 364.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.5387, allocations: 81.92 MB / 446.5 MB, free: 14.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.539, allocations: 68.59 kB / 446.5 MB, free: 14.48 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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$startTime.getDerTableValue. [/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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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$startTime_0.getDerTableValue. [/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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02482/0.5639, allocations: 5.977 MB / 452.5 MB, free: 8.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.718e-06/0.5639, allocations: 4 kB / 452.5 MB, free: 8.523 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.231e-05/0.5639, allocations: 8 kB / 452.5 MB, free: 8.516 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001068/0.565, allocations: 0.7225 MB / 453.3 MB, free: 7.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.5651, allocations: 8.031 kB / 453.3 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.5652, allocations: 55.34 kB / 453.3 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5663, allocations: 479 kB / 453.8 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.5663, allocations: 4 kB / 453.8 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.5664, allocations: 16 kB / 453.8 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.5666, allocations: 83.33 kB / 453.9 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.869e-06/0.5666, allocations: 0 / 453.9 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.5666, allocations: 1.031 kB / 453.9 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.539e-06/0.5667, allocations: 4 kB / 453.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.5668, allocations: 31.92 kB / 453.9 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.5674, allocations: 410.2 kB / 454.3 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.5677, allocations: 109.4 kB / 454.4 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.5679, allocations: 33.81 kB / 454.5 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.5679, allocations: 3.984 kB / 454.5 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.5681, allocations: 114 kB / 454.6 MB, free: 6.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.429e-06/0.5682, allocations: 0 / 454.6 MB, free: 6.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004821/0.5687, allocations: 173 kB / 454.7 MB, free: 6.074 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.5687, allocations: 77.11 kB / 454.8 MB, free: 5.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.5707, allocations: 0.9302 MB / 455.7 MB, free: 5.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.5707, allocations: 33.7 kB / 455.8 MB, free: 5.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.571, allocations: 262.8 kB / 456 MB, free: 4.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.5711, allocations: 23.7 kB / 456.1 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/0.5711, allocations: 7.938 kB / 456.1 MB, free: 4.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5713, allocations: 318.8 kB / 456.4 MB, free: 4.391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.5714, allocations: 59.94 kB / 456.4 MB, free: 4.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.5716, allocations: 91.41 kB / 456.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.5719, allocations: 127.4 kB / 456.7 MB, free: 4.094 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.865e-06/0.5719, allocations: 0 / 456.7 MB, free: 4.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006387/0.5726, allocations: 264.8 kB / 456.9 MB, free: 3.816 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.98e-05/0.5727, allocations: 73.27 kB / 457 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.365e-06/0.5727, allocations: 256 / 457 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.5727, allocations: 3.953 kB / 457 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.5729, allocations: 31.92 kB / 457 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.083e-06/0.5729, allocations: 0 / 457 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.5732, allocations: 35.8 kB / 457.1 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.5733, allocations: 8 kB / 457.1 MB, free: 3.656 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * 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.0001306/0.5734, allocations: 116.9 kB / 457.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.5735, allocations: 55.38 kB / 457.2 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/0.5741, allocations: 197.5 kB / 457.4 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.5741, allocations: 4 kB / 457.4 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.305e-06/0.5741, allocations: 11.88 kB / 457.4 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.626e-06/0.5742, allocations: 0 / 457.4 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.5747, allocations: 377.4 kB / 457.8 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-06/0.5747, allocations: 4 kB / 457.8 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.556e-05/0.5748, allocations: 11.98 kB / 457.8 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.226e-06/0.5748, allocations: 0 / 457.8 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.5748, allocations: 8 kB / 457.8 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.142e-06/0.5749, allocations: 3.984 kB / 457.8 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.203e-06/0.5749, allocations: 0 / 457.8 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.5753, allocations: 230.9 kB / 458.1 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.5758, allocations: 196.4 kB / 458.2 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-05/0.5759, allocations: 8 kB / 458.3 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.576, allocations: 11.98 kB / 458.3 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.5761, allocations: 7.953 kB / 458.3 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.5762, allocations: 15.92 kB / 458.3 MB, free: 2.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001321/0.5775, allocations: 0.7279 MB / 459 MB, free: 1.582 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.025e-06/0.5775, allocations: 0 / 459 MB, free: 1.582 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005969/0.5781, allocations: 107.9 kB / 459.1 MB, free: 1.477 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001958/0.5801, allocations: 0.5236 MB / 459.6 MB, free: 1.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005841/0.5807, allocations: 298.7 kB / 459.9 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.534e-06/0.5807, allocations: 3.938 kB / 459.9 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.5808, allocations: 40 kB / 460 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.5814, allocations: 57.2 kB / 460 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.5833, allocations: 0.8193 MB / 460.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.584, allocations: 0.8585 MB / 461.7 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.5842, allocations: 39.44 kB / 461.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.867e-06/0.5842, allocations: 0 / 461.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of Templates: time 0.01326/0.5975, allocations: 5.891 MB / 467.6 MB, free: 8.941 MB / 394.7 MB