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.Test18.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.Test18,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.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.022/2.022, allocations: 209.2 MB / 225.4 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004157, allocations: 15.98 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3429, allocations: 48.71 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.4851, allocations: 75.86 MB / 407.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.4855, allocations: 75.95 kB / 407.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01813/0.5037, allocations: 3.966 MB / 411.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5037, allocations: 4 kB / 411.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.5037, allocations: 4 kB / 411.7 MB, free: 14.52 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.0006129/0.5044, allocations: 435.7 kB / 412.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5044, allocations: 8.031 kB / 412.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.5045, allocations: 7.906 kB / 412.2 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.5048, allocations: 194.9 kB / 412.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.5048, allocations: 4 kB / 412.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.5049, allocations: 0 / 412.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.505, allocations: 45.69 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.505, allocations: 4 kB / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.5051, allocations: 4 kB / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5051, allocations: 0 / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/0.5052, allocations: 11.98 kB / 412.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.5057, allocations: 296.8 kB / 412.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.506, allocations: 42.56 kB / 412.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.506, allocations: 4 kB / 412.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.5062, allocations: 63.42 kB / 412.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.184e-06/0.5062, allocations: 0 / 412.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005353/0.5067, allocations: 117.4 kB / 412.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.5068, allocations: 51.41 kB / 413 MB, free: 13.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.507, allocations: 158.1 kB / 413.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.5071, allocations: 33.64 kB / 413.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.5072, allocations: 170.5 kB / 413.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.5072, allocations: 19.73 kB / 413.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-06/0.5072, allocations: 3.938 kB / 413.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.5074, allocations: 314.8 kB / 413.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.822e-05/0.5075, allocations: 23.98 kB / 413.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.467e-05/0.5075, allocations: 23.98 kB / 413.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.5077, allocations: 53.7 kB / 413.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5077, allocations: 0 / 413.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002983/0.508, allocations: 127.3 kB / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.508, allocations: 37.7 kB / 413.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5081, allocations: 0 / 413.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.5081, allocations: 0 / 413.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.5082, allocations: 11.98 kB / 413.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.5082, allocations: 3.953 kB / 413.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.87e-05/0.5083, allocations: 4 kB / 413.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.5083, allocations: 4.062 kB / 414 MB, free: 12.05 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.0001319/0.5085, allocations: 121.8 kB / 414.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.5085, allocations: 11.89 kB / 414.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.5088, allocations: 97.83 kB / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5089, allocations: 0 / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5089, allocations: 4 kB / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5089, allocations: 3.953 kB / 414.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.5094, allocations: 342.6 kB / 414.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5094, allocations: 0 / 414.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.334e-05/0.5095, allocations: 7.938 kB / 414.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.5095, allocations: 0 / 414.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.5095, allocations: 8 kB / 414.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.5095, allocations: 3.953 kB / 414.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5096, allocations: 0 / 414.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.5098, allocations: 171.5 kB / 414.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.5099, allocations: 92.95 kB / 414.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.5099, allocations: 0 / 414.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.51, allocations: 7.984 kB / 414.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.5101, allocations: 3.953 kB / 414.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.5101, allocations: 8 kB / 414.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001471/0.5103, allocations: 122 kB / 414.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5103, allocations: 3.938 kB / 414.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000397/0.5107, allocations: 39.92 kB / 415 MB, free: 10.91 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.001069/0.5118, allocations: 373.8 kB / 415.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.5121, allocations: 115.4 kB / 415.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5121, allocations: 0 / 415.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.96e-05/0.5122, allocations: 19.94 kB / 415.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.5125, allocations: 15.98 kB / 415.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.5131, allocations: 227.2 kB / 415.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.5135, allocations: 0.7004 MB / 416.4 MB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.5136, allocations: 15.44 kB / 416.4 MB, free: 9.465 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5136, allocations: 0 / 416.4 MB, free: 9.465 MB / 346.7 MB Notification: Performance of Templates: time 0.005092/0.5187, allocations: 1.658 MB / 418.1 MB, free: 7.812 MB / 346.7 MB