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.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadModel(ModelicaTest): time 2.162/2.162, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004503, allocations: 16 kB / 314.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2882, allocations: 54.85 MB / 369.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.4127, allocations: 82.15 MB / 451.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.413, allocations: 75.95 kB / 451.5 MB, free: 10.39 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. Notification: Performance of FrontEnd - DAE generated: time 0.02015/0.4332, allocations: 4.766 MB / 456.3 MB, free: 5.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.562e-06/0.4332, allocations: 0 / 456.3 MB, free: 5.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.4332, allocations: 0 / 456.3 MB, free: 5.613 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006762/0.4339, allocations: 494 kB / 456.7 MB, free: 5.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.434, allocations: 12.03 kB / 456.8 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.434, allocations: 15.81 kB / 456.8 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.4344, allocations: 210.9 kB / 457 MB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.4344, allocations: 4 kB / 457 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.4345, allocations: 4 kB / 457 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.4347, allocations: 53.67 kB / 457 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4347, allocations: 0 / 457 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.4347, allocations: 7.953 kB / 457 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.4347, allocations: 4 kB / 457 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.4349, allocations: 27.92 kB / 457.1 MB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.4354, allocations: 312.9 kB / 457.4 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.4356, allocations: 58.67 kB / 457.4 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.4357, allocations: 0 / 457.4 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.4359, allocations: 84.12 kB / 457.5 MB, free: 4.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.7e-06/0.4359, allocations: 3.938 kB / 457.5 MB, free: 4.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007822/0.4367, allocations: 189 kB / 457.7 MB, free: 3.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.4368, allocations: 51.41 kB / 457.8 MB, free: 3.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.4371, allocations: 202.5 kB / 458 MB, free: 3.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.4371, allocations: 29.7 kB / 458 MB, free: 3.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.4372, allocations: 162.6 kB / 458.1 MB, free: 3.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.4373, allocations: 35.62 kB / 458.2 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-06/0.4373, allocations: 0 / 458.2 MB, free: 3.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4375, allocations: 318.8 kB / 458.5 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.4377, allocations: 39.97 kB / 458.5 MB, free: 3.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.4378, allocations: 51.67 kB / 458.6 MB, free: 3.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.438, allocations: 73.69 kB / 458.7 MB, free: 2.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-06/0.438, allocations: 0 / 458.7 MB, free: 2.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004342/0.4385, allocations: 175.2 kB / 458.8 MB, free: 2.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.24e-05/0.4385, allocations: 45.64 kB / 458.9 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.608e-06/0.4386, allocations: 0 / 458.9 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4386, allocations: 4 kB / 458.9 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.4387, allocations: 15.98 kB / 458.9 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.355e-06/0.4387, allocations: 4.031 kB / 458.9 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.4388, allocations: 7.938 kB / 458.9 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.4389, allocations: 8 kB / 458.9 MB, free: 2.715 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * 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.0001732/0.4391, allocations: 133.9 kB / 459 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.4391, allocations: 11.81 kB / 459 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.4395, allocations: 127 kB / 459.2 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.394e-06/0.4395, allocations: 0 / 459.2 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.428e-06/0.4396, allocations: 0 / 459.2 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.761e-06/0.4396, allocations: 4 kB / 459.2 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/0.4403, allocations: 427.2 kB / 459.6 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.4404, allocations: 4.031 kB / 459.6 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.4404, allocations: 8 kB / 459.6 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.24e-06/0.4404, allocations: 0 / 459.6 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.4405, allocations: 7.984 kB / 459.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.867e-06/0.4405, allocations: 0 / 459.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.611e-06/0.4405, allocations: 4.094 kB / 459.6 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.4409, allocations: 241.8 kB / 459.9 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.441, allocations: 97 kB / 459.9 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.4411, allocations: 4 kB / 460 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.4412, allocations: 7.984 kB / 460 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.4413, allocations: 4 kB / 460 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.4413, allocations: 8.359 kB / 460 MB, free: 1.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002217/0.4415, allocations: 163.2 kB / 460.1 MB, free: 1.367 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.4415, allocations: 0 / 460.1 MB, free: 1.367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004286/0.442, allocations: 51.92 kB / 460.2 MB, free: 1.316 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: 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 (9): * Single equations (assignments): 7 * 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.001572/0.4436, allocations: 463 kB / 460.6 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004369/0.444, allocations: 171.3 kB / 460.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.739e-06/0.4441, allocations: 0 / 460.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.4442, allocations: 28 kB / 460.8 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.4445, allocations: 24.05 kB / 460.9 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006826/0.4452, allocations: 312.2 kB / 461.2 MB, free: 380 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.4457, allocations: 0.7238 MB / 461.9 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.4457, allocations: 15.44 kB / 461.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4458, allocations: 0 / 461.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of Templates: time 0.005122/0.4509, allocations: 2.048 MB / 463.9 MB, free: 13.57 MB / 394.7 MB