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.Test69.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.Test69,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.Test69") Notification: Performance of loadModel(ModelicaTest): time 2.274/2.274, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.381e-05/3.398e-05, allocations: 8 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3184, allocations: 54.85 MB / 364.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.4397, allocations: 81.93 MB / 446.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.44, allocations: 67.97 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.02387/0.4639, allocations: 5.942 MB / 452.5 MB, free: 8.445 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.732e-06/0.4639, allocations: 0.6562 kB / 452.5 MB, free: 8.445 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.068e-05/0.464, allocations: 4 kB / 452.5 MB, free: 8.441 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.0009882/0.465, allocations: 0.7225 MB / 453.2 MB, free: 7.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.465, allocations: 8.031 kB / 453.2 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.4652, allocations: 47.44 kB / 453.3 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009551/0.4661, allocations: 463.1 kB / 453.7 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.4662, allocations: 8 kB / 453.7 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.4662, allocations: 9.219 kB / 453.7 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.4664, allocations: 91.27 kB / 453.8 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4665, allocations: 4 kB / 453.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.4665, allocations: 0 / 453.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.4665, allocations: 0 / 453.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.4666, allocations: 35.97 kB / 453.9 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.4672, allocations: 402.2 kB / 454.3 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.4675, allocations: 105.4 kB / 454.4 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.854e-05/0.4676, allocations: 37.72 kB / 454.4 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.4676, allocations: 0 / 454.4 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.4679, allocations: 118.8 kB / 454.5 MB, free: 6.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.561e-06/0.4679, allocations: 4 kB / 454.5 MB, free: 6.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004891/0.4684, allocations: 184.9 kB / 454.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.4685, allocations: 77.11 kB / 454.8 MB, free: 5.914 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.4702, allocations: 0.8991 MB / 455.7 MB, free: 5.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.4703, allocations: 33.69 kB / 455.7 MB, free: 4.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.4705, allocations: 250.8 kB / 455.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.4706, allocations: 31.66 kB / 456 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.4706, allocations: 0 / 456 MB, free: 4.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4708, allocations: 326.8 kB / 456.3 MB, free: 4.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.471, allocations: 55.98 kB / 456.3 MB, free: 4.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.4712, allocations: 87.42 kB / 456.4 MB, free: 4.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.4714, allocations: 131.2 kB / 456.6 MB, free: 4.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.4714, allocations: 0 / 456.6 MB, free: 4.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005847/0.472, allocations: 272.8 kB / 456.8 MB, free: 3.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.4721, allocations: 67.39 kB / 456.9 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4721, allocations: 0 / 456.9 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.4722, allocations: 7.953 kB / 456.9 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.4723, allocations: 19.98 kB / 456.9 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.4724, allocations: 4 kB / 456.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.4726, allocations: 27.83 kB / 457 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.4727, allocations: 8 kB / 457 MB, free: 3.641 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.0001386/0.4728, allocations: 128.9 kB / 457.1 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.4729, allocations: 51.34 kB / 457.1 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.4734, allocations: 193.3 kB / 457.3 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.924e-06/0.4735, allocations: 4 kB / 457.3 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.4735, allocations: 3.953 kB / 457.3 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.835e-06/0.4735, allocations: 3.938 kB / 457.3 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.474, allocations: 381.3 kB / 457.7 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-06/0.474, allocations: 0 / 457.7 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.4741, allocations: 12 kB / 457.7 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.4741, allocations: 0 / 457.7 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.4742, allocations: 11.98 kB / 457.7 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.008e-06/0.4742, allocations: 0 / 457.7 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.511e-06/0.4742, allocations: 384 / 457.7 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.4746, allocations: 226.9 kB / 458 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.475, allocations: 192.5 kB / 458.1 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.4751, allocations: 7.984 kB / 458.1 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.4752, allocations: 8 kB / 458.2 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.4753, allocations: 23.88 kB / 458.2 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.4754, allocations: 4 kB / 458.2 MB, free: 2.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001184/0.4765, allocations: 0.7045 MB / 458.9 MB, free: 1.598 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.4766, allocations: 4 kB / 458.9 MB, free: 1.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005213/0.4771, allocations: 107.9 kB / 459 MB, free: 1.488 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.001923/0.479, allocations: 0.5255 MB / 459.5 MB, free: 1.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005584/0.4796, allocations: 294.7 kB / 459.8 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.455e-06/0.4796, allocations: 0 / 459.8 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.4798, allocations: 44.06 kB / 459.9 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.4803, allocations: 61.11 kB / 459.9 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.482, allocations: 0.7881 MB / 460.7 MB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.4826, allocations: 0.8468 MB / 461.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.4828, allocations: 39.44 kB / 461.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of SimCode: time 1.738e-06/0.4828, allocations: 0 / 461.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of Templates: time 0.01215/0.495, allocations: 5.77 MB / 467.4 MB, free: 9.109 MB / 394.7 MB