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.Test47.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.Test47,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.Test47") Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.357e-05, allocations: 8 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3207, allocations: 54.86 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4451, allocations: 82.06 MB / 446.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4453, allocations: 75.95 kB / 446.7 MB, free: 14.34 MB / 378.7 MB [/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.02047/0.4658, allocations: 4.881 MB / 451.6 MB, free: 9.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.9e-06/0.4659, allocations: 0 / 451.6 MB, free: 9.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.4659, allocations: 4.938 kB / 451.6 MB, free: 9.48 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.0006164/0.4665, allocations: 477.5 kB / 452 MB, free: 8.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.4666, allocations: 11.97 kB / 452 MB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.215e-05/0.4667, allocations: 19.81 kB / 452.1 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.467, allocations: 214.7 kB / 452.3 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.4671, allocations: 8 kB / 452.3 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.4671, allocations: 4 kB / 452.3 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.4673, allocations: 53.67 kB / 452.3 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4673, allocations: 4 kB / 452.3 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.4673, allocations: 7.953 kB / 452.4 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-06/0.4673, allocations: 1.031 kB / 452.4 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.688e-05/0.4674, allocations: 19.94 kB / 452.4 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.4679, allocations: 324.9 kB / 452.7 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.4681, allocations: 54.69 kB / 452.7 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.4682, allocations: 24.97 kB / 452.8 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.4682, allocations: 7.891 kB / 452.8 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.4684, allocations: 63.53 kB / 452.8 MB, free: 8.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.762e-06/0.4684, allocations: 0 / 452.8 MB, free: 8.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005873/0.469, allocations: 177 kB / 453 MB, free: 7.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.4691, allocations: 51.41 kB / 453.1 MB, free: 7.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.4694, allocations: 233.8 kB / 453.3 MB, free: 7.555 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.4695, allocations: 35.11 kB / 453.3 MB, free: 7.516 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4696, allocations: 170.5 kB / 453.5 MB, free: 7.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.4697, allocations: 23.66 kB / 453.5 MB, free: 7.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.4697, allocations: 7.938 kB / 453.5 MB, free: 7.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4698, allocations: 318.8 kB / 453.8 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.47, allocations: 32 kB / 453.9 MB, free: 6.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.4701, allocations: 51.55 kB / 453.9 MB, free: 6.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.4702, allocations: 77.67 kB / 454 MB, free: 6.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4702, allocations: 0 / 454 MB, free: 6.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000367/0.4706, allocations: 171.3 kB / 454.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.4707, allocations: 39.09 kB / 454.2 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.695e-06/0.4707, allocations: 0 / 454.2 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4707, allocations: 4 kB / 454.2 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.4709, allocations: 15.94 kB / 454.2 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.811e-06/0.4709, allocations: 96 / 454.2 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.208e-05/0.471, allocations: 11.92 kB / 454.2 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.471, allocations: 12 kB / 454.2 MB, free: 6.562 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 () * 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 9.86e-05/0.4711, allocations: 109 kB / 454.3 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.4712, allocations: 19.77 kB / 454.4 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.4715, allocations: 119.1 kB / 454.5 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.731e-06/0.4716, allocations: 4 kB / 454.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.931e-06/0.4716, allocations: 0 / 454.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.001e-06/0.4716, allocations: 0 / 454.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006854/0.4723, allocations: 443.3 kB / 454.9 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.613e-06/0.4723, allocations: 4 kB / 454.9 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.4724, allocations: 11.98 kB / 454.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.264e-06/0.4724, allocations: 0 / 454.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.4724, allocations: 4 kB / 454.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.789e-06/0.4724, allocations: 0 / 454.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.05e-06/0.4724, allocations: 0 / 454.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.4728, allocations: 233.8 kB / 455.2 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.4729, allocations: 101 kB / 455.3 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.473, allocations: 7.984 kB / 455.3 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.4731, allocations: 4 kB / 455.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.4731, allocations: 7.938 kB / 455.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.4732, allocations: 7.984 kB / 455.3 MB, free: 5.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002518/0.4734, allocations: 195.9 kB / 455.5 MB, free: 5.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.4735, allocations: 0 / 455.5 MB, free: 5.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004128/0.4739, allocations: 47.84 kB / 455.5 MB, free: 5.148 MB / 378.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) * 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.001431/0.4753, allocations: 420 kB / 455.9 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.4757, allocations: 163.3 kB / 456.1 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.58e-06/0.4757, allocations: 0 / 456.1 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.4759, allocations: 35.92 kB / 456.1 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.4762, allocations: 32.23 kB / 456.2 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.4769, allocations: 248.2 kB / 456.4 MB, free: 4.301 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.4773, allocations: 0.716 MB / 457.1 MB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.646e-05/0.4774, allocations: 23.42 kB / 457.1 MB, free: 3.535 MB / 378.7 MB Notification: Performance of SimCode: time 1.65e-06/0.4774, allocations: 0 / 457.1 MB, free: 3.535 MB / 378.7 MB Notification: Performance of Templates: time 0.00506/0.4825, allocations: 2.142 MB / 459.3 MB, free: 1.395 MB / 378.7 MB