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.Test70.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.Test70,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.Test70") Notification: Performance of loadModel(ModelicaTest): time 2.164/2.164, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004368, allocations: 12 kB / 314.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4144, allocations: 54.87 MB / 369.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/0.5449, allocations: 82.01 MB / 451.3 MB, free: 8.707 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.5452, allocations: 75.91 kB / 451.4 MB, free: 8.633 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.02382/0.5691, allocations: 6.004 MB / 457.4 MB, free: 2.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.498e-06/0.5691, allocations: 0 / 457.4 MB, free: 2.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.919e-05/0.5692, allocations: 11.94 kB / 457.4 MB, free: 2.602 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.001267/0.5704, allocations: 0.8312 MB / 458.2 MB, free: 1.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.5705, allocations: 11.97 kB / 458.2 MB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.5706, allocations: 47.44 kB / 458.3 MB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009772/0.5716, allocations: 471.2 kB / 458.7 MB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.5717, allocations: 11.98 kB / 458.7 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.5717, allocations: 8 kB / 458.7 MB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.572, allocations: 84.08 kB / 458.8 MB, free: 1.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.572, allocations: 3.953 kB / 458.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.572, allocations: 0 / 458.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.572, allocations: 4 kB / 458.8 MB, free: 1.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.5722, allocations: 39.91 kB / 458.9 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.5728, allocations: 410.2 kB / 459.3 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.5732, allocations: 117.2 kB / 459.4 MB, free: 400 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.5733, allocations: 4 kB / 459.4 MB, free: 396 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.5736, allocations: 121 kB / 459.5 MB, free: 256 kB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.632e-06/0.5736, allocations: 0 / 459.5 MB, free: 256 kB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007132/0.5743, allocations: 212.9 kB / 459.7 MB, free: 36 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.5744, allocations: 81.11 kB / 459.8 MB, free: 15.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.5763, allocations: 0.9316 MB / 460.7 MB, free: 15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.5763, allocations: 33.7 kB / 460.8 MB, free: 14.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.5766, allocations: 258.8 kB / 461 MB, free: 14.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.5766, allocations: 27.64 kB / 461 MB, free: 14.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.5767, allocations: 8 kB / 461.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5769, allocations: 318.8 kB / 461.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.5771, allocations: 59.97 kB / 461.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.5773, allocations: 95.39 kB / 461.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.5776, allocations: 131.3 kB / 461.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.18e-06/0.5777, allocations: 0 / 461.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006886/0.5784, allocations: 280.8 kB / 461.9 MB, free: 13.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.827e-05/0.5785, allocations: 71.39 kB / 462 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.439e-06/0.5785, allocations: 0 / 462 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.5785, allocations: 0 / 462 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.5787, allocations: 28.05 kB / 462 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.475e-06/0.5787, allocations: 7.891 kB / 462 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.5789, allocations: 23.78 kB / 462 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.579, allocations: 12.62 kB / 462.1 MB, free: 13.59 MB / 394.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 () * Number of clocked 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.0003821/0.5794, allocations: 225.7 kB / 462.3 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.5795, allocations: 51.34 kB / 462.3 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005741/0.5801, allocations: 209.6 kB / 462.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.852e-06/0.5801, allocations: 4 kB / 462.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.603e-06/0.5801, allocations: 0 / 462.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.484e-06/0.5802, allocations: 7.938 kB / 462.5 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.5807, allocations: 381.3 kB / 462.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.386e-06/0.5808, allocations: 0 / 462.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.825e-05/0.5808, allocations: 8 kB / 462.9 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.205e-06/0.5809, allocations: 7.984 kB / 462.9 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.5809, allocations: 3.984 kB / 462.9 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.241e-06/0.5809, allocations: 0 / 462.9 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.784e-06/0.5809, allocations: 4 kB / 462.9 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.5815, allocations: 242.8 kB / 463.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.5819, allocations: 200.3 kB / 463.4 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/0.582, allocations: 8 kB / 463.4 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.5821, allocations: 11.98 kB / 463.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.5822, allocations: 15.94 kB / 463.4 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.5822, allocations: 4 kB / 463.4 MB, free: 12.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001251/0.5835, allocations: 0.7409 MB / 464.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.5835, allocations: 0 / 464.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005461/0.5841, allocations: 111.9 kB / 464.3 MB, free: 11.28 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: 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) * Number of clocked states: 0 () * 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.002183/0.5863, allocations: 0.5835 MB / 464.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006848/0.587, allocations: 298.6 kB / 465.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.648e-06/0.587, allocations: 0 / 465.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.5872, allocations: 43.98 kB / 465.2 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.5877, allocations: 50.78 kB / 465.2 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.5898, allocations: 1.047 MB / 466.3 MB, free: 9.285 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.5904, allocations: 0.8507 MB / 467.1 MB, free: 8.406 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.5906, allocations: 39.44 kB / 467.2 MB, free: 8.367 MB / 394.7 MB Notification: Performance of SimCode: time 1.689e-06/0.5906, allocations: 0 / 467.2 MB, free: 8.367 MB / 394.7 MB Notification: Performance of Templates: time 0.01302/0.6037, allocations: 5.906 MB / 473.1 MB, free: 2.457 MB / 394.7 MB