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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 1.941/1.941, allocations: 209.3 MB / 224.9 MB, free: 344 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.0004519, allocations: 16 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2862, allocations: 48.7 MB / 331.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.4426, allocations: 75.86 MB / 407.1 MB, free: 2.598 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.4428, allocations: 71.95 kB / 407.2 MB, free: 2.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0177/0.4605, allocations: 4.32 MB / 411.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.352e-06/0.4606, allocations: 0 / 411.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.4606, allocations: 4 kB / 411.5 MB, free: 14.2 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.0006577/0.4613, allocations: 448.5 kB / 412 MB, free: 13.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4613, allocations: 12.03 kB / 412 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.4614, allocations: 19.81 kB / 412 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.4617, allocations: 214.8 kB / 412.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.4618, allocations: 0 / 412.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.4618, allocations: 4 kB / 412.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.4619, allocations: 41.69 kB / 412.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.462, allocations: 0 / 412.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.462, allocations: 4 kB / 412.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-06/0.462, allocations: 0 / 412.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.299e-05/0.4621, allocations: 15.98 kB / 412.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.4626, allocations: 308.8 kB / 412.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.4628, allocations: 50.48 kB / 412.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.4629, allocations: 4 kB / 412.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.463, allocations: 51.5 kB / 412.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.628e-06/0.463, allocations: 4 kB / 412.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005043/0.4635, allocations: 137.4 kB / 412.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.4636, allocations: 51.41 kB / 412.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.464, allocations: 218.7 kB / 413.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.464, allocations: 29.7 kB / 413.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.4641, allocations: 178.4 kB / 413.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.4642, allocations: 11.91 kB / 413.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.402e-06/0.4642, allocations: 0 / 413.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4644, allocations: 318.7 kB / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.4645, allocations: 27.98 kB / 413.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.4645, allocations: 27.92 kB / 413.7 MB, free: 11.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.4646, allocations: 57.73 kB / 413.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-06/0.4647, allocations: 0 / 413.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002774/0.4649, allocations: 123.4 kB / 413.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.465, allocations: 34.64 kB / 413.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.007e-06/0.465, allocations: 4.016 kB / 413.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.4651, allocations: 0 / 413.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.4651, allocations: 15.98 kB / 413.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.132e-06/0.4652, allocations: 3.984 kB / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.4652, allocations: 8 kB / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.4653, allocations: 4 kB / 413.9 MB, free: 11.58 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.0001582/0.4654, allocations: 133.8 kB / 414 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.4655, allocations: 11.91 kB / 414.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.4658, allocations: 98.64 kB / 414.2 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.659e-06/0.4658, allocations: 7.984 kB / 414.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.452e-06/0.4658, allocations: 0 / 414.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4658, allocations: 4 kB / 414.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.4664, allocations: 370.5 kB / 414.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.72e-06/0.4664, allocations: 0 / 414.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.4665, allocations: 11.98 kB / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.886e-06/0.4665, allocations: 0 / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.4665, allocations: 4 kB / 414.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.928e-06/0.4665, allocations: 4 kB / 414.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.443e-06/0.4665, allocations: 3.938 kB / 414.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.4668, allocations: 179.4 kB / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.4669, allocations: 96.92 kB / 414.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.467, allocations: 4 kB / 414.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.4671, allocations: 0 / 414.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.4671, allocations: 7.984 kB / 414.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.4672, allocations: 0 / 414.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002505/0.4674, allocations: 189.1 kB / 415 MB, free: 10.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.4674, allocations: 0 / 415 MB, free: 10.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004051/0.4678, allocations: 51.81 kB / 415.1 MB, free: 10.32 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.00118/0.469, allocations: 370 kB / 415.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.4693, allocations: 119.3 kB / 415.5 MB, free: 9.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.21e-06/0.4693, allocations: 0 / 415.5 MB, free: 9.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.543e-05/0.4694, allocations: 16 kB / 415.6 MB, free: 9.895 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.4698, allocations: 24.11 kB / 415.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.4704, allocations: 315.5 kB / 415.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.4709, allocations: 0.716 MB / 416.6 MB, free: 8.785 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.471, allocations: 15.44 kB / 416.6 MB, free: 8.77 MB / 346.7 MB Notification: Performance of SimCode: time 2.173e-06/0.471, allocations: 0 / 416.6 MB, free: 8.77 MB / 346.7 MB Notification: Performance of Templates: time 0.004799/0.4758, allocations: 1.911 MB / 418.5 MB, free: 6.867 MB / 346.7 MB