Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 1.804/1.804, allocations: 209.2 MB / 224.8 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.0004331, allocations: 12 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2816, allocations: 48.71 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.3918, allocations: 75.83 MB / 407.1 MB, free: 2.586 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.3921, allocations: 75.95 kB / 407.2 MB, free: 2.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01627/0.4084, allocations: 3.959 MB / 411.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4084, allocations: 0 / 411.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.4085, allocations: 8 kB / 411.2 MB, free: 14.55 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.0005727/0.409, allocations: 436.6 kB / 411.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.4091, allocations: 8.031 kB / 411.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.4092, allocations: 7.906 kB / 411.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.4095, allocations: 203.4 kB / 411.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4095, allocations: 0 / 411.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.4095, allocations: 8 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.4096, allocations: 41.69 kB / 411.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4097, allocations: 4 kB / 411.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4097, allocations: 7.984 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-06/0.4097, allocations: 0 / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.815e-05/0.4098, allocations: 12 kB / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.4103, allocations: 300.7 kB / 412.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.4105, allocations: 46.55 kB / 412.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.4105, allocations: 0 / 412.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.4107, allocations: 63.48 kB / 412.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 4.704e-06/0.4107, allocations: 0 / 412.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004563/0.4112, allocations: 121.3 kB / 412.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.4112, allocations: 55.34 kB / 412.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.4115, allocations: 161.6 kB / 412.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.4115, allocations: 33.7 kB / 412.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.4116, allocations: 162.5 kB / 412.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.4117, allocations: 23.73 kB / 412.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.4117, allocations: 4 kB / 412.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4118, allocations: 318.7 kB / 413.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.4119, allocations: 23.98 kB / 413.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-05/0.412, allocations: 23.98 kB / 413.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.4121, allocations: 53.7 kB / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-06/0.4121, allocations: 0 / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002603/0.4124, allocations: 131.2 kB / 413.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.4125, allocations: 29.7 kB / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.714e-06/0.4125, allocations: 0 / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.4125, allocations: 8 kB / 413.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.4126, allocations: 8 kB / 413.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.807e-06/0.4126, allocations: 0 / 413.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.21e-05/0.4127, allocations: 3.984 kB / 413.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.4127, allocations: 4 kB / 413.4 MB, free: 12.05 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.0001333/0.4128, allocations: 129.8 kB / 413.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.4129, allocations: 7.906 kB / 413.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.4131, allocations: 97.91 kB / 413.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.171e-06/0.4132, allocations: 0 / 413.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.766e-06/0.4132, allocations: 0 / 413.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.025e-06/0.4132, allocations: 0 / 413.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.4137, allocations: 354.5 kB / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-06/0.4137, allocations: 4 kB / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.4138, allocations: 12.02 kB / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.445e-06/0.4138, allocations: 3.938 kB / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.4138, allocations: 8 kB / 414 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.328e-06/0.4138, allocations: 0 / 414 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.547e-06/0.4138, allocations: 4.188 kB / 414 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.4141, allocations: 175.4 kB / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.4142, allocations: 89 kB / 414.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.466e-05/0.4142, allocations: 8 kB / 414.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.4143, allocations: 0 / 414.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.4144, allocations: 7.984 kB / 414.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.4144, allocations: 0 / 414.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.4146, allocations: 142.5 kB / 414.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.97e-07/0.4146, allocations: 0 / 414.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003838/0.415, allocations: 55.72 kB / 414.5 MB, free: 10.87 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.001164/0.4161, allocations: 369.9 kB / 414.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.4164, allocations: 115.4 kB / 415 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.56e-06/0.4164, allocations: 0 / 415 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.181e-05/0.4165, allocations: 19.94 kB / 415 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.4168, allocations: 18.56 kB / 415 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.4173, allocations: 255.2 kB / 415.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4177, allocations: 0.6965 MB / 415.9 MB, free: 9.406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.4178, allocations: 23.42 kB / 416 MB, free: 9.383 MB / 346.7 MB Notification: Performance of SimCode: time 1.29e-06/0.4178, allocations: 0 / 416 MB, free: 9.383 MB / 346.7 MB Notification: Performance of Templates: time 0.00425/0.4221, allocations: 1.74 MB / 417.7 MB, free: 7.648 MB / 346.7 MB