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.Test72.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.Test72,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.Test72") Notification: Performance of loadModel(ModelicaTest): time 2.264/2.264, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.097e-05/5.11e-05, allocations: 7.984 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4143, allocations: 54.86 MB / 364.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.551, allocations: 81.92 MB / 446.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5513, allocations: 71.95 kB / 446.5 MB, free: 14.36 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.02598/0.5773, allocations: 5.988 MB / 452.5 MB, free: 8.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.021e-06/0.5773, allocations: 0 / 452.5 MB, free: 8.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.51e-05/0.5774, allocations: 8 kB / 452.5 MB, free: 8.391 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.001005/0.5784, allocations: 0.7147 MB / 453.2 MB, free: 7.605 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.5785, allocations: 8.031 kB / 453.3 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.5786, allocations: 51.34 kB / 453.3 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.5797, allocations: 479.1 kB / 453.8 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.5797, allocations: 7.938 kB / 453.8 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.5798, allocations: 8 kB / 453.8 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.58, allocations: 95.31 kB / 453.9 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.842e-06/0.58, allocations: 0 / 453.9 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.5801, allocations: 0 / 453.9 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.556e-06/0.5801, allocations: 1.875 kB / 453.9 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.5802, allocations: 31.98 kB / 453.9 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.5809, allocations: 418.2 kB / 454.3 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.5811, allocations: 101.5 kB / 454.4 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.5813, allocations: 45.66 kB / 454.5 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.5813, allocations: 0 / 454.5 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.5815, allocations: 109.2 kB / 454.6 MB, free: 6.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.415e-06/0.5816, allocations: 0 / 454.6 MB, free: 6.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005074/0.5821, allocations: 177 kB / 454.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.5822, allocations: 81.11 kB / 454.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.584, allocations: 0.9264 MB / 455.8 MB, free: 4.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.5841, allocations: 29.7 kB / 455.8 MB, free: 4.883 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.5844, allocations: 250.8 kB / 456 MB, free: 4.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.5844, allocations: 27.7 kB / 456.1 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.5845, allocations: 11.94 kB / 456.1 MB, free: 4.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5847, allocations: 322.8 kB / 456.4 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.5848, allocations: 55.94 kB / 456.4 MB, free: 4.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.585, allocations: 91.36 kB / 456.5 MB, free: 4.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.5853, allocations: 123.4 kB / 456.6 MB, free: 3.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.039e-06/0.5853, allocations: 8 kB / 456.7 MB, free: 3.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00059/0.5859, allocations: 268.8 kB / 456.9 MB, free: 3.691 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.413e-05/0.586, allocations: 67.39 kB / 457 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.788e-06/0.586, allocations: 0 / 457 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.586, allocations: 7.953 kB / 457 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.5862, allocations: 24.17 kB / 457 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.651e-06/0.5862, allocations: 4 kB / 457 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.5865, allocations: 27.75 kB / 457 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.5866, allocations: 12 kB / 457.1 MB, free: 3.539 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.0001316/0.5867, allocations: 121 kB / 457.2 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.5868, allocations: 51.38 kB / 457.2 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000505/0.5873, allocations: 205.4 kB / 457.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.948e-06/0.5874, allocations: 0 / 457.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.5874, allocations: 7.953 kB / 457.4 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.5874, allocations: 3.984 kB / 457.4 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.5879, allocations: 377.3 kB / 457.8 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.383e-06/0.588, allocations: 4 kB / 457.8 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-05/0.588, allocations: 15.94 kB / 457.8 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.797e-06/0.5881, allocations: 0 / 457.8 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.5881, allocations: 7.984 kB / 457.8 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.933e-06/0.5881, allocations: 0 / 457.8 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.009e-06/0.5881, allocations: 0 / 457.8 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.5886, allocations: 219.6 kB / 458 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/0.589, allocations: 204.4 kB / 458.2 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/0.5891, allocations: 7.984 kB / 458.3 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.5892, allocations: 8 kB / 458.3 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.5893, allocations: 11.94 kB / 458.3 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.5893, allocations: 7.938 kB / 458.3 MB, free: 2.199 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001253/0.5906, allocations: 0.7318 MB / 459 MB, free: 1.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.231e-06/0.5906, allocations: 0 / 459 MB, free: 1.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005383/0.5912, allocations: 115.9 kB / 459.1 MB, free: 1.355 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.001951/0.5931, allocations: 0.5256 MB / 459.7 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005776/0.5937, allocations: 290.7 kB / 459.9 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.838e-06/0.5938, allocations: 8.062 kB / 459.9 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.5939, allocations: 43.94 kB / 460 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.5944, allocations: 57.09 kB / 460 MB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.5962, allocations: 0.8117 MB / 460.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/0.5969, allocations: 0.8507 MB / 461.7 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.5971, allocations: 43.42 kB / 461.7 MB, free: 14.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.702e-06/0.5971, allocations: 0 / 461.7 MB, free: 14.73 MB / 394.7 MB Notification: Performance of Templates: time 0.01302/0.6101, allocations: 5.903 MB / 467.6 MB, free: 8.816 MB / 394.7 MB