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.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadModel(ModelicaTest): time 2.947/2.947, allocations: 234.9 MB / 251.1 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006645/0.0006647, allocations: 19.98 kB / 315 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3961, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.5518, allocations: 82.9 MB / 452.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.5522, allocations: 79.91 kB / 452.8 MB, free: 7.633 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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$t_new.getDerTableValue. [/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.01614/0.5684, allocations: 3.615 MB / 456.4 MB, free: 4.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5684, allocations: 0 / 456.4 MB, free: 4.004 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.5685, allocations: 4 kB / 456.4 MB, free: 4 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008072/0.5693, allocations: 0.5154 MB / 456.9 MB, free: 3.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5693, allocations: 8.031 kB / 456.9 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.5694, allocations: 19.77 kB / 456.9 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.5698, allocations: 219.5 kB / 457.2 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.5699, allocations: 4 kB / 457.2 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.5699, allocations: 8 kB / 457.2 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.5703, allocations: 81.66 kB / 457.3 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5703, allocations: 3.938 kB / 457.3 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.5703, allocations: 8 kB / 457.3 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.5703, allocations: 3.953 kB / 457.3 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.5706, allocations: 51.95 kB / 457.3 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007181/0.5713, allocations: 368.6 kB / 457.7 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.5718, allocations: 102.5 kB / 457.8 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.5719, allocations: 0 / 457.8 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002851/0.5722, allocations: 91.31 kB / 457.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.943e-06/0.5722, allocations: 0 / 457.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006458/0.5728, allocations: 153.5 kB / 458 MB, free: 2.191 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.5729, allocations: 55.41 kB / 458.1 MB, free: 2.125 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.5731, allocations: 175.2 kB / 458.2 MB, free: 1.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.5732, allocations: 29.7 kB / 458.3 MB, free: 1.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.5733, allocations: 178.4 kB / 458.4 MB, free: 1.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.5734, allocations: 27.7 kB / 458.5 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/0.5734, allocations: 0 / 458.5 MB, free: 1.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5735, allocations: 318.8 kB / 458.8 MB, free: 1.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.5737, allocations: 43.97 kB / 458.8 MB, free: 1.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.574, allocations: 70.55 kB / 458.9 MB, free: 1.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.5742, allocations: 85.81 kB / 459 MB, free: 1.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5743, allocations: 0 / 459 MB, free: 1.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005714/0.5748, allocations: 203.1 kB / 459.2 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.5749, allocations: 39.72 kB / 459.2 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5749, allocations: 4 kB / 459.2 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.575, allocations: 3.938 kB / 459.2 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.5751, allocations: 19.94 kB / 459.2 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.5752, allocations: 7.984 kB / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.5753, allocations: 19.84 kB / 459.3 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.5753, allocations: 8.062 kB / 459.3 MB, free: 0.8555 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001414/0.5755, allocations: 125.8 kB / 459.4 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.5755, allocations: 19.84 kB / 459.4 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.576, allocations: 131 kB / 459.5 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.576, allocations: 4 kB / 459.6 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5761, allocations: 0.5625 kB / 459.6 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5761, allocations: 0 / 459.6 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.5763, allocations: 217.5 kB / 459.8 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5763, allocations: 0 / 459.8 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.5765, allocations: 15.94 kB / 459.8 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.5765, allocations: 3.984 kB / 459.8 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.5766, allocations: 7.891 kB / 459.8 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5766, allocations: 0 / 459.8 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5766, allocations: 4 kB / 459.8 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.5772, allocations: 200.9 kB / 460 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.5774, allocations: 100.9 kB / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.5774, allocations: 0 / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.5775, allocations: 11.95 kB / 460.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.5776, allocations: 7.984 kB / 460.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.5776, allocations: 8 kB / 460.1 MB, free: 15.92 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.5778, allocations: 128.9 kB / 460.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5778, allocations: 0 / 460.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.5782, allocations: 40.06 kB / 460.3 MB, free: 15.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001188/0.5794, allocations: 414.1 kB / 460.7 MB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005277/0.5799, allocations: 183.3 kB / 460.9 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5799, allocations: 3.938 kB / 460.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.5801, allocations: 40.11 kB / 460.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.5805, allocations: 35.91 kB / 460.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.5812, allocations: 315.9 kB / 461.3 MB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5815, allocations: 0.7121 MB / 462 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.5816, allocations: 15.81 kB / 462 MB, free: 14.06 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5816, allocations: 0 / 462 MB, free: 14.06 MB / 394.7 MB Notification: Performance of Templates: time 0.005906/0.5875, allocations: 2.076 MB / 464.1 MB, free: 11.98 MB / 394.7 MB