Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.305/2.305, allocations: 209.2 MB / 225.4 MB, free: 0.7578 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005883/0.0005885, allocations: 12 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1157, allocations: 48.71 MB / 331.8 MB, free: 8.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4177/0.5335, allocations: 75.82 MB / 407.6 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.5339, allocations: 78.52 kB / 407.7 MB, free: 9.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01855/0.5525, allocations: 3.969 MB / 411.7 MB, free: 5.309 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5525, allocations: 0 / 411.7 MB, free: 5.309 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.5526, allocations: 0 / 411.7 MB, free: 5.309 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.000694/0.5533, allocations: 439.7 kB / 412.1 MB, free: 4.828 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.5533, allocations: 8.031 kB / 412.1 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.5534, allocations: 7.906 kB / 412.1 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.5537, allocations: 207.3 kB / 412.3 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.5537, allocations: 0 / 412.3 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.5538, allocations: 8 kB / 412.3 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.5539, allocations: 41.69 kB / 412.4 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5539, allocations: 0 / 412.4 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.554, allocations: 4 kB / 412.4 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.554, allocations: 0 / 412.4 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.5541, allocations: 23.97 kB / 412.4 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.5546, allocations: 296.8 kB / 412.7 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.5549, allocations: 46.5 kB / 412.7 MB, free: 4.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.5549, allocations: 4 kB / 412.7 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.5551, allocations: 63.48 kB / 412.8 MB, free: 4.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.5551, allocations: 0 / 412.8 MB, free: 4.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005463/0.5556, allocations: 113.3 kB / 412.9 MB, free: 3.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5557, allocations: 59.33 kB / 413 MB, free: 3.824 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.556, allocations: 182.4 kB / 413.2 MB, free: 3.633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.556, allocations: 25.7 kB / 413.2 MB, free: 3.602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.5561, allocations: 170.5 kB / 413.3 MB, free: 3.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.5562, allocations: 11.81 kB / 413.4 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.5562, allocations: 4 kB / 413.4 MB, free: 3.418 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5564, allocations: 318.8 kB / 413.7 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.5564, allocations: 27.92 kB / 413.7 MB, free: 3.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.5565, allocations: 23.92 kB / 413.7 MB, free: 3.047 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.5566, allocations: 49.7 kB / 413.8 MB, free: 2.992 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5567, allocations: 4 kB / 413.8 MB, free: 2.988 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000329/0.557, allocations: 127.3 kB / 413.9 MB, free: 2.852 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.5571, allocations: 33.7 kB / 413.9 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5571, allocations: 0 / 413.9 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.5571, allocations: 0 / 413.9 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/0.5572, allocations: 15.92 kB / 413.9 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5572, allocations: 4 kB / 413.9 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.5573, allocations: 4 kB / 414 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.5574, allocations: 7.953 kB / 414 MB, free: 2.781 MB / 330.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.0001461/0.5575, allocations: 121.8 kB / 414.1 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.5576, allocations: 11.91 kB / 414.1 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.5579, allocations: 89.98 kB / 414.2 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5579, allocations: 3.938 kB / 414.2 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5579, allocations: 4 kB / 414.2 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5579, allocations: 0 / 414.2 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/0.5585, allocations: 358.5 kB / 414.5 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5585, allocations: 192 / 414.5 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.5586, allocations: 12.09 kB / 414.5 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.5586, allocations: 3.938 kB / 414.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.5586, allocations: 0 / 414.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5586, allocations: 0 / 414.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5586, allocations: 0 / 414.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.5589, allocations: 187.3 kB / 414.7 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.559, allocations: 89.02 kB / 414.8 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.559, allocations: 0 / 414.8 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.5591, allocations: 11.98 kB / 414.8 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.5592, allocations: 0 / 414.8 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.5592, allocations: 4 kB / 414.8 MB, free: 1.793 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001919/0.5594, allocations: 141.8 kB / 415 MB, free: 1.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5594, allocations: 0 / 415 MB, free: 1.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000387/0.5598, allocations: 47.84 kB / 415 MB, free: 1.609 MB / 330.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.00115/0.561, allocations: 366.1 kB / 415.4 MB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.5613, allocations: 111.3 kB / 415.5 MB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5613, allocations: 0 / 415.5 MB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.464e-05/0.5614, allocations: 27.97 kB / 415.5 MB, free: 1.176 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.5618, allocations: 19.92 kB / 415.5 MB, free: 1.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.5625, allocations: 251.2 kB / 415.8 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.5628, allocations: 0.7082 MB / 416.5 MB, free: 148 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.5629, allocations: 15.44 kB / 416.5 MB, free: 132 kB / 330.7 MB Notification: Performance of SimCode: time 1.193e-06/0.5629, allocations: 0 / 416.5 MB, free: 132 kB / 330.7 MB Notification: Performance of Templates: time 0.005525/0.5685, allocations: 1.74 MB / 418.2 MB, free: 14.39 MB / 346.7 MB