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.Test51.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.Test51,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.Test51") Notification: Performance of loadModel(ModelicaTest): time 1.91/1.91, allocations: 209.3 MB / 224.9 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 12 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2853, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4186, allocations: 75.87 MB / 407.2 MB, free: 2.562 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.4189, allocations: 71.95 kB / 407.2 MB, free: 2.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01707/0.436, allocations: 4.204 MB / 411.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.708e-06/0.4361, allocations: 4 kB / 411.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.4361, allocations: 0 / 411.4 MB, free: 14.28 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.0005884/0.4367, allocations: 432.6 kB / 411.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4367, allocations: 12.03 kB / 411.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.4368, allocations: 7.906 kB / 411.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.4371, allocations: 210.8 kB / 412.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.4371, allocations: 4 kB / 412.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.4372, allocations: 3.984 kB / 412.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.4373, allocations: 45.62 kB / 412.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4373, allocations: 4 kB / 412.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.993e-06/0.4374, allocations: 0 / 412.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-06/0.4374, allocations: 0 / 412.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.98e-05/0.4374, allocations: 15.98 kB / 412.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.4379, allocations: 304.8 kB / 412.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.4382, allocations: 46.5 kB / 412.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.4382, allocations: 3.984 kB / 412.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.4384, allocations: 59.48 kB / 412.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.601e-06/0.4384, allocations: 4 kB / 412.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004737/0.4389, allocations: 117.3 kB / 412.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.439, allocations: 59.39 kB / 412.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.4393, allocations: 194.5 kB / 412.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.4393, allocations: 25.7 kB / 412.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.4394, allocations: 170.5 kB / 413.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.4395, allocations: 7.906 kB / 413.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-06/0.4395, allocations: 0 / 413.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.4397, allocations: 322.8 kB / 413.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.028e-05/0.4397, allocations: 23.94 kB / 413.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.4398, allocations: 19.98 kB / 413.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.4399, allocations: 61.69 kB / 413.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-06/0.4399, allocations: 4.031 kB / 413.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002803/0.4402, allocations: 127.2 kB / 413.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.4403, allocations: 37.69 kB / 413.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4403, allocations: 0 / 413.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.4403, allocations: 0 / 413.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/0.4404, allocations: 12.06 kB / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.4404, allocations: 0 / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.4405, allocations: 7.938 kB / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.4405, allocations: 4 kB / 413.7 MB, free: 11.74 MB / 346.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 () * Number of clocked 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 0.0001416/0.4407, allocations: 137.8 kB / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.4407, allocations: 7.906 kB / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.441, allocations: 94.66 kB / 414 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.151e-06/0.441, allocations: 0 / 414 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.441, allocations: 0 / 414 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.07e-06/0.4411, allocations: 0 / 414 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005361/0.4416, allocations: 374.3 kB / 414.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.219e-06/0.4416, allocations: 4 kB / 414.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.053e-05/0.4417, allocations: 8 kB / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.798e-06/0.4417, allocations: 0 / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4417, allocations: 0 / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.054e-06/0.4417, allocations: 4 kB / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.677e-06/0.4417, allocations: 0 / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.442, allocations: 179.3 kB / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/0.4421, allocations: 92.95 kB / 414.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.4422, allocations: 8 kB / 414.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4423, allocations: 3.984 kB / 414.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.4423, allocations: 4 kB / 414.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.4423, allocations: 8 kB / 414.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001995/0.4426, allocations: 147.9 kB / 414.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.4426, allocations: 0 / 414.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004006/0.443, allocations: 47.94 kB / 414.8 MB, free: 10.54 MB / 346.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) * Number of clocked states: 0 () * 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.001214/0.4442, allocations: 377.2 kB / 415.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.4445, allocations: 119.3 kB / 415.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4445, allocations: 0 / 415.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.072e-05/0.4446, allocations: 16 kB / 415.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.4449, allocations: 18.56 kB / 415.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.4455, allocations: 271.4 kB / 415.6 MB, free: 9.781 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.4459, allocations: 0.7043 MB / 416.3 MB, free: 9.051 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.446, allocations: 19.42 kB / 416.3 MB, free: 9.031 MB / 346.7 MB Notification: Performance of SimCode: time 1.701e-06/0.446, allocations: 4 kB / 416.3 MB, free: 9.027 MB / 346.7 MB Notification: Performance of Templates: time 0.004553/0.4506, allocations: 1.809 MB / 418.1 MB, free: 7.223 MB / 346.7 MB