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.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadModel(ModelicaTest): time 2.257/2.257, allocations: 234.9 MB / 250.5 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004332, allocations: 12 kB / 314.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2909, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4153, allocations: 82.25 MB / 451.5 MB, free: 10.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.4156, allocations: 71.97 kB / 451.6 MB, free: 10.33 MB / 378.7 MB [/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$t_new.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$t_new.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$t_new.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$t_new_2.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$t_new_2.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$t_new_2.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$t_new_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02933/0.4449, allocations: 7.119 MB / 458.7 MB, free: 3.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4449, allocations: 0 / 458.7 MB, free: 3.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.554e-05/0.445, allocations: 4 kB / 458.7 MB, free: 3.191 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009406/0.4459, allocations: 0.6722 MB / 459.4 MB, free: 2.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.446, allocations: 8.031 kB / 459.4 MB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/0.4461, allocations: 35.62 kB / 459.4 MB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.4467, allocations: 295 kB / 459.7 MB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.4467, allocations: 4 kB / 459.7 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.4468, allocations: 19.95 kB / 459.7 MB, free: 2.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.447, allocations: 95.36 kB / 459.8 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.4471, allocations: 3.906 kB / 459.8 MB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.4471, allocations: 3.984 kB / 459.8 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-06/0.4471, allocations: 4 kB / 459.9 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.4473, allocations: 47.91 kB / 459.9 MB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008315/0.4482, allocations: 0.5125 MB / 460.4 MB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.4486, allocations: 121.4 kB / 460.5 MB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.4486, allocations: 128 / 460.5 MB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002968/0.4489, allocations: 128.9 kB / 460.7 MB, free: 1.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.44e-06/0.4489, allocations: 4 kB / 460.7 MB, free: 1.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001275/0.4502, allocations: 392.4 kB / 461 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.4503, allocations: 77.11 kB / 461.1 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007057/0.451, allocations: 427.5 kB / 461.5 MB, free: 124 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.4511, allocations: 29.7 kB / 461.6 MB, free: 88 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.4512, allocations: 199 kB / 461.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.4513, allocations: 59.2 kB / 461.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.4514, allocations: 8 kB / 461.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4515, allocations: 326.8 kB / 462.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.4518, allocations: 76.14 kB / 462.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.4521, allocations: 105.6 kB / 462.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.4524, allocations: 143.4 kB / 462.5 MB, free: 15.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.75e-06/0.4524, allocations: 4 kB / 462.5 MB, free: 15.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007792/0.4532, allocations: 328.8 kB / 462.8 MB, free: 14.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.919e-05/0.4533, allocations: 67.39 kB / 462.9 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4533, allocations: 0 / 462.9 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4533, allocations: 4 kB / 462.9 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.4535, allocations: 36.11 kB / 462.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.316e-06/0.4536, allocations: 0 / 462.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.4537, allocations: 16 kB / 462.9 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.4538, allocations: 20.05 kB / 462.9 MB, free: 14.65 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0002439/0.454, allocations: 177.7 kB / 463.1 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.4541, allocations: 35.62 kB / 463.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006276/0.4548, allocations: 216.3 kB / 463.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.974e-06/0.4548, allocations: 4 kB / 463.4 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.658e-06/0.4548, allocations: 0 / 463.4 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.898e-06/0.4548, allocations: 3.984 kB / 463.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.4561, allocations: 0.7063 MB / 464.1 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.73e-06/0.4562, allocations: 0 / 464.1 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.4563, allocations: 32.3 kB / 464.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.516e-06/0.4563, allocations: 0 / 464.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.4563, allocations: 4 kB / 464.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.4563, allocations: 4 kB / 464.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.542e-06/0.4564, allocations: 11.94 kB / 464.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006481/0.457, allocations: 423.6 kB / 464.5 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.4572, allocations: 144.7 kB / 464.7 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.4573, allocations: 4 kB / 464.7 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.4575, allocations: 15.98 kB / 464.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.4576, allocations: 11.98 kB / 464.7 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.4576, allocations: 8 kB / 464.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005191/0.4582, allocations: 339 kB / 465 MB, free: 12.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.4582, allocations: 0 / 465 MB, free: 12.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000597/0.4588, allocations: 95.86 kB / 465.1 MB, free: 12.31 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.002483/0.4613, allocations: 0.7007 MB / 465.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007508/0.4621, allocations: 342.6 kB / 466.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.456e-06/0.4621, allocations: 0 / 466.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.4623, allocations: 71.89 kB / 466.2 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.4628, allocations: 41.3 kB / 466.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.4642, allocations: 0.6327 MB / 466.9 MB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.4647, allocations: 0.7893 MB / 467.7 MB, free: 9.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.4648, allocations: 27.42 kB / 467.7 MB, free: 9.711 MB / 394.7 MB Notification: Performance of SimCode: time 1.669e-06/0.4648, allocations: 0 / 467.7 MB, free: 9.711 MB / 394.7 MB Notification: Performance of Templates: time 0.008443/0.4733, allocations: 3.974 MB / 471.7 MB, free: 5.742 MB / 394.7 MB