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.Test33.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.Test33,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.Test33") Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.2 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006036/0.0006035, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3449, allocations: 48.71 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4778, allocations: 75.87 MB / 407.7 MB, free: 2.578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.4781, allocations: 71.97 kB / 407.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.4964, allocations: 4.033 MB / 411.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4964, allocations: 0 / 411.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.4964, allocations: 4 kB / 411.8 MB, free: 14.47 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.0005902/0.4971, allocations: 432.6 kB / 412.2 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4971, allocations: 8.031 kB / 412.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.4972, allocations: 7.906 kB / 412.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.4975, allocations: 194.9 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.4975, allocations: 0 / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.4975, allocations: 8 kB / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.4977, allocations: 49.61 kB / 412.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4977, allocations: 4 kB / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4977, allocations: 0 / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4978, allocations: 0 / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.236e-05/0.4978, allocations: 19.98 kB / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.4983, allocations: 288.9 kB / 412.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.4986, allocations: 42.5 kB / 412.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.4986, allocations: 8 kB / 412.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.4988, allocations: 59.48 kB / 412.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.984e-06/0.4988, allocations: 0 / 412.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005237/0.4993, allocations: 121.2 kB / 413 MB, free: 13.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.4994, allocations: 55.36 kB / 413.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.4996, allocations: 177.3 kB / 413.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.4997, allocations: 33.7 kB / 413.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.4998, allocations: 162.5 kB / 413.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.4998, allocations: 19.81 kB / 413.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.4998, allocations: 0 / 413.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5, allocations: 318.8 kB / 413.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.5001, allocations: 16 kB / 413.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/0.5001, allocations: 23.98 kB / 413.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.5003, allocations: 57.64 kB / 413.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5003, allocations: 0 / 413.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002776/0.5006, allocations: 127.4 kB / 414 MB, free: 12.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.5006, allocations: 33.7 kB / 414 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.5006, allocations: 11.98 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.5007, allocations: 0 / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.5008, allocations: 16 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.5008, allocations: 3.953 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.533e-05/0.5009, allocations: 4 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.5009, allocations: 0 / 414 MB, free: 11.98 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.0001254/0.501, allocations: 121.8 kB / 414.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.5011, allocations: 7.906 kB / 414.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.5014, allocations: 93.98 kB / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.5014, allocations: 0 / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5014, allocations: 0 / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5014, allocations: 3.953 kB / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.5019, allocations: 362.4 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5019, allocations: 0 / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.502, allocations: 4 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.502, allocations: 0 / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.502, allocations: 4 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.502, allocations: 7.953 kB / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5021, allocations: 0 / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.5023, allocations: 179.3 kB / 414.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.641e-05/0.5024, allocations: 89.02 kB / 414.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.5024, allocations: 0 / 414.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.755e-05/0.5025, allocations: 4 kB / 414.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.5026, allocations: 7.938 kB / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.5026, allocations: 4 kB / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.5028, allocations: 131.8 kB / 415 MB, free: 10.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5028, allocations: 3.938 kB / 415 MB, free: 10.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003869/0.5032, allocations: 35.98 kB / 415.1 MB, free: 10.83 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.001081/0.5043, allocations: 372.6 kB / 415.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.5046, allocations: 123.3 kB / 415.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5046, allocations: 0 / 415.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7e-05/0.5047, allocations: 16 kB / 415.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.5051, allocations: 15.98 kB / 415.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.5057, allocations: 227.3 kB / 415.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.506, allocations: 0.7082 MB / 416.5 MB, free: 9.383 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.506, allocations: 11.44 kB / 416.5 MB, free: 9.371 MB / 346.7 MB Notification: Performance of SimCode: time 3.717e-06/0.506, allocations: 0 / 416.5 MB, free: 9.371 MB / 346.7 MB Notification: Performance of Templates: time 0.005035/0.5111, allocations: 1.713 MB / 418.2 MB, free: 7.664 MB / 346.7 MB