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.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadModel(ModelicaTest): time 2.11/2.11, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.219e-05, allocations: 8 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3155, allocations: 54.86 MB / 364.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.4401, allocations: 82.81 MB / 447.4 MB, free: 13.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.4404, allocations: 73.09 kB / 447.4 MB, free: 13.6 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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.01519/0.4556, allocations: 3.572 MB / 451 MB, free: 10.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.037e-06/0.4556, allocations: 0 / 451 MB, free: 10.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.4556, allocations: 4 kB / 451 MB, free: 10.05 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.0007473/0.4564, allocations: 0.4992 MB / 451.5 MB, free: 9.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.4565, allocations: 12.03 kB / 451.5 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.707e-05/0.4566, allocations: 19.81 kB / 451.5 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/0.4571, allocations: 211.5 kB / 451.7 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.4572, allocations: 0 / 451.7 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.4573, allocations: 12 kB / 451.8 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.4576, allocations: 74.69 kB / 451.8 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.4576, allocations: 3.938 kB / 451.8 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.4577, allocations: 7.953 kB / 451.8 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.8e-06/0.4577, allocations: 4 kB / 451.8 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.4579, allocations: 28 kB / 451.9 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.459, allocations: 372.7 kB / 452.2 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.4595, allocations: 86.58 kB / 452.3 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.4596, allocations: 36.86 kB / 452.4 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.4597, allocations: 3.984 kB / 452.4 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.46, allocations: 76.42 kB / 452.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 7.477e-06/0.46, allocations: 0 / 452.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005035/0.4605, allocations: 110.8 kB / 452.5 MB, free: 8.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.4606, allocations: 51.41 kB / 452.6 MB, free: 8.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.461, allocations: 158.5 kB / 452.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.461, allocations: 33.7 kB / 452.8 MB, free: 8.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.4612, allocations: 174.4 kB / 453 MB, free: 7.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.4613, allocations: 31.58 kB / 453 MB, free: 7.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.4613, allocations: 0 / 453 MB, free: 7.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.4615, allocations: 322.8 kB / 453.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.4617, allocations: 32 kB / 453.3 MB, free: 7.504 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.462, allocations: 63.97 kB / 453.4 MB, free: 7.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.4623, allocations: 77.81 kB / 453.5 MB, free: 7.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4623, allocations: 0 / 453.5 MB, free: 7.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006594/0.463, allocations: 183.2 kB / 453.6 MB, free: 7.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.721e-05/0.4631, allocations: 33.7 kB / 453.7 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4631, allocations: 4.188 kB / 453.7 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.4631, allocations: 0 / 453.7 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.4634, allocations: 31.8 kB / 453.7 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.4634, allocations: 8.062 kB / 453.7 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.4636, allocations: 15.89 kB / 453.7 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.4637, allocations: 4 kB / 453.7 MB, free: 7.059 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 () * 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.0001547/0.4639, allocations: 118.7 kB / 453.9 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.4639, allocations: 19.77 kB / 453.9 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.4645, allocations: 123.1 kB / 454 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.839e-06/0.4645, allocations: 0 / 454 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.208e-06/0.4645, allocations: 0 / 454 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.202e-06/0.4645, allocations: 4 kB / 454 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.4649, allocations: 210.6 kB / 454.2 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.945e-06/0.465, allocations: 0 / 454.2 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.4652, allocations: 19.92 kB / 454.2 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.4652, allocations: 7.953 kB / 454.2 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.4653, allocations: 0 / 454.2 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.909e-06/0.4653, allocations: 4 kB / 454.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.988e-06/0.4653, allocations: 0 / 454.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000639/0.4659, allocations: 180.8 kB / 454.4 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.4661, allocations: 97.03 kB / 454.5 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.4662, allocations: 3.953 kB / 454.5 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.4664, allocations: 11.98 kB / 454.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.4665, allocations: 4 kB / 454.5 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.4665, allocations: 7.984 kB / 454.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002315/0.4668, allocations: 124.9 kB / 454.7 MB, free: 6.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-06/0.4668, allocations: 0 / 454.7 MB, free: 6.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006681/0.4675, allocations: 39.94 kB / 454.7 MB, free: 6.004 MB / 378.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) * 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.001962/0.4695, allocations: 373.1 kB / 455.1 MB, free: 5.711 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005701/0.4701, allocations: 179.2 kB / 455.2 MB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.154e-06/0.4701, allocations: 0 / 455.2 MB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.4703, allocations: 32 kB / 455.3 MB, free: 5.492 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.4707, allocations: 19.98 kB / 455.3 MB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007981/0.4716, allocations: 213.2 kB / 455.5 MB, free: 5.242 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.4721, allocations: 0.7239 MB / 456.2 MB, free: 4.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.258e-05/0.4722, allocations: 19.42 kB / 456.2 MB, free: 4.473 MB / 378.7 MB Notification: Performance of SimCode: time 2.108e-06/0.4722, allocations: 0 / 456.2 MB, free: 4.473 MB / 378.7 MB Notification: Performance of Templates: time 0.007751/0.48, allocations: 2.066 MB / 458.3 MB, free: 2.406 MB / 378.7 MB