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.826/1.826, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.231e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08624/0.0863, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.4591, allocations: 75.77 MB / 402.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.4594, allocations: 68.75 kB / 402.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01544/0.4748, allocations: 4.178 MB / 406.6 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.737e-06/0.4749, allocations: 0 / 406.6 MB, free: 8.477 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.4749, allocations: 3.812 kB / 406.6 MB, free: 8.477 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.0003712/0.4753, allocations: 425.6 kB / 407 MB, free: 8.043 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4753, allocations: 7.688 kB / 407 MB, free: 8.043 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.4754, allocations: 7.781 kB / 407 MB, free: 8.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.4756, allocations: 208.7 kB / 407.2 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.4757, allocations: 3.875 kB / 407.2 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.4757, allocations: 0 / 407.2 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.4758, allocations: 46.88 kB / 407.2 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4758, allocations: 0 / 407.2 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.4759, allocations: 4 kB / 407.3 MB, free: 7.785 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-06/0.4759, allocations: 0 / 407.3 MB, free: 7.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.877e-05/0.4759, allocations: 15.11 kB / 407.3 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.4763, allocations: 307.4 kB / 407.6 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.4765, allocations: 47.39 kB / 407.6 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.4766, allocations: 11.58 kB / 407.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.4766, allocations: 7.875 kB / 407.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.4767, allocations: 57.73 kB / 407.7 MB, free: 7.383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.42e-06/0.4767, allocations: 0 / 407.7 MB, free: 7.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003839/0.4771, allocations: 106.8 kB / 407.8 MB, free: 7.328 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.4772, allocations: 55.22 kB / 407.8 MB, free: 7.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.4774, allocations: 189.3 kB / 408 MB, free: 7.152 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.4774, allocations: 29.08 kB / 408.1 MB, free: 7.121 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.4775, allocations: 173.2 kB / 408.2 MB, free: 6.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.4775, allocations: 19.33 kB / 408.2 MB, free: 6.949 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-06/0.4775, allocations: 3.844 kB / 408.3 MB, free: 6.949 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.4776, allocations: 314.2 kB / 408.6 MB, free: 6.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/0.4776, allocations: 25.94 kB / 408.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.182e-05/0.4777, allocations: 25.98 kB / 408.6 MB, free: 6.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.407e-05/0.4778, allocations: 55.62 kB / 408.7 MB, free: 6.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-06/0.4778, allocations: 0 / 408.7 MB, free: 6.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002098/0.478, allocations: 123 kB / 408.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.4781, allocations: 37.2 kB / 408.8 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.151e-06/0.4781, allocations: 4 kB / 408.8 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4781, allocations: 3.984 kB / 408.8 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.4782, allocations: 11.69 kB / 408.8 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.988e-06/0.4782, allocations: 0 / 408.8 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.4783, allocations: 7.812 kB / 408.8 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.4783, allocations: 7.797 kB / 408.9 MB, free: 6.465 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 5.394e-05/0.4784, allocations: 105.1 kB / 409 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.4784, allocations: 7.75 kB / 409 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.4787, allocations: 99.75 kB / 409.1 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.068e-06/0.4787, allocations: 3.844 kB / 409.1 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.025e-06/0.4787, allocations: 0 / 409.1 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.284e-06/0.4787, allocations: 0 / 409.1 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.4791, allocations: 367.6 kB / 409.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-06/0.4791, allocations: 0 / 409.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.4791, allocations: 7.531 kB / 409.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.479e-06/0.4792, allocations: 0 / 409.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4792, allocations: 0 / 409.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.33e-06/0.4792, allocations: 7.938 kB / 409.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4792, allocations: 3.984 kB / 409.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.4794, allocations: 175.9 kB / 409.6 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.4794, allocations: 88.7 kB / 409.7 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.4795, allocations: 3.984 kB / 409.7 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.4796, allocations: 3.938 kB / 409.7 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.4796, allocations: 11.53 kB / 409.7 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.4797, allocations: 192 / 409.7 MB, free: 5.711 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.4798, allocations: 167.1 kB / 409.9 MB, free: 5.613 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.4798, allocations: 0 / 409.9 MB, free: 5.613 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.4802, allocations: 42.06 kB / 409.9 MB, free: 5.602 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.001025/0.4812, allocations: 344.7 kB / 410.3 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.4815, allocations: 111.5 kB / 410.4 MB, free: 5.328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.743e-06/0.4815, allocations: 7.875 kB / 410.4 MB, free: 5.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.703e-05/0.4815, allocations: 23.12 kB / 410.4 MB, free: 5.316 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.4818, allocations: 15.58 kB / 410.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.4823, allocations: 186.2 kB / 410.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.4824, allocations: 0.7073 MB / 411.3 MB, free: 4.477 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.4825, allocations: 23.11 kB / 411.3 MB, free: 4.461 MB / 314.7 MB Notification: Performance of SimCode: time 1.779e-06/0.4825, allocations: 0 / 411.3 MB, free: 4.461 MB / 314.7 MB Notification: Performance of Templates: time 0.003941/0.4865, allocations: 1.8 MB / 413.1 MB, free: 3.559 MB / 314.7 MB