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.Test71.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.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.613/2.613, allocations: 234.9 MB / 251.1 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004572, allocations: 12 kB / 314.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3658, allocations: 54.86 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.5336, allocations: 82 MB / 451.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000413/0.5341, allocations: 79.94 kB / 451.9 MB, free: 8.523 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$startTime.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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/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$startTime_0.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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.0275/0.5616, allocations: 6.004 MB / 457.9 MB, free: 2.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.5617, allocations: 0 / 457.9 MB, free: 2.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.734e-05/0.5617, allocations: 11.94 kB / 457.9 MB, free: 2.488 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.001584/0.5633, allocations: 0.8429 MB / 458.7 MB, free: 1.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.5634, allocations: 8.031 kB / 458.8 MB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.5636, allocations: 47.44 kB / 458.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.565, allocations: 471.2 kB / 459.3 MB, free: 1.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.5651, allocations: 8 kB / 459.3 MB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.5652, allocations: 4 kB / 459.3 MB, free: 1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.5655, allocations: 88.08 kB / 459.4 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.5655, allocations: 11.89 kB / 459.4 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.5656, allocations: 0 / 459.4 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.5656, allocations: 4 kB / 459.4 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.5658, allocations: 35.97 kB / 459.4 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.5666, allocations: 410.2 kB / 459.8 MB, free: 408 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.5671, allocations: 117.2 kB / 459.9 MB, free: 272 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.5671, allocations: 4 kB / 459.9 MB, free: 268 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003452/0.5675, allocations: 116.9 kB / 460 MB, free: 132 kB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.595e-06/0.5675, allocations: 0 / 460 MB, free: 132 kB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009841/0.5685, allocations: 216.9 kB / 460.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/0.5686, allocations: 85.09 kB / 460.3 MB, free: 15.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/0.571, allocations: 0.9988 MB / 461.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/0.5711, allocations: 29.7 kB / 461.4 MB, free: 14.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.5714, allocations: 262.7 kB / 461.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.521e-05/0.5715, allocations: 23.7 kB / 461.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.5715, allocations: 11.94 kB / 461.7 MB, free: 14.47 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5716, allocations: 314.8 kB / 462 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.572, allocations: 67.95 kB / 462 MB, free: 14.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.5723, allocations: 90.86 kB / 462.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.5726, allocations: 135.3 kB / 462.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5726, allocations: 0 / 462.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008048/0.5735, allocations: 284.8 kB / 462.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.35e-05/0.5736, allocations: 71.33 kB / 462.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.5736, allocations: 0.625 kB / 462.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.5736, allocations: 7.953 kB / 462.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.5738, allocations: 23.98 kB / 462.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.5739, allocations: 4 kB / 462.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.5742, allocations: 23.78 kB / 462.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.5743, allocations: 12 kB / 462.7 MB, free: 13.39 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.0004506/0.5747, allocations: 229.8 kB / 462.9 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.5749, allocations: 55.34 kB / 462.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.5756, allocations: 201.6 kB / 463.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.5757, allocations: 0 / 463.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.5757, allocations: 3.953 kB / 463.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5757, allocations: 3.984 kB / 463.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.5764, allocations: 381.3 kB / 463.5 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5764, allocations: 0 / 463.5 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.5765, allocations: 12 kB / 463.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.5766, allocations: 4 kB / 463.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.5766, allocations: 3.984 kB / 463.5 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-05/0.5766, allocations: 4 kB / 463.5 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5766, allocations: 0 / 463.5 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.5774, allocations: 229.1 kB / 463.8 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.5778, allocations: 204.3 kB / 464 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.5779, allocations: 8 kB / 464 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.5781, allocations: 7.984 kB / 464 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.5782, allocations: 11.98 kB / 464 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.5783, allocations: 7.953 kB / 464 MB, free: 11.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001646/0.5799, allocations: 0.737 MB / 464.7 MB, free: 11.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.58, allocations: 0 / 464.7 MB, free: 11.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000715/0.5807, allocations: 107.9 kB / 464.8 MB, free: 11.11 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.001905/0.5826, allocations: 0.5877 MB / 465.4 MB, free: 10.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008331/0.5835, allocations: 306.7 kB / 465.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.5835, allocations: 4.125 kB / 465.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.5838, allocations: 43.98 kB / 465.8 MB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006393/0.5844, allocations: 54.16 kB / 465.8 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.587, allocations: 1.047 MB / 466.9 MB, free: 9.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.5876, allocations: 0.8507 MB / 467.7 MB, free: 8.211 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.5879, allocations: 35.44 kB / 467.8 MB, free: 8.176 MB / 394.7 MB Notification: Performance of SimCode: time 1.383e-06/0.5879, allocations: 4 kB / 467.8 MB, free: 8.172 MB / 394.7 MB Notification: Performance of Templates: time 0.01601/0.604, allocations: 5.893 MB / 473.7 MB, free: 2.27 MB / 394.7 MB