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.Test55.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.Test55,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.Test55") Notification: Performance of loadModel(ModelicaTest): time 2.017/2.017, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.664e-05/3.675e-05, allocations: 8 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08568/0.08574, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3425/0.4283, allocations: 76 MB / 402.5 MB, free: 9.637 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4286, allocations: 72.66 kB / 402.6 MB, free: 9.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01656/0.4452, allocations: 4.466 MB / 407.1 MB, free: 8.031 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.001e-06/0.4452, allocations: 0 / 407.1 MB, free: 8.031 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.4452, allocations: 4 kB / 407.1 MB, free: 8.027 MB / 314.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.0003689/0.4456, allocations: 405.5 kB / 407.5 MB, free: 7.613 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4457, allocations: 11.19 kB / 407.5 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.4457, allocations: 7.188 kB / 407.5 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.4459, allocations: 197.8 kB / 407.7 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.446, allocations: 3.844 kB / 407.7 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.446, allocations: 3.812 kB / 407.7 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.4461, allocations: 54.06 kB / 407.8 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4461, allocations: 0 / 407.8 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.4462, allocations: 0 / 407.8 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-06/0.4462, allocations: 3.75 kB / 407.8 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.86e-05/0.4462, allocations: 19.61 kB / 407.8 MB, free: 7.328 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.4466, allocations: 284 kB / 408.1 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.4468, allocations: 41.16 kB / 408.1 MB, free: 7.012 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.4469, allocations: 12.67 kB / 408.1 MB, free: 7.004 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.4469, allocations: 0 / 408.1 MB, free: 7.004 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.4471, allocations: 66.23 kB / 408.2 MB, free: 6.941 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.551e-06/0.4471, allocations: 0 / 408.2 MB, free: 6.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004114/0.4475, allocations: 105.6 kB / 408.3 MB, free: 6.891 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.4476, allocations: 84.89 kB / 408.4 MB, free: 6.793 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.4477, allocations: 137.4 kB / 408.5 MB, free: 6.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4477, allocations: 25.7 kB / 408.5 MB, free: 6.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.979e-05/0.4478, allocations: 157.6 kB / 408.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.4478, allocations: 14.94 kB / 408.7 MB, free: 6.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-06/0.4478, allocations: 4 kB / 408.7 MB, free: 6.492 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.4479, allocations: 326.2 kB / 409 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.448, allocations: 18.91 kB / 409 MB, free: 6.172 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.115e-05/0.448, allocations: 27.44 kB / 409.1 MB, free: 6.156 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.329e-05/0.4481, allocations: 58.78 kB / 409.1 MB, free: 6.117 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-06/0.4481, allocations: 0 / 409.1 MB, free: 6.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002065/0.4484, allocations: 112 kB / 409.2 MB, free: 6.047 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.4484, allocations: 40.97 kB / 409.3 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.903e-06/0.4484, allocations: 4.031 kB / 409.3 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4484, allocations: 0 / 409.3 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.4485, allocations: 11.72 kB / 409.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.605e-06/0.4485, allocations: 160 / 409.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.4486, allocations: 3.969 kB / 409.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.4486, allocations: 7.891 kB / 409.3 MB, free: 6 MB / 314.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 () * 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 6.13e-05/0.4487, allocations: 116.3 kB / 409.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.4487, allocations: 3.906 kB / 409.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.449, allocations: 93.7 kB / 409.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.251e-06/0.449, allocations: 144 / 409.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.297e-06/0.449, allocations: 0 / 409.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.836e-06/0.449, allocations: 4.078 kB / 409.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.4494, allocations: 347.9 kB / 409.8 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.823e-06/0.4494, allocations: 0 / 409.8 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.4495, allocations: 7.781 kB / 409.8 MB, free: 5.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.4495, allocations: 3.844 kB / 409.8 MB, free: 5.504 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.4495, allocations: 0 / 409.8 MB, free: 5.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.711e-06/0.4495, allocations: 7.984 kB / 409.9 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-06/0.4495, allocations: 0 / 409.9 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.4497, allocations: 174.9 kB / 410 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.4498, allocations: 85 kB / 410.1 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.4498, allocations: 6.156 kB / 410.1 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.4499, allocations: 0 / 410.1 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.45, allocations: 3.781 kB / 410.1 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.45, allocations: 192 / 410.1 MB, free: 5.254 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.184e-05/0.4501, allocations: 118.9 kB / 410.2 MB, free: 5.168 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.58e-07/0.4501, allocations: 0 / 410.2 MB, free: 5.168 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004069/0.4505, allocations: 61.52 kB / 410.3 MB, free: 5.145 MB / 314.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) * 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.001301/0.4518, allocations: 412.8 kB / 410.7 MB, free: 4.895 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.452, allocations: 103.2 kB / 410.8 MB, free: 4.832 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.073e-06/0.4521, allocations: 0 / 410.8 MB, free: 4.832 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.103e-05/0.4521, allocations: 26.64 kB / 410.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.4524, allocations: 14.72 kB / 410.8 MB, free: 4.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.4527, allocations: 138.9 kB / 411 MB, free: 4.691 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.4529, allocations: 0.6882 MB / 411.7 MB, free: 3.988 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.453, allocations: 19.05 kB / 411.7 MB, free: 3.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.703e-06/0.453, allocations: 0 / 411.7 MB, free: 3.98 MB / 314.7 MB Notification: Performance of Templates: time 0.003877/0.4569, allocations: 1.888 MB / 413.6 MB, free: 3.016 MB / 314.7 MB