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.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadModel(ModelicaTest): time 1.979/1.979, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.249e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.259, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.3714, allocations: 74.97 MB / 395 MB, free: 5.465 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.3718, allocations: 67.97 kB / 395.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03471/0.4065, allocations: 5.415 MB / 400.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.458e-06/0.4066, allocations: 4 kB / 400.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.475e-05/0.4067, allocations: 8 kB / 400.5 MB, free: 15.97 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.001316/0.408, allocations: 0.6528 MB / 401.1 MB, free: 15.26 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.4081, allocations: 8.031 kB / 401.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.4083, allocations: 47.44 kB / 401.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.4097, allocations: 447.3 kB / 401.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.4098, allocations: 0 / 401.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.4099, allocations: 4 kB / 401.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001576/0.41, allocations: 27.92 kB / 401.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.4103, allocations: 63.39 kB / 401.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4103, allocations: 0 / 401.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.4103, allocations: 0 / 401.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.4104, allocations: 0 / 401.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007956/0.4112, allocations: 362.8 kB / 402.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.4114, allocations: 65.2 kB / 402.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.4115, allocations: 21.7 kB / 402.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4116, allocations: 4 kB / 402.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.4119, allocations: 85.09 kB / 402.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 4.251e-06/0.4119, allocations: 4 kB / 402.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005744/0.4125, allocations: 129 kB / 402.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.4126, allocations: 77.11 kB / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.4155, allocations: 0.8885 MB / 403.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.4156, allocations: 29.7 kB / 403.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.416, allocations: 250.6 kB / 403.6 MB, free: 12.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.4161, allocations: 19.8 kB / 403.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.4161, allocations: 3.938 kB / 403.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.4163, allocations: 314.8 kB / 403.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.4165, allocations: 32 kB / 404 MB, free: 12.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.4167, allocations: 50.58 kB / 404 MB, free: 12.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.417, allocations: 43.86 kB / 404.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.472e-06/0.417, allocations: 0 / 404.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006173/0.4176, allocations: 125.7 kB / 404.2 MB, free: 12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.85e-05/0.4177, allocations: 60.17 kB / 404.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4178, allocations: 4 kB / 404.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.4178, allocations: 0 / 404.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.418, allocations: 15.94 kB / 404.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.418, allocations: 4 kB / 404.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.4184, allocations: 23.83 kB / 404.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.4184, allocations: 4 kB / 404.3 MB, free: 11.88 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.0001576/0.4186, allocations: 111.9 kB / 404.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.4188, allocations: 47.53 kB / 404.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006117/0.4195, allocations: 153.5 kB / 404.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.445e-06/0.4195, allocations: 0 / 404.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.4195, allocations: 4 kB / 404.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.077e-06/0.4196, allocations: 4 kB / 404.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007404/0.4203, allocations: 341.8 kB / 404.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.313e-06/0.4204, allocations: 0 / 404.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.495e-05/0.4205, allocations: 7.984 kB / 405 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/0.4205, allocations: 7.953 kB / 405 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.4206, allocations: 0 / 405 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-06/0.4206, allocations: 0 / 405 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.6e-06/0.4206, allocations: 4 kB / 405 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.4212, allocations: 183 kB / 405.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004917/0.4217, allocations: 188.5 kB / 405.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.4219, allocations: 4 kB / 405.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.4221, allocations: 4 kB / 405.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.4222, allocations: 11.98 kB / 405.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.4223, allocations: 4 kB / 405.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002298/0.4246, allocations: 0.6941 MB / 406 MB, free: 10.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.45e-06/0.4247, allocations: 0 / 406 MB, free: 10.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001231/0.4259, allocations: 107.8 kB / 406.1 MB, free: 9.93 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.002835/0.4288, allocations: 389.4 kB / 406.5 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000745/0.4296, allocations: 190.8 kB / 406.7 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.4296, allocations: 4 kB / 406.7 MB, free: 9.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.4298, allocations: 27.94 kB / 406.7 MB, free: 9.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008713/0.4307, allocations: 43.48 kB / 406.8 MB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.4331, allocations: 0.7838 MB / 407.6 MB, free: 8.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/0.4338, allocations: 0.8424 MB / 408.4 MB, free: 7.645 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.434, allocations: 39.44 kB / 408.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of SimCode: time 1.791e-06/0.434, allocations: 0 / 408.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of Templates: time 0.01197/0.446, allocations: 5.471 MB / 413.9 MB, free: 2.133 MB / 346.7 MB