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.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.107/2.107, allocations: 234.9 MB / 250.5 MB, free: 9.645 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.000438, allocations: 12 kB / 314.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2898, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.414, allocations: 82.9 MB / 452.2 MB, free: 9.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.4143, allocations: 79.89 kB / 452.2 MB, free: 9.672 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$t_new.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.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. Notification: Performance of FrontEnd - DAE generated: time 0.01477/0.4291, allocations: 3.615 MB / 455.9 MB, free: 6.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.117e-06/0.4291, allocations: 3.938 kB / 455.9 MB, free: 6.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.4291, allocations: 4 kB / 455.9 MB, free: 6.035 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007298/0.4299, allocations: 0.5193 MB / 456.4 MB, free: 5.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4299, allocations: 12.03 kB / 456.4 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.43, allocations: 15.77 kB / 456.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.4304, allocations: 219.5 kB / 456.6 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.4304, allocations: 11.98 kB / 456.6 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.4304, allocations: 8 kB / 456.6 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.4307, allocations: 81.66 kB / 456.7 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.694e-06/0.4307, allocations: 4 kB / 456.7 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.4308, allocations: 0 / 456.7 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.608e-06/0.4308, allocations: 3.953 kB / 456.7 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.431, allocations: 51.97 kB / 456.8 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.4317, allocations: 376.6 kB / 457.2 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.4321, allocations: 90.61 kB / 457.2 MB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.4321, allocations: 160 / 457.2 MB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.4324, allocations: 95.3 kB / 457.3 MB, free: 4.379 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.486e-06/0.4324, allocations: 0 / 457.3 MB, free: 4.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000536/0.433, allocations: 153.5 kB / 457.5 MB, free: 4.223 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.433, allocations: 51.41 kB / 457.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.4332, allocations: 162.4 kB / 457.7 MB, free: 3.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.4333, allocations: 33.69 kB / 457.7 MB, free: 3.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4334, allocations: 170.4 kB / 457.9 MB, free: 3.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.4335, allocations: 23.7 kB / 457.9 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.4335, allocations: 4 kB / 457.9 MB, free: 3.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4337, allocations: 314.8 kB / 458.2 MB, free: 3.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.4338, allocations: 43.97 kB / 458.3 MB, free: 3.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.434, allocations: 74.67 kB / 458.3 MB, free: 3.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.4343, allocations: 89.62 kB / 458.4 MB, free: 3.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.368e-06/0.4343, allocations: 0 / 458.4 MB, free: 3.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000498/0.4348, allocations: 199.6 kB / 458.6 MB, free: 3.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.4348, allocations: 33.7 kB / 458.7 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.656e-06/0.4349, allocations: 3.984 kB / 458.7 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4349, allocations: 4.094 kB / 458.7 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.435, allocations: 27.88 kB / 458.7 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4351, allocations: 4 kB / 458.7 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.4352, allocations: 19.83 kB / 458.7 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.4352, allocations: 4 kB / 458.7 MB, free: 2.914 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * 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.0001506/0.4354, allocations: 133.3 kB / 458.9 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.4354, allocations: 19.84 kB / 458.9 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.4359, allocations: 139 kB / 459 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.885e-06/0.4359, allocations: 0 / 459 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.363e-06/0.4359, allocations: 0 / 459 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.228e-06/0.4359, allocations: 7.984 kB / 459 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.4362, allocations: 213.4 kB / 459.2 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4362, allocations: 8 kB / 459.2 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.4363, allocations: 12 kB / 459.2 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.581e-06/0.4364, allocations: 0 / 459.2 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.4364, allocations: 11.94 kB / 459.3 MB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.508e-06/0.4364, allocations: 0 / 459.3 MB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-06/0.4364, allocations: 0 / 459.3 MB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005445/0.437, allocations: 196.9 kB / 459.4 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.4371, allocations: 100.9 kB / 459.5 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.4371, allocations: 0 / 459.5 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.4373, allocations: 15.95 kB / 459.6 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.4373, allocations: 7.984 kB / 459.6 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.4373, allocations: 0 / 459.6 MB, free: 1.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001521/0.4375, allocations: 132.9 kB / 459.7 MB, free: 1.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.7e-07/0.4375, allocations: 4.062 kB / 459.7 MB, free: 1.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003631/0.4379, allocations: 39.94 kB / 459.7 MB, free: 1.797 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001366/0.4393, allocations: 409.7 kB / 460.1 MB, free: 1.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004984/0.4398, allocations: 187.2 kB / 460.3 MB, free: 1.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.531e-06/0.4398, allocations: 4 kB / 460.3 MB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.44, allocations: 43.92 kB / 460.4 MB, free: 1.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.4403, allocations: 28.09 kB / 460.4 MB, free: 1.203 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006933/0.441, allocations: 308 kB / 460.7 MB, free: 0.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.4414, allocations: 0.716 MB / 461.4 MB, free: 136 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.4415, allocations: 15.44 kB / 461.4 MB, free: 120 kB / 378.7 MB Notification: Performance of SimCode: time 1.597e-06/0.4415, allocations: 0 / 461.4 MB, free: 120 kB / 378.7 MB Notification: Performance of Templates: time 0.004925/0.4464, allocations: 2.072 MB / 463.5 MB, free: 14.05 MB / 394.7 MB