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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.017/2.017, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.5e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2657, allocations: 48.69 MB / 320 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.3791, allocations: 74.98 MB / 395 MB, free: 5.391 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.3794, allocations: 67.97 kB / 395.1 MB, free: 5.324 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02031/0.3997, allocations: 5.363 MB / 400.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3998, allocations: 4 kB / 400.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.822e-05/0.3998, allocations: 8 kB / 400.4 MB, free: 15.95 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.0008801/0.4007, allocations: 0.6451 MB / 401.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4007, allocations: 12.03 kB / 401.1 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.4009, allocations: 43.44 kB / 401.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008507/0.4017, allocations: 443.2 kB / 401.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.009e-06/0.4018, allocations: 0 / 401.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.4018, allocations: 4 kB / 401.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.987e-05/0.4019, allocations: 19.98 kB / 401.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.402, allocations: 67.39 kB / 401.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.633e-06/0.4021, allocations: 0 / 401.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.4021, allocations: 3.938 kB / 401.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.586e-06/0.4021, allocations: 0 / 401.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.4026, allocations: 358.8 kB / 402 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.4028, allocations: 65.14 kB / 402.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.4028, allocations: 17.78 kB / 402.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.4029, allocations: 7.984 kB / 402.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.4031, allocations: 88.95 kB / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.327e-06/0.4031, allocations: 0 / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003596/0.4035, allocations: 117.2 kB / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.4035, allocations: 89.05 kB / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.4051, allocations: 0.8573 MB / 403.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.4052, allocations: 29.7 kB / 403.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.4054, allocations: 246.6 kB / 403.5 MB, free: 12.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.4055, allocations: 15.81 kB / 403.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-06/0.4055, allocations: 0 / 403.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4057, allocations: 318.8 kB / 403.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.282e-05/0.4058, allocations: 31.94 kB / 403.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.4059, allocations: 54.2 kB / 403.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.406, allocations: 39.94 kB / 404 MB, free: 12.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.904e-06/0.406, allocations: 0 / 404 MB, free: 12.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003511/0.4064, allocations: 125.6 kB / 404.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.697e-05/0.4065, allocations: 68.17 kB / 404.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.077e-06/0.4065, allocations: 0 / 404.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4065, allocations: 128 / 404.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4066, allocations: 19.94 kB / 404.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.17e-06/0.4066, allocations: 0 / 404.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.4068, allocations: 16.03 kB / 404.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.4069, allocations: 7.984 kB / 404.2 MB, free: 11.92 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 () * 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.0001128/0.407, allocations: 116 kB / 404.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.4071, allocations: 47.44 kB / 404.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.4075, allocations: 149.4 kB / 404.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.73e-06/0.4075, allocations: 0 / 404.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.532e-06/0.4076, allocations: 0 / 404.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.044e-06/0.4076, allocations: 8 kB / 404.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.408, allocations: 337.8 kB / 404.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-06/0.408, allocations: 0 / 404.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.668e-05/0.4081, allocations: 11.98 kB / 404.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.4081, allocations: 4.047 kB / 404.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.4081, allocations: 7.938 kB / 404.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.666e-06/0.4082, allocations: 0 / 404.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.359e-06/0.4082, allocations: 0 / 404.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.4085, allocations: 179 kB / 405 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/0.4088, allocations: 192.4 kB / 405.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.4089, allocations: 4 kB / 405.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.4091, allocations: 4 kB / 405.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.4091, allocations: 11.92 kB / 405.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.4091, allocations: 4 kB / 405.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.4102, allocations: 0.6746 MB / 405.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.4102, allocations: 0 / 405.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004991/0.4108, allocations: 95.94 kB / 406 MB, free: 9.996 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) * 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.001215/0.412, allocations: 402.8 kB / 406.4 MB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.4123, allocations: 190.8 kB / 406.6 MB, free: 9.457 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.291e-06/0.4124, allocations: 4 kB / 406.6 MB, free: 9.453 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.4125, allocations: 27.94 kB / 406.6 MB, free: 9.426 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.4129, allocations: 47.09 kB / 406.7 MB, free: 9.383 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.4144, allocations: 0.7528 MB / 407.4 MB, free: 8.594 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/0.415, allocations: 0.8385 MB / 408.3 MB, free: 7.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.4152, allocations: 35.42 kB / 408.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of SimCode: time 1.77e-06/0.4152, allocations: 4 kB / 408.3 MB, free: 7.691 MB / 346.7 MB Notification: Performance of Templates: time 0.01147/0.4267, allocations: 5.342 MB / 413.6 MB, free: 2.344 MB / 346.7 MB