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.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadModel(ModelicaTest): time 2.106/2.106, allocations: 209.2 MB / 224.8 MB, free: 352 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004489, allocations: 12 kB / 282.6 MB, free: 9.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.328, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4529, allocations: 75.74 MB / 407 MB, free: 2.715 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.4531, allocations: 71.95 kB / 407.1 MB, free: 2.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02092/0.4741, allocations: 5.44 MB / 412.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.95e-06/0.4741, allocations: 0 / 412.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.115e-05/0.4742, allocations: 8 kB / 412.5 MB, free: 13.2 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.001118/0.4753, allocations: 0.7384 MB / 413.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4753, allocations: 11.97 kB / 413.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.4755, allocations: 43.44 kB / 413.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008852/0.4764, allocations: 459.1 kB / 413.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.4764, allocations: 0 / 413.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.4764, allocations: 4 kB / 413.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.4766, allocations: 71.39 kB / 413.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.318e-06/0.4766, allocations: 0 / 413.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4767, allocations: 0 / 413.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.012e-06/0.4767, allocations: 3.984 kB / 413.9 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.837e-05/0.4768, allocations: 27.91 kB / 413.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.4774, allocations: 370.3 kB / 414.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.4775, allocations: 61.2 kB / 414.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.4775, allocations: 3.938 kB / 414.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.4778, allocations: 93.06 kB / 414.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.495e-06/0.4778, allocations: 0 / 414.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004312/0.4782, allocations: 145.1 kB / 414.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.4783, allocations: 85.11 kB / 414.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.4801, allocations: 0.8845 MB / 415.5 MB, free: 9.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.4801, allocations: 33.69 kB / 415.5 MB, free: 9.949 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.4804, allocations: 246.6 kB / 415.8 MB, free: 9.707 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.4804, allocations: 19.73 kB / 415.8 MB, free: 9.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.4805, allocations: 8 kB / 415.8 MB, free: 9.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4806, allocations: 318.8 kB / 416.1 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.4808, allocations: 35.98 kB / 416.2 MB, free: 9.324 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.4809, allocations: 57.64 kB / 416.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.4811, allocations: 95.39 kB / 416.3 MB, free: 9.156 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.283e-06/0.4811, allocations: 0 / 416.3 MB, free: 9.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004193/0.4815, allocations: 197 kB / 416.5 MB, free: 8.945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.859e-05/0.4816, allocations: 63.39 kB / 416.6 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.95e-06/0.4816, allocations: 0 / 416.6 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4817, allocations: 4.031 kB / 416.6 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.4818, allocations: 15.88 kB / 416.6 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.287e-06/0.4818, allocations: 4 kB / 416.6 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.482, allocations: 23.89 kB / 416.6 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.482, allocations: 4.125 kB / 416.6 MB, free: 8.82 MB / 346.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0003265/0.4824, allocations: 218.3 kB / 416.8 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.4825, allocations: 55.42 kB / 416.9 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.4829, allocations: 149.1 kB / 417 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.4829, allocations: 4 kB / 417 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.616e-06/0.4829, allocations: 0 / 417 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.462e-06/0.483, allocations: 0 / 417 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.4834, allocations: 373.2 kB / 417.4 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-06/0.4835, allocations: 0 / 417.4 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.4835, allocations: 11.98 kB / 417.4 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.333e-06/0.4836, allocations: 0 / 417.4 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.4836, allocations: 3.938 kB / 417.4 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.459e-06/0.4836, allocations: 4 kB / 417.4 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.04e-06/0.4836, allocations: 0 / 417.4 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.484, allocations: 183.1 kB / 417.6 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.4843, allocations: 181 kB / 417.8 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/0.4844, allocations: 4 kB / 417.8 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.4846, allocations: 4 kB / 417.8 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.4846, allocations: 11.98 kB / 417.8 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.4846, allocations: 4 kB / 417.8 MB, free: 7.523 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001221/0.4859, allocations: 0.7057 MB / 418.5 MB, free: 6.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.73e-07/0.4859, allocations: 0 / 418.5 MB, free: 6.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004979/0.4864, allocations: 99.94 kB / 418.6 MB, free: 6.723 MB / 346.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001655/0.4881, allocations: 495.3 kB / 419.1 MB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004053/0.4885, allocations: 198.8 kB / 419.3 MB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.102e-06/0.4885, allocations: 0 / 419.3 MB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.4886, allocations: 35.92 kB / 419.3 MB, free: 6.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.4891, allocations: 50.23 kB / 419.4 MB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.491, allocations: 0.9577 MB / 420.3 MB, free: 5.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/0.4917, allocations: 0.8351 MB / 421.1 MB, free: 4.164 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.4919, allocations: 35.44 kB / 421.2 MB, free: 4.129 MB / 346.7 MB Notification: Performance of SimCode: time 1.688e-06/0.4919, allocations: 3.938 kB / 421.2 MB, free: 4.125 MB / 346.7 MB Notification: Performance of Templates: time 0.01171/0.5036, allocations: 5.376 MB / 426.6 MB, free: 14.75 MB / 362.7 MB