Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadModel(ModelicaTest): time 2.392/2.392, allocations: 234.9 MB / 251.1 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004275, allocations: 16 kB / 314.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.37, allocations: 54.85 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.515, allocations: 81.97 MB / 451.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5154, allocations: 83.89 kB / 451.9 MB, free: 8.566 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.0203/0.5357, allocations: 4.725 MB / 456.6 MB, free: 3.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5357, allocations: 0 / 456.6 MB, free: 3.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.5358, allocations: 4 kB / 456.6 MB, free: 3.824 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006418/0.5364, allocations: 0.4929 MB / 457.1 MB, free: 3.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.5365, allocations: 8.031 kB / 457.1 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.5365, allocations: 19.89 kB / 457.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.5369, allocations: 210.8 kB / 457.3 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.537, allocations: 4 kB / 457.3 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.537, allocations: 8 kB / 457.3 MB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.5372, allocations: 45.67 kB / 457.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.5372, allocations: 4 kB / 457.4 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.5372, allocations: 3.953 kB / 457.4 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.5372, allocations: 4 kB / 457.4 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.5374, allocations: 19.92 kB / 457.4 MB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.5376, allocations: 205.7 kB / 457.6 MB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.5379, allocations: 50.61 kB / 457.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.5379, allocations: 0 / 457.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.5381, allocations: 71.39 kB / 457.7 MB, free: 2.516 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/0.5382, allocations: 0 / 457.7 MB, free: 2.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004348/0.5386, allocations: 113.4 kB / 457.8 MB, free: 2.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.5387, allocations: 55.36 kB / 457.9 MB, free: 2.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.5391, allocations: 247.2 kB / 458.1 MB, free: 2.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.5391, allocations: 29.7 kB / 458.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.5392, allocations: 178.5 kB / 458.3 MB, free: 1.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.5393, allocations: 19.69 kB / 458.3 MB, free: 1.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.5393, allocations: 4 kB / 458.3 MB, free: 1.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5394, allocations: 314.8 kB / 458.7 MB, free: 1.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.5395, allocations: 35.92 kB / 458.7 MB, free: 1.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.5397, allocations: 45.69 kB / 458.7 MB, free: 1.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.5399, allocations: 69.62 kB / 458.8 MB, free: 1.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5399, allocations: 4 kB / 458.8 MB, free: 1.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003958/0.5403, allocations: 151.2 kB / 459 MB, free: 1.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.5404, allocations: 41.69 kB / 459 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5404, allocations: 0 / 459 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5404, allocations: 0 / 459 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.5405, allocations: 12 kB / 459 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.5406, allocations: 3.953 kB / 459 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.5407, allocations: 7.984 kB / 459 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.5407, allocations: 4 kB / 459 MB, free: 1.125 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 (8): * Single equations (assignments): 7 * 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.0001499/0.5409, allocations: 137.9 kB / 459.2 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.5409, allocations: 15.81 kB / 459.2 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.5412, allocations: 98.61 kB / 459.3 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5413, allocations: 4 kB / 459.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5413, allocations: 3.984 kB / 459.3 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5413, allocations: 3.953 kB / 459.3 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.5415, allocations: 201.5 kB / 459.5 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.5415, allocations: 4.375 kB / 459.5 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.5416, allocations: 4 kB / 459.5 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5416, allocations: 4 kB / 459.5 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.5416, allocations: 7.984 kB / 459.5 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5416, allocations: 0 / 459.5 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5416, allocations: 3.938 kB / 459.5 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.542, allocations: 124.8 kB / 459.6 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.5421, allocations: 104.9 kB / 459.7 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.5421, allocations: 0 / 459.7 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.5422, allocations: 11.98 kB / 459.7 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.5423, allocations: 4 kB / 459.7 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.5423, allocations: 4 kB / 459.7 MB, free: 308 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000292/0.5426, allocations: 192.2 kB / 459.9 MB, free: 116 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.164e-06/0.5426, allocations: 0 / 459.9 MB, free: 116 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003317/0.5429, allocations: 35.94 kB / 460 MB, free: 80 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001185/0.5441, allocations: 398.2 kB / 460.4 MB, free: 15.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004123/0.5446, allocations: 151.3 kB / 460.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5446, allocations: 0 / 460.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.5447, allocations: 20.12 kB / 460.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.545, allocations: 28.22 kB / 460.6 MB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000738/0.5458, allocations: 335.5 kB / 460.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.5461, allocations: 0.7121 MB / 461.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.5462, allocations: 19.44 kB / 461.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5462, allocations: 3.938 kB / 461.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of Templates: time 0.005738/0.5519, allocations: 1.906 MB / 463.5 MB, free: 12.52 MB / 394.7 MB