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.Test6.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.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.252/2.252, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004432, allocations: 16 kB / 314.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2875, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4162, allocations: 82.15 MB / 451.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4165, allocations: 75.95 kB / 451.5 MB, free: 8.367 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.02098/0.4375, allocations: 4.939 MB / 456.4 MB, free: 3.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4376, allocations: 0 / 456.4 MB, free: 3.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.4376, allocations: 0 / 456.4 MB, free: 3.414 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.0006855/0.4383, allocations: 0.494 MB / 456.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4384, allocations: 12.03 kB / 456.9 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.128e-05/0.4384, allocations: 11.81 kB / 457 MB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.4388, allocations: 222.8 kB / 457.2 MB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4388, allocations: 0 / 457.2 MB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.4389, allocations: 12 kB / 457.2 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.4391, allocations: 53.67 kB / 457.2 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4391, allocations: 0 / 457.2 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.4391, allocations: 3.953 kB / 457.2 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-06/0.4391, allocations: 0 / 457.2 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.4392, allocations: 23.97 kB / 457.3 MB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.4398, allocations: 340.7 kB / 457.6 MB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.44, allocations: 62.61 kB / 457.7 MB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4401, allocations: 0 / 457.7 MB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.4403, allocations: 72.19 kB / 457.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.34e-06/0.4403, allocations: 7.938 kB / 457.7 MB, free: 1.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007572/0.4411, allocations: 185.1 kB / 457.9 MB, free: 1.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.4411, allocations: 55.41 kB / 458 MB, free: 1.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.4415, allocations: 250.8 kB / 458.2 MB, free: 1.426 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.4416, allocations: 25.7 kB / 458.2 MB, free: 1.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.4417, allocations: 174.5 kB / 458.4 MB, free: 1.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.4417, allocations: 23.66 kB / 458.4 MB, free: 1.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.4418, allocations: 7.938 kB / 458.4 MB, free: 1.191 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.442, allocations: 322.8 kB / 458.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.4422, allocations: 35.98 kB / 458.8 MB, free: 0.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.4425, allocations: 53.69 kB / 458.8 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.4428, allocations: 69.7 kB / 458.9 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.861e-06/0.4428, allocations: 0 / 458.9 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006547/0.4435, allocations: 175.6 kB / 459.1 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.4435, allocations: 41.66 kB / 459.1 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.042e-06/0.4435, allocations: 8.016 kB / 459.1 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4436, allocations: 4 kB / 459.1 MB, free: 468 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.4437, allocations: 16 kB / 459.2 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.515e-06/0.4437, allocations: 0 / 459.2 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.4438, allocations: 4 kB / 459.2 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.4439, allocations: 11.98 kB / 459.2 MB, free: 436 kB / 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.0001737/0.4441, allocations: 141.7 kB / 459.3 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.4441, allocations: 11.91 kB / 459.3 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.4445, allocations: 138.9 kB / 459.5 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.611e-06/0.4445, allocations: 0 / 459.5 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.374e-06/0.4445, allocations: 0 / 459.5 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.005e-06/0.4446, allocations: 4 kB / 459.5 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007945/0.4454, allocations: 443.3 kB / 459.9 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.16e-06/0.4454, allocations: 0 / 459.9 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.4455, allocations: 8 kB / 459.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.39e-06/0.4455, allocations: 4 kB / 459.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.4455, allocations: 8.031 kB / 459.9 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.001e-06/0.4455, allocations: 3.984 kB / 459.9 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.06e-06/0.4455, allocations: 3.938 kB / 459.9 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.4459, allocations: 229.8 kB / 460.1 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.4461, allocations: 104.9 kB / 460.2 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.4461, allocations: 12.28 kB / 460.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.4462, allocations: 7.984 kB / 460.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.4463, allocations: 0 / 460.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.4463, allocations: 7.938 kB / 460.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002834/0.4466, allocations: 200.2 kB / 460.5 MB, free: 15 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.09e-07/0.4466, allocations: 0 / 460.5 MB, free: 15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004222/0.4471, allocations: 47.92 kB / 460.5 MB, free: 14.95 MB / 394.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.001543/0.4486, allocations: 456.4 kB / 461 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000449/0.4491, allocations: 171.4 kB / 461.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.262e-06/0.4491, allocations: 3.938 kB / 461.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.4492, allocations: 35.97 kB / 461.2 MB, free: 14.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.4496, allocations: 27.66 kB / 461.2 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007798/0.4504, allocations: 360.8 kB / 461.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.4508, allocations: 0.7238 MB / 462.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.4509, allocations: 23.42 kB / 462.3 MB, free: 13.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.551e-06/0.4509, allocations: 0 / 462.3 MB, free: 13.18 MB / 394.7 MB Notification: Performance of Templates: time 0.005332/0.4563, allocations: 2.179 MB / 464.5 MB, free: 11 MB / 394.7 MB