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.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadModel(ModelicaTest): time 2.253/2.253, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/3e-05, allocations: 4 kB / 309.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3252, allocations: 54.85 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.452, allocations: 82.82 MB / 447.4 MB, free: 13.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.4523, allocations: 71.94 kB / 447.4 MB, free: 13.62 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.01521/0.4675, allocations: 3.596 MB / 451 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.037e-06/0.4676, allocations: 0.75 kB / 451 MB, free: 10.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.4676, 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.0006988/0.4683, allocations: 0.4991 MB / 451.5 MB, free: 9.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4684, allocations: 8.031 kB / 451.5 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.4685, allocations: 19.77 kB / 451.6 MB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.4688, allocations: 215.5 kB / 451.8 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.4689, allocations: 8 kB / 451.8 MB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.4689, allocations: 11.98 kB / 451.8 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.4691, allocations: 74.41 kB / 451.9 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4692, allocations: 3.938 kB / 451.9 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.4692, allocations: 8 kB / 451.9 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.736e-06/0.4692, allocations: 3.953 kB / 451.9 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.4693, allocations: 28 kB / 451.9 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.47, allocations: 368.7 kB / 452.3 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.4704, allocations: 87.45 kB / 452.3 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-05/0.4705, allocations: 36.84 kB / 452.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.4705, allocations: 4.75 kB / 452.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.4707, allocations: 75.39 kB / 452.5 MB, free: 8.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 5.886e-06/0.4708, allocations: 0 / 452.5 MB, free: 8.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003113/0.4711, allocations: 110.8 kB / 452.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.4712, allocations: 51.41 kB / 452.6 MB, free: 8.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.4714, allocations: 166.4 kB / 452.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.4714, allocations: 25.7 kB / 452.8 MB, free: 8.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.4716, allocations: 178.6 kB / 453 MB, free: 7.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.4716, allocations: 27.59 kB / 453 MB, free: 7.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.4716, allocations: 8 kB / 453 MB, free: 7.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4718, allocations: 318.8 kB / 453.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.4719, allocations: 36 kB / 453.4 MB, free: 7.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.4721, allocations: 62.78 kB / 453.4 MB, free: 7.414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4722, allocations: 77.62 kB / 453.5 MB, free: 7.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.734e-06/0.4723, allocations: 0 / 453.5 MB, free: 7.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003989/0.4727, allocations: 183.2 kB / 453.7 MB, free: 7.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/0.4727, allocations: 33.7 kB / 453.7 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.611e-06/0.4728, allocations: 0 / 453.7 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4728, allocations: 7.922 kB / 453.7 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.4729, allocations: 27.94 kB / 453.7 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.473, allocations: 4 kB / 453.8 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.4731, allocations: 19.95 kB / 453.8 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.4731, allocations: 4 kB / 453.8 MB, free: 7.039 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.0001211/0.4733, allocations: 116.9 kB / 453.9 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.4733, allocations: 11.86 kB / 453.9 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.4736, allocations: 127 kB / 454 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.151e-06/0.4737, allocations: 0 / 454 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4737, allocations: 0 / 454 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.082e-06/0.4737, allocations: 7.984 kB / 454 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.4739, allocations: 201.6 kB / 454.2 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.105e-06/0.474, allocations: 7.984 kB / 454.2 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.4741, allocations: 15.94 kB / 454.3 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.924e-06/0.4741, allocations: 0 / 454.3 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.4742, allocations: 3.953 kB / 454.3 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.77e-06/0.4742, allocations: 0 / 454.3 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.638e-06/0.4742, allocations: 0 / 454.3 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.4746, allocations: 176.8 kB / 454.4 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.4747, allocations: 97.03 kB / 454.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.4748, allocations: 4.062 kB / 454.5 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.4749, allocations: 15.94 kB / 454.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.4749, allocations: 8.266 kB / 454.6 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.475, allocations: 4 kB / 454.6 MB, free: 6.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001496/0.4751, allocations: 124.9 kB / 454.7 MB, free: 6.031 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.14e-07/0.4751, allocations: 3.938 kB / 454.7 MB, free: 6.027 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.4755, allocations: 43.92 kB / 454.7 MB, free: 5.984 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.001267/0.4768, allocations: 380.3 kB / 455.1 MB, free: 5.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00036/0.4772, allocations: 175.3 kB / 455.3 MB, free: 5.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4772, allocations: 0 / 455.3 MB, free: 5.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.4773, allocations: 36 kB / 455.3 MB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.4776, allocations: 19.98 kB / 455.3 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.4782, allocations: 210.7 kB / 455.5 MB, free: 5.227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.4786, allocations: 0.7162 MB / 456.2 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.4787, allocations: 15.44 kB / 456.3 MB, free: 4.469 MB / 378.7 MB Notification: Performance of SimCode: time 1.76e-06/0.4787, allocations: 0 / 456.3 MB, free: 4.469 MB / 378.7 MB Notification: Performance of Templates: time 0.005116/0.4838, allocations: 2.073 MB / 458.3 MB, free: 2.395 MB / 378.7 MB