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/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.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.894/1.894, allocations: 209.3 MB / 224.9 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004603, allocations: 15.98 kB / 282.6 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.08958, allocations: 48.71 MB / 331.3 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.417, allocations: 75.72 MB / 407 MB, free: 9.438 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.4173, allocations: 79.94 kB / 407.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02114/0.4385, allocations: 5.486 MB / 412.6 MB, free: 3.887 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.641e-06/0.4385, allocations: 3.984 kB / 412.6 MB, free: 3.883 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.483e-05/0.4386, allocations: 11.94 kB / 412.6 MB, free: 3.871 MB / 330.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.001109/0.4397, allocations: 0.7422 MB / 413.3 MB, free: 3.066 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4397, allocations: 8.031 kB / 413.3 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.4399, allocations: 55.44 kB / 413.4 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/0.4408, allocations: 459.1 kB / 413.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.4408, allocations: 4 kB / 413.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.4408, allocations: 4 kB / 413.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.441, allocations: 67.33 kB / 413.9 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.719e-06/0.441, allocations: 0 / 413.9 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4411, allocations: 0 / 413.9 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-06/0.4411, allocations: 0 / 413.9 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.296e-05/0.4412, allocations: 19.98 kB / 413.9 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.4417, allocations: 390.3 kB / 414.3 MB, free: 1.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.4419, allocations: 61.14 kB / 414.4 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.4419, allocations: 0 / 414.4 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.4421, allocations: 97.08 kB / 414.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.195e-06/0.4422, allocations: 0 / 414.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004397/0.4426, allocations: 149 kB / 414.6 MB, free: 1.629 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.4427, allocations: 81.11 kB / 414.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.4445, allocations: 0.9158 MB / 415.6 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.4445, allocations: 29.7 kB / 415.6 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.4448, allocations: 258.5 kB / 415.9 MB, free: 328 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.4448, allocations: 15.75 kB / 415.9 MB, free: 312 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.4448, allocations: 8 kB / 415.9 MB, free: 304 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.445, allocations: 318.8 kB / 416.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.4452, allocations: 35.98 kB / 416.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.4453, allocations: 53.69 kB / 416.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.4455, allocations: 91.41 kB / 416.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.762e-06/0.4455, allocations: 0 / 416.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004204/0.4459, allocations: 193 kB / 416.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.007e-05/0.446, allocations: 71.39 kB / 416.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.658e-06/0.446, allocations: 0 / 416.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.446, allocations: 0 / 416.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.4461, allocations: 16.08 kB / 416.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.003e-06/0.4462, allocations: 3.938 kB / 416.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.4463, allocations: 15.84 kB / 416.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.4464, allocations: 8 kB / 416.7 MB, free: 15.45 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.000327/0.4467, allocations: 230.2 kB / 416.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.4468, allocations: 47.44 kB / 417 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.4472, allocations: 161.1 kB / 417.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.452e-06/0.4473, allocations: 4 kB / 417.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4473, allocations: 0 / 417.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4473, allocations: 0 / 417.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.4478, allocations: 373.3 kB / 417.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-06/0.4478, allocations: 0 / 417.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.4479, allocations: 7.984 kB / 417.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.058e-06/0.4479, allocations: 4 kB / 417.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.4479, allocations: 4 kB / 417.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.481e-06/0.4479, allocations: 4 kB / 417.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.4479, allocations: 0 / 417.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.4483, allocations: 179 kB / 417.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.4486, allocations: 188.5 kB / 417.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.4487, allocations: 8 kB / 417.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.4489, allocations: 4 kB / 417.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.4489, allocations: 11.98 kB / 417.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.449, allocations: 4.125 kB / 417.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001226/0.4502, allocations: 0.7291 MB / 418.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.28e-07/0.4502, allocations: 0 / 418.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004941/0.4507, allocations: 95.94 kB / 418.7 MB, free: 13.31 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.001635/0.4524, allocations: 0.4897 MB / 419.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003942/0.4528, allocations: 206.7 kB / 419.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.884e-06/0.4528, allocations: 0 / 419.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.697e-05/0.4529, allocations: 31.92 kB / 419.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.4534, allocations: 50.23 kB / 419.5 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.4553, allocations: 0.9812 MB / 420.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.4559, allocations: 0.8429 MB / 421.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.4561, allocations: 39.42 kB / 421.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of SimCode: time 1.669e-06/0.4561, allocations: 0 / 421.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of Templates: time 0.01174/0.4679, allocations: 5.493 MB / 426.9 MB, free: 5.176 MB / 346.7 MB