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.Test2.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.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.865/1.865, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004219, allocations: 16 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.347, allocations: 48.69 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.4818, allocations: 75.82 MB / 407.6 MB, free: 2.617 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.4821, allocations: 75.95 kB / 407.7 MB, free: 2.543 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0174/0.4995, allocations: 3.837 MB / 411.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4996, allocations: 4 kB / 411.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.4996, allocations: 4 kB / 411.5 MB, free: 14.7 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.0005866/0.5002, allocations: 431.7 kB / 412 MB, free: 14.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5003, allocations: 8.031 kB / 412 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.5004, allocations: 4 kB / 412 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.5006, allocations: 194.8 kB / 412.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.5007, allocations: 0 / 412.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.5007, allocations: 4 kB / 412.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.5009, allocations: 45.69 kB / 412.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.5009, allocations: 0 / 412.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.5009, allocations: 0 / 412.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.5009, allocations: 4 kB / 412.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.248e-05/0.501, allocations: 19.92 kB / 412.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.5015, allocations: 292.8 kB / 412.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.5017, allocations: 38.56 kB / 412.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.5018, allocations: 12 kB / 412.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.5019, allocations: 59.42 kB / 412.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.502, allocations: 0 / 412.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005177/0.5025, allocations: 109.6 kB / 412.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.5026, allocations: 51.41 kB / 412.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.5028, allocations: 162.4 kB / 412.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.5028, allocations: 25.7 kB / 413 MB, free: 13.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.5029, allocations: 166.5 kB / 413.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.5029, allocations: 11.89 kB / 413.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/0.5029, allocations: 3.938 kB / 413.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5031, allocations: 322.8 kB / 413.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.5032, allocations: 23.98 kB / 413.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.5032, allocations: 19.94 kB / 413.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.5034, allocations: 53.69 kB / 413.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5034, allocations: 0 / 413.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002802/0.5037, allocations: 131.3 kB / 413.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.5037, allocations: 41.69 kB / 413.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5037, allocations: 0 / 413.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.5038, allocations: 3.984 kB / 413.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.5039, allocations: 8 kB / 413.7 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5039, allocations: 0 / 413.7 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.198e-05/0.504, allocations: 4 kB / 413.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.504, allocations: 11.94 kB / 413.8 MB, free: 12.24 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.000112/0.5041, allocations: 113.8 kB / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.5041, allocations: 7.906 kB / 413.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.5044, allocations: 93.92 kB / 414 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5044, allocations: 0 / 414 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5045, allocations: 0 / 414 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.5045, allocations: 0 / 414 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.5049, allocations: 350.5 kB / 414.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.505, allocations: 0 / 414.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.505, allocations: 4 kB / 414.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.505, allocations: 4 kB / 414.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.5051, allocations: 7.984 kB / 414.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5051, allocations: 0 / 414.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5051, allocations: 0 / 414.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.5053, allocations: 179.6 kB / 414.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.5054, allocations: 89 kB / 414.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.5055, allocations: 0 / 414.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.5056, allocations: 8 kB / 414.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.5056, allocations: 96 / 414.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.5057, allocations: 19.86 kB / 414.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.5058, allocations: 114.3 kB / 414.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5058, allocations: 0 / 414.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003659/0.5062, allocations: 39.86 kB / 414.8 MB, free: 11.13 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.001025/0.5072, allocations: 368.2 kB / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.5075, allocations: 111.4 kB / 415.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5075, allocations: 0 / 415.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.061e-05/0.5076, allocations: 23.88 kB / 415.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.5079, allocations: 19.92 kB / 415.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.5085, allocations: 215.5 kB / 415.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.5088, allocations: 0.6926 MB / 416.2 MB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.5089, allocations: 15.42 kB / 416.2 MB, free: 9.691 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5089, allocations: 0 / 416.2 MB, free: 9.691 MB / 346.7 MB Notification: Performance of Templates: time 0.005008/0.5139, allocations: 1.636 MB / 417.8 MB, free: 8.062 MB / 346.7 MB