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.343/2.343, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004767, allocations: 24 kB / 314.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3518, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.4781, allocations: 82.01 MB / 451.3 MB, free: 8.574 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.4783, allocations: 79.88 kB / 451.4 MB, free: 8.496 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.02365/0.502, allocations: 6.003 MB / 457.4 MB, free: 2.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.502, allocations: 0 / 457.4 MB, free: 2.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.86e-05/0.5021, allocations: 7.938 kB / 457.4 MB, free: 2.465 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.001265/0.5034, allocations: 0.844 MB / 458.2 MB, free: 1.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.5034, allocations: 12.03 kB / 458.2 MB, free: 1.535 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.5036, allocations: 47.44 kB / 458.3 MB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009898/0.5046, allocations: 467.2 kB / 458.7 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.5046, allocations: 4 kB / 458.7 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.5046, allocations: 11.98 kB / 458.7 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.5049, allocations: 88.08 kB / 458.8 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.505, allocations: 11.89 kB / 458.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.505, allocations: 4 kB / 458.9 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-06/0.505, allocations: 0 / 458.9 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.5052, allocations: 31.98 kB / 458.9 MB, free: 0.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006355/0.5058, allocations: 418.2 kB / 459.3 MB, free: 380 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.5062, allocations: 117.2 kB / 459.4 MB, free: 244 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.5062, allocations: 0 / 459.4 MB, free: 244 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.5065, allocations: 109.1 kB / 459.5 MB, free: 116 kB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.227e-06/0.5065, allocations: 0 / 459.5 MB, free: 116 kB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007444/0.5073, allocations: 233.3 kB / 459.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.5074, allocations: 81.05 kB / 459.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.5092, allocations: 0.9316 MB / 460.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.5093, allocations: 33.7 kB / 460.8 MB, free: 14.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.5095, allocations: 250.8 kB / 461 MB, free: 14.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.5096, allocations: 35.64 kB / 461.1 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.5096, allocations: 0 / 461.1 MB, free: 14.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.5098, allocations: 322.8 kB / 461.4 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.5101, allocations: 63.97 kB / 461.4 MB, free: 14.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.5103, allocations: 91.39 kB / 461.5 MB, free: 14.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.5106, allocations: 131.3 kB / 461.7 MB, free: 13.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.5106, allocations: 0 / 461.7 MB, free: 13.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006925/0.5113, allocations: 284.8 kB / 461.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.397e-05/0.5114, allocations: 67.39 kB / 462 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.339e-06/0.5114, allocations: 0 / 462 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5114, allocations: 4 kB / 462 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.5116, allocations: 23.94 kB / 462 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.5116, allocations: 4 kB / 462 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.5119, allocations: 27.78 kB / 462.1 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.512, allocations: 8 kB / 462.1 MB, free: 13.45 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.0003791/0.5124, allocations: 229.8 kB / 462.3 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.5125, allocations: 59.28 kB / 462.4 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/0.5131, allocations: 197.6 kB / 462.5 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.5131, allocations: 0 / 462.5 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.442e-06/0.5131, allocations: 3.953 kB / 462.5 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.96e-06/0.5131, allocations: 7.984 kB / 462.6 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.5137, allocations: 377.3 kB / 462.9 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-06/0.5137, allocations: 0 / 462.9 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.5138, allocations: 12 kB / 462.9 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.897e-06/0.5138, allocations: 4 kB / 462.9 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.5138, allocations: 11.98 kB / 463 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.312e-06/0.5139, allocations: 0 / 463 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.051e-06/0.5139, allocations: 0 / 463 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.5144, allocations: 234.8 kB / 463.2 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.5148, allocations: 208.3 kB / 463.4 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/0.5149, allocations: 8 kB / 463.4 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.5151, allocations: 8.297 kB / 463.4 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.5151, allocations: 15.94 kB / 463.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.5152, allocations: 12 kB / 463.4 MB, free: 11.97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001668/0.5168, allocations: 0.737 MB / 464.2 MB, free: 11.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.395e-06/0.5169, allocations: 0 / 464.2 MB, free: 11.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006012/0.5175, allocations: 103.9 kB / 464.3 MB, free: 11.14 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.002148/0.5197, allocations: 0.5943 MB / 464.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006959/0.5204, allocations: 298.7 kB / 465.2 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.092e-06/0.5204, allocations: 4.125 kB / 465.2 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.5206, allocations: 43.98 kB / 465.2 MB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.5211, allocations: 54.22 kB / 465.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.5231, allocations: 1.043 MB / 466.3 MB, free: 9.133 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006488/0.5238, allocations: 0.8507 MB / 467.1 MB, free: 8.254 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.524, allocations: 39.44 kB / 467.2 MB, free: 8.215 MB / 394.7 MB Notification: Performance of SimCode: time 1.73e-06/0.524, allocations: 0 / 467.2 MB, free: 8.215 MB / 394.7 MB Notification: Performance of Templates: time 0.01239/0.5364, allocations: 5.895 MB / 473.1 MB, free: 2.316 MB / 394.7 MB