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.Test29.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.Test29,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.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.654/2.654, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004536, allocations: 12 kB / 314.9 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3658, allocations: 54.87 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.5191, allocations: 82.14 MB / 452 MB, free: 8.473 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.5194, allocations: 75.95 kB / 452 MB, free: 8.398 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.02098/0.5404, allocations: 4.586 MB / 456.6 MB, free: 3.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5404, allocations: 0 / 456.6 MB, free: 3.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.5405, allocations: 4 kB / 456.6 MB, free: 3.801 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.0006545/0.5411, allocations: 470.2 kB / 457.1 MB, free: 3.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.5412, allocations: 8.031 kB / 457.1 MB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.5413, allocations: 15.8 kB / 457.1 MB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.5416, allocations: 203.5 kB / 457.3 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.5417, allocations: 4 kB / 457.3 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.5417, allocations: 7.984 kB / 457.3 MB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.5419, allocations: 61.61 kB / 457.4 MB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.5419, allocations: 3.984 kB / 457.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.542, allocations: 3.953 kB / 457.4 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.542, allocations: 0 / 457.4 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.5421, allocations: 23.92 kB / 457.4 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.5426, allocations: 312.9 kB / 457.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.5429, allocations: 62.61 kB / 457.8 MB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.5429, allocations: 0 / 457.8 MB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.5432, allocations: 76.05 kB / 457.8 MB, free: 2.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.5432, allocations: 0 / 457.8 MB, free: 2.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008395/0.544, allocations: 189.1 kB / 458 MB, free: 2.207 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.5441, allocations: 55.34 kB / 458.1 MB, free: 2.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.5444, allocations: 182.2 kB / 458.3 MB, free: 1.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.5444, allocations: 25.7 kB / 458.3 MB, free: 1.922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.5445, allocations: 166.5 kB / 458.4 MB, free: 1.758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.5446, allocations: 27.64 kB / 458.5 MB, free: 1.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.5446, allocations: 4 kB / 458.5 MB, free: 1.727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5447, allocations: 314.8 kB / 458.8 MB, free: 1.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.5449, allocations: 39.98 kB / 458.8 MB, free: 1.371 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.5451, allocations: 53.69 kB / 458.9 MB, free: 1.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.5453, allocations: 77.62 kB / 459 MB, free: 1.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5453, allocations: 4 kB / 459 MB, free: 1.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004528/0.5458, allocations: 175.3 kB / 459.1 MB, free: 1.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.5458, allocations: 37.69 kB / 459.2 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.5458, allocations: 4.375 kB / 459.2 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5459, allocations: 4.031 kB / 459.2 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.546, allocations: 19.92 kB / 459.2 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.546, allocations: 0 / 459.2 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.5461, allocations: 12 kB / 459.2 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.5462, allocations: 4 kB / 459.2 MB, free: 0.957 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.0001461/0.5463, allocations: 129.8 kB / 459.3 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.5464, allocations: 15.77 kB / 459.3 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.5468, allocations: 122.4 kB / 459.5 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5468, allocations: 0 / 459.5 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5468, allocations: 0 / 459.5 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5468, allocations: 4 kB / 459.5 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.5475, allocations: 415.2 kB / 459.9 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5475, allocations: 3.938 kB / 459.9 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.961e-05/0.5476, allocations: 8 kB / 459.9 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.5476, allocations: 4 kB / 459.9 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.5477, allocations: 7.969 kB / 459.9 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.5477, allocations: 3.984 kB / 459.9 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5477, allocations: 0 / 459.9 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.5481, allocations: 216.4 kB / 460.1 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.711e-05/0.5482, allocations: 100.9 kB / 460.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.5483, allocations: 4 kB / 460.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.5484, allocations: 4 kB / 460.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.5485, allocations: 19.97 kB / 460.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.5485, allocations: 0 / 460.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.5487, allocations: 139.2 kB / 460.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5487, allocations: 0 / 460.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003957/0.5491, allocations: 39.94 kB / 460.4 MB, free: 15.62 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.001339/0.5504, allocations: 452.9 kB / 460.9 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005212/0.551, allocations: 171.3 kB / 461 MB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.551, allocations: 0 / 461 MB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.5512, allocations: 31.92 kB / 461.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.5515, allocations: 19.98 kB / 461.1 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/0.5523, allocations: 287.7 kB / 461.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.5526, allocations: 0.7082 MB / 462.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.5527, allocations: 15.44 kB / 462.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.293e-06/0.5527, allocations: 0 / 462.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of Templates: time 0.00573/0.5585, allocations: 1.943 MB / 464 MB, free: 12.02 MB / 394.7 MB