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.Test47.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.Test47,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.Test47") Notification: Performance of loadModel(ModelicaTest): time 2.074/2.074, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004597, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3407, allocations: 48.71 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.4725, allocations: 75.86 MB / 407.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.4729, allocations: 71.97 kB / 407.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01906/0.4919, allocations: 4.347 MB / 412.1 MB, free: 14.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.492, allocations: 4 kB / 412.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.492, allocations: 0 / 412.1 MB, free: 14.16 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.0006388/0.4927, allocations: 448.5 kB / 412.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4927, allocations: 12.03 kB / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/0.4928, allocations: 19.8 kB / 412.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.4931, allocations: 206.8 kB / 412.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.4932, allocations: 8 kB / 412.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.4932, allocations: 0 / 412.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.4933, allocations: 53.61 kB / 412.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4934, allocations: 0 / 412.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4934, allocations: 0 / 412.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4934, allocations: 0 / 412.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.029e-05/0.4935, allocations: 19.98 kB / 412.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.494, allocations: 304.8 kB / 413.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.4943, allocations: 46.5 kB / 413.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.4943, allocations: 0 / 413.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.4945, allocations: 71.47 kB / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.4945, allocations: 0 / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005309/0.495, allocations: 121.2 kB / 413.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.4951, allocations: 63.33 kB / 413.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.4955, allocations: 243.5 kB / 413.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.4955, allocations: 25.7 kB / 413.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.4956, allocations: 178.5 kB / 413.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.4957, allocations: 7.906 kB / 413.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.4957, allocations: 0 / 413.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4958, allocations: 322.8 kB / 414.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.611e-05/0.4959, allocations: 20 kB / 414.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.496, allocations: 23.98 kB / 414.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.4961, allocations: 57.67 kB / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4961, allocations: 0 / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002905/0.4964, allocations: 131.3 kB / 414.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.4965, allocations: 33.69 kB / 414.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4965, allocations: 0 / 414.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.4965, allocations: 0 / 414.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.4966, allocations: 11.94 kB / 414.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4967, allocations: 8 kB / 414.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.424e-05/0.4967, allocations: 0 / 414.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.4968, allocations: 7.953 kB / 414.5 MB, free: 11.52 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.0001529/0.4969, allocations: 133.8 kB / 414.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.497, allocations: 7.906 kB / 414.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.4973, allocations: 98.56 kB / 414.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4973, allocations: 0 / 414.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4973, allocations: 4 kB / 414.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4973, allocations: 4 kB / 414.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.4979, allocations: 382.4 kB / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4979, allocations: 0 / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.498, allocations: 4 kB / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.498, allocations: 0 / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.498, allocations: 4.188 kB / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.498, allocations: 4 kB / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.498, allocations: 0 / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.4983, allocations: 187.3 kB / 415.3 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.4984, allocations: 96.92 kB / 415.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.4984, allocations: 3.984 kB / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4986, allocations: 0 / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.4986, allocations: 11.94 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.4986, allocations: 4 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002723/0.4989, allocations: 189.1 kB / 415.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4989, allocations: 0 / 415.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003866/0.4993, allocations: 43.94 kB / 415.6 MB, free: 10.27 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.001052/0.5004, allocations: 372.4 kB / 416 MB, free: 9.977 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.5007, allocations: 115.3 kB / 416.1 MB, free: 9.852 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5007, allocations: 0 / 416.1 MB, free: 9.852 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.321e-05/0.5008, allocations: 23.98 kB / 416.1 MB, free: 9.828 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.5012, allocations: 12.19 kB / 416.2 MB, free: 9.812 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/0.5019, allocations: 303.5 kB / 416.4 MB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.5023, allocations: 0.72 MB / 417.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.5023, allocations: 15.42 kB / 417.2 MB, free: 8.727 MB / 346.7 MB Notification: Performance of SimCode: time 3.146e-06/0.5024, allocations: 0 / 417.2 MB, free: 8.727 MB / 346.7 MB Notification: Performance of Templates: time 0.005607/0.508, allocations: 1.931 MB / 419.1 MB, free: 6.805 MB / 346.7 MB