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.Test72.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,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.Test72") Notification: Performance of loadModel(ModelicaTest): time 2.085/2.085, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.42e-05, allocations: 8 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2668, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.388, allocations: 81.25 MB / 439.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.3883, allocations: 71.97 kB / 439.4 MB, free: 13.5 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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/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/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/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/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.02235/0.4106, allocations: 5.914 MB / 445.3 MB, free: 7.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.359e-06/0.4107, allocations: 0 / 445.3 MB, free: 7.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.153e-05/0.4107, allocations: 8 kB / 445.3 MB, free: 7.566 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.0009838/0.4117, allocations: 0.7308 MB / 446 MB, free: 6.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4118, allocations: 8.031 kB / 446 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.4119, allocations: 47.44 kB / 446.1 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009581/0.4129, allocations: 475 kB / 446.5 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.4129, allocations: 4 kB / 446.6 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.4129, allocations: 4 kB / 446.6 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000112/0.4131, allocations: 31.98 kB / 446.6 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.4132, allocations: 91.27 kB / 446.7 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.413e-06/0.4133, allocations: 0 / 446.7 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.4133, allocations: 0 / 446.7 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-06/0.4133, allocations: 3.984 kB / 446.7 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.4139, allocations: 378.9 kB / 447 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.4141, allocations: 101.3 kB / 447.1 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.4142, allocations: 33.72 kB / 447.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.4142, allocations: 0 / 447.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.4145, allocations: 109.8 kB / 447.3 MB, free: 5.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.372e-06/0.4145, allocations: 0 / 447.3 MB, free: 5.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004418/0.4149, allocations: 172.9 kB / 447.5 MB, free: 5.191 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.415, allocations: 89.05 kB / 447.5 MB, free: 5.086 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.4167, allocations: 0.8965 MB / 448.4 MB, free: 4.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.4167, allocations: 29.7 kB / 448.5 MB, free: 4.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.417, allocations: 254.8 kB / 448.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.417, allocations: 23.7 kB / 448.7 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.417, allocations: 0 / 448.7 MB, free: 3.871 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.4172, allocations: 322.8 kB / 449.1 MB, free: 3.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.4174, allocations: 55.94 kB / 449.1 MB, free: 3.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.4175, allocations: 83.97 kB / 449.2 MB, free: 3.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.4177, allocations: 63.91 kB / 449.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4178, allocations: 0 / 449.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004956/0.4183, allocations: 193.4 kB / 449.4 MB, free: 3.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.664e-05/0.4184, allocations: 67.39 kB / 449.5 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.229e-06/0.4184, allocations: 4.062 kB / 449.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4184, allocations: 4 kB / 449.5 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.4186, allocations: 19.98 kB / 449.5 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.53e-06/0.4186, allocations: 4 kB / 449.5 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.4188, allocations: 23.8 kB / 449.6 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.4189, allocations: 12 kB / 449.6 MB, free: 2.996 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.0001185/0.419, allocations: 112.9 kB / 449.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.4191, allocations: 59.33 kB / 449.7 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.4196, allocations: 185.9 kB / 449.9 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.4196, allocations: 4 kB / 449.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.4196, allocations: 0 / 449.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.955e-06/0.4196, allocations: 0 / 449.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.4201, allocations: 365.8 kB / 450.3 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.4201, allocations: 0 / 450.3 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.4202, allocations: 15.98 kB / 450.3 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.974e-06/0.4202, allocations: 0 / 450.3 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.4202, allocations: 0 / 450.3 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.29e-06/0.4202, allocations: 8.312 kB / 450.3 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.659e-06/0.4203, allocations: 4 kB / 450.3 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.4207, allocations: 218.9 kB / 450.5 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.421, allocations: 204.3 kB / 450.7 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/0.4211, allocations: 4 kB / 450.7 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.4213, allocations: 12 kB / 450.7 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.4214, allocations: 11.98 kB / 450.8 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.4214, allocations: 7.984 kB / 450.8 MB, free: 1.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001138/0.4225, allocations: 0.698 MB / 451.5 MB, free: 1.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.4226, allocations: 0 / 451.5 MB, free: 1.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004921/0.4231, allocations: 115.9 kB / 451.6 MB, free: 0.8984 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.001614/0.4247, allocations: 479.8 kB / 452 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004657/0.4252, allocations: 278.7 kB / 452.3 MB, free: 212 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4252, allocations: 4.062 kB / 452.3 MB, free: 208 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.4253, allocations: 44 kB / 452.4 MB, free: 164 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.4257, allocations: 55.25 kB / 452.4 MB, free: 112 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.4274, allocations: 0.8114 MB / 453.2 MB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.4281, allocations: 0.8508 MB / 454.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.4282, allocations: 43.42 kB / 454.1 MB, free: 14.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.539e-06/0.4283, allocations: 0 / 454.1 MB, free: 14.34 MB / 394.7 MB Notification: Performance of Templates: time 0.01238/0.4406, allocations: 5.866 MB / 460 MB, free: 8.469 MB / 394.7 MB