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.Test27.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.Test27,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.Test27") Notification: Performance of loadModel(ModelicaTest): time 1.909/1.909, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009641/0.0009645, allocations: 15.98 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3292, allocations: 48.7 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.462, allocations: 75.83 MB / 407.1 MB, free: 2.578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.4623, allocations: 75.97 kB / 407.2 MB, free: 2.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01711/0.4794, allocations: 3.928 MB / 411.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.551e-06/0.4795, allocations: 0 / 411.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.4795, allocations: 4 kB / 411.1 MB, free: 14.57 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.0005983/0.4801, allocations: 424.6 kB / 411.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4802, allocations: 16.02 kB / 411.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.4802, allocations: 7.906 kB / 411.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.4805, allocations: 198.9 kB / 411.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.4806, allocations: 0 / 411.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.4806, allocations: 4 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.4807, allocations: 45.67 kB / 411.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4808, allocations: 0 / 411.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4808, allocations: 0 / 411.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4808, allocations: 4 kB / 411.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.88e-05/0.4809, allocations: 19.92 kB / 411.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.4814, allocations: 292.9 kB / 412.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.4816, allocations: 42.56 kB / 412.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.4816, allocations: 4 kB / 412.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.4818, allocations: 59.42 kB / 412.2 MB, free: 13.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 4.877e-06/0.4818, allocations: 4 kB / 412.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005016/0.4823, allocations: 125.2 kB / 412.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.4824, allocations: 59.34 kB / 412.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.4826, allocations: 153.4 kB / 412.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.4827, allocations: 33.69 kB / 412.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/0.4828, allocations: 158.6 kB / 412.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.4828, allocations: 19.75 kB / 412.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-06/0.4828, allocations: 0 / 412.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.483, allocations: 310.8 kB / 413.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.4831, allocations: 27.98 kB / 413.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.4832, allocations: 23.98 kB / 413.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.4833, allocations: 57.73 kB / 413.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-06/0.4833, allocations: 0 / 413.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002668/0.4836, allocations: 127.4 kB / 413.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/0.4836, allocations: 29.7 kB / 413.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.4837, allocations: 4 kB / 413.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4837, allocations: 4 kB / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.4838, allocations: 11.98 kB / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.873e-06/0.4838, allocations: 160 / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.155e-05/0.4839, allocations: 11.95 kB / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.4839, allocations: 7.984 kB / 413.4 MB, free: 12.09 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.0001339/0.484, allocations: 121.8 kB / 413.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.4841, allocations: 11.84 kB / 413.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.4843, allocations: 89.98 kB / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-06/0.4844, allocations: 0 / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.182e-06/0.4844, allocations: 0 / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.752e-06/0.4844, allocations: 0 / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.4849, allocations: 358.4 kB / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-06/0.4849, allocations: 4 kB / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.808e-05/0.485, allocations: 7.984 kB / 413.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.485, allocations: 0 / 413.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.485, allocations: 8 kB / 413.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.4851, allocations: 0 / 413.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.63e-06/0.4851, allocations: 3.953 kB / 414 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.4853, allocations: 179.3 kB / 414.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.4854, allocations: 85.02 kB / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.4855, allocations: 4 kB / 414.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.4856, allocations: 4.188 kB / 414.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.4856, allocations: 12.16 kB / 414.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.4856, allocations: 8 kB / 414.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.4858, allocations: 131.2 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.181e-06/0.4858, allocations: 0 / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004256/0.4863, allocations: 39.92 kB / 414.4 MB, free: 10.95 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.001176/0.4875, allocations: 372.3 kB / 414.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.4877, allocations: 115.4 kB / 414.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.958e-06/0.4878, allocations: 0 / 414.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.4878, allocations: 19.94 kB / 414.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.4881, allocations: 19.98 kB / 414.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.4887, allocations: 227.3 kB / 415.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.4891, allocations: 0.7043 MB / 415.8 MB, free: 9.504 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.4892, allocations: 23.42 kB / 415.9 MB, free: 9.48 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4892, allocations: 0 / 415.9 MB, free: 9.48 MB / 346.7 MB Notification: Performance of Templates: time 0.004394/0.4936, allocations: 1.701 MB / 417.6 MB, free: 7.785 MB / 346.7 MB