Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadModel(ModelicaTest): time 2.025/2.025, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.0004419, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3485, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.4843, allocations: 75.82 MB / 407.6 MB, free: 2.613 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.4847, allocations: 79.95 kB / 407.7 MB, free: 2.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01832/0.503, allocations: 4.037 MB / 411.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5031, allocations: 4 kB / 411.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.187e-05/0.5031, allocations: 7.938 kB / 411.8 MB, free: 14.48 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006661/0.5038, allocations: 436.5 kB / 412.2 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5039, allocations: 12.03 kB / 412.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.5039, allocations: 7.906 kB / 412.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.5043, allocations: 194.9 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.5043, allocations: 0 / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.5043, allocations: 4 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.5045, allocations: 53.67 kB / 412.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.5045, allocations: 0 / 412.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.5045, allocations: 0 / 412.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.5046, allocations: 4 kB / 412.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.5046, allocations: 19.92 kB / 412.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.5052, allocations: 300.8 kB / 412.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.5055, allocations: 38.56 kB / 412.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.5055, allocations: 7.984 kB / 412.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.5057, allocations: 67.44 kB / 412.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.896e-06/0.5057, allocations: 0 / 412.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005641/0.5063, allocations: 121.2 kB / 413 MB, free: 13.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.5063, allocations: 51.41 kB / 413 MB, free: 13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.5067, allocations: 206.1 kB / 413.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.5067, allocations: 29.69 kB / 413.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.5068, allocations: 166.6 kB / 413.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.5068, allocations: 15.75 kB / 413.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.5069, allocations: 4 kB / 413.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.507, allocations: 314.8 kB / 413.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.5071, allocations: 23.98 kB / 413.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/0.5072, allocations: 19.98 kB / 413.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.5073, allocations: 49.7 kB / 413.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5073, allocations: 4 kB / 413.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002955/0.5076, allocations: 127.3 kB / 414 MB, free: 12.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/0.5077, allocations: 37.7 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5077, allocations: 0 / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.5077, allocations: 3.984 kB / 414 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.5078, allocations: 8 kB / 414 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5078, allocations: 0 / 414 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.5079, allocations: 4 kB / 414 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.508, allocations: 7.953 kB / 414 MB, free: 11.95 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001396/0.5081, allocations: 129.8 kB / 414.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.5082, allocations: 11.91 kB / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.5085, allocations: 98.03 kB / 414.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5085, allocations: 0 / 414.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5085, allocations: 0 / 414.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5085, allocations: 0 / 414.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.509, allocations: 362.5 kB / 414.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.509, allocations: 0 / 414.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.701e-05/0.5091, allocations: 8 kB / 414.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.5091, allocations: 4.078 kB / 414.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.5092, allocations: 11.94 kB / 414.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5092, allocations: 0 / 414.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5092, allocations: 0 / 414.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.5095, allocations: 175.4 kB / 414.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.5095, allocations: 89.25 kB / 414.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.5096, allocations: 4 kB / 414.9 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.5097, allocations: 8 kB / 414.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.5098, allocations: 7.938 kB / 414.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.5098, allocations: 11.92 kB / 415 MB, free: 10.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002071/0.51, allocations: 156.9 kB / 415.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.51, allocations: 0 / 415.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.5104, allocations: 35.94 kB / 415.1 MB, free: 10.76 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001085/0.5115, allocations: 364.2 kB / 415.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.5119, allocations: 111.4 kB / 415.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5119, allocations: 0 / 415.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.667e-05/0.512, allocations: 23.92 kB / 415.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.5123, allocations: 15.98 kB / 415.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.513, allocations: 255.3 kB / 415.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.5133, allocations: 0.7121 MB / 416.6 MB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.5134, allocations: 11.44 kB / 416.6 MB, free: 9.281 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5134, allocations: 0 / 416.6 MB, free: 9.281 MB / 346.7 MB Notification: Performance of Templates: time 0.005605/0.519, allocations: 1.784 MB / 418.4 MB, free: 7.504 MB / 346.7 MB