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.Test45.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.Test45,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.Test45") Notification: Performance of loadModel(ModelicaTest): time 2.153/2.153, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.000419, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3435, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.4773, allocations: 75.87 MB / 407.7 MB, free: 2.586 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.4776, allocations: 71.97 kB / 407.7 MB, free: 2.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01812/0.4957, allocations: 4.104 MB / 411.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4958, allocations: 0 / 411.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.4958, allocations: 0 / 411.8 MB, free: 14.41 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.0006635/0.4965, allocations: 432.7 kB / 412.3 MB, free: 13.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4965, allocations: 8.031 kB / 412.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.4966, allocations: 7.906 kB / 412.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.4969, allocations: 211.3 kB / 412.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.497, allocations: 0 / 412.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.497, allocations: 4 kB / 412.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.4972, allocations: 45.67 kB / 412.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.4972, allocations: 4 kB / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4972, allocations: 0 / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4972, allocations: 0 / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.229e-05/0.4973, allocations: 19.98 kB / 412.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.4978, allocations: 296.7 kB / 412.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.4981, allocations: 46.56 kB / 412.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.4981, allocations: 0 / 412.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.4983, allocations: 59.48 kB / 413 MB, free: 13.13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.154e-06/0.4983, allocations: 4 kB / 413 MB, free: 13.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005736/0.4989, allocations: 117.3 kB / 413.1 MB, free: 13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.499, allocations: 51.41 kB / 413.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.4993, allocations: 182.4 kB / 413.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.4993, allocations: 29.7 kB / 413.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.7e-05/0.4994, allocations: 166.5 kB / 413.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.4995, allocations: 11.8 kB / 413.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.4995, allocations: 4 kB / 413.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4997, allocations: 318.8 kB / 413.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.4998, allocations: 27.92 kB / 413.9 MB, free: 12.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-05/0.4998, allocations: 27.92 kB / 413.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.5, allocations: 57.64 kB / 413.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5, allocations: 0 / 413.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003032/0.5003, allocations: 131.5 kB / 414.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.5004, allocations: 33.7 kB / 414.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5004, allocations: 0 / 414.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5004, allocations: 0 / 414.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.5005, allocations: 11.98 kB / 414.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5005, allocations: 4 kB / 414.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.5006, allocations: 4 kB / 414.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.5007, allocations: 12 kB / 414.1 MB, free: 11.89 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.0001505/0.5008, allocations: 125.8 kB / 414.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.5009, allocations: 11.91 kB / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.5012, allocations: 93.92 kB / 414.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5012, allocations: 0 / 414.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5012, allocations: 0 / 414.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5012, allocations: 4 kB / 414.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.5018, allocations: 350.5 kB / 414.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5018, allocations: 3.984 kB / 414.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-05/0.5019, allocations: 8 kB / 414.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.5019, allocations: 0 / 414.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.5019, allocations: 0 / 414.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.5019, allocations: 3.938 kB / 414.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5019, allocations: 0 / 414.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.5022, allocations: 183.4 kB / 414.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.928e-05/0.5023, allocations: 89.02 kB / 415 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.5024, allocations: 4 kB / 415 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.5025, allocations: 4 kB / 415 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.5025, allocations: 3.984 kB / 415 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.5025, allocations: 4 kB / 415 MB, free: 10.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002181/0.5028, allocations: 141.9 kB / 415.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.82e-07/0.5028, allocations: 3.938 kB / 415.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003771/0.5032, allocations: 47.84 kB / 415.2 MB, free: 10.72 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.001079/0.5043, allocations: 368.2 kB / 415.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.5046, allocations: 115.3 kB / 415.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5046, allocations: 0 / 415.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.5047, allocations: 27.98 kB / 415.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.5051, allocations: 11.94 kB / 415.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.5057, allocations: 255.2 kB / 415.9 MB, free: 9.984 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.5061, allocations: 0.7043 MB / 416.7 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.5062, allocations: 23.42 kB / 416.7 MB, free: 9.23 MB / 346.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5062, allocations: 0 / 416.7 MB, free: 9.23 MB / 346.7 MB Notification: Performance of Templates: time 0.005521/0.5117, allocations: 1.733 MB / 418.4 MB, free: 7.504 MB / 346.7 MB