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.Test34.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.Test34,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.Test34") Notification: Performance of loadModel(ModelicaTest): time 1.859/1.859, allocations: 209.2 MB / 225.4 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.000428, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3437, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.4761, allocations: 75.87 MB / 407.7 MB, free: 2.586 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.4765, allocations: 75.95 kB / 407.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01849/0.495, allocations: 4.029 MB / 411.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.495, allocations: 0 / 411.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.4951, allocations: 0 / 411.8 MB, free: 14.48 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.0006192/0.4957, allocations: 432.7 kB / 412.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4958, allocations: 8.031 kB / 412.2 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.4958, allocations: 7.906 kB / 412.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.4961, allocations: 198.9 kB / 412.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.4962, allocations: 0 / 412.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.4962, allocations: 11.92 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.4964, allocations: 49.67 kB / 412.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4964, allocations: 0 / 412.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4964, allocations: 0 / 412.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4964, allocations: 0 / 412.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.4965, allocations: 20 kB / 412.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.497, allocations: 288.9 kB / 412.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.4973, allocations: 42.5 kB / 412.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.4974, allocations: 0 / 412.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.4975, allocations: 63.48 kB / 412.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.4975, allocations: 0 / 412.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005404/0.4981, allocations: 125.2 kB / 413 MB, free: 13.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.4982, allocations: 55.36 kB / 413.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.4984, allocations: 173.3 kB / 413.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.4985, allocations: 29.7 kB / 413.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.4985, allocations: 158.6 kB / 413.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.4986, allocations: 19.8 kB / 413.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.4986, allocations: 0 / 413.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4987, allocations: 318.8 kB / 413.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-05/0.4988, allocations: 23.98 kB / 413.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.4989, allocations: 23.98 kB / 413.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.499, allocations: 57.64 kB / 413.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.499, allocations: 0 / 413.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002918/0.4993, allocations: 127.4 kB / 414 MB, free: 12.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.4994, allocations: 29.7 kB / 414 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4994, allocations: 0 / 414 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4994, allocations: 4 kB / 414 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/0.4995, allocations: 15.92 kB / 414 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4996, allocations: 7.953 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.563e-05/0.4997, allocations: 4.062 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.4997, allocations: 8 kB / 414 MB, free: 11.99 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.0001302/0.4998, allocations: 117.8 kB / 414.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.4999, allocations: 11.89 kB / 414.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.5002, allocations: 89.98 kB / 414.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5002, allocations: 0 / 414.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.5002, allocations: 0 / 414.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.5002, allocations: 7.953 kB / 414.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.5007, allocations: 354.4 kB / 414.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.5008, allocations: 4 kB / 414.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.5008, allocations: 4 kB / 414.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.5008, allocations: 0 / 414.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.5009, allocations: 11.98 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.5009, allocations: 3.953 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5009, allocations: 0 / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.5011, allocations: 179.6 kB / 414.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.5012, allocations: 89 kB / 414.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.5013, allocations: 4 kB / 414.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.5014, allocations: 7.984 kB / 414.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.5014, allocations: 3.953 kB / 414.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.5015, allocations: 7.984 kB / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001587/0.5016, allocations: 127.8 kB / 415 MB, free: 10.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5016, allocations: 0 / 415 MB, free: 10.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003681/0.502, allocations: 39.94 kB / 415.1 MB, free: 10.84 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.001034/0.5031, allocations: 368.6 kB / 415.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.5034, allocations: 115.3 kB / 415.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5034, allocations: 0 / 415.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.5035, allocations: 23.98 kB / 415.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.5038, allocations: 15.98 kB / 415.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.5044, allocations: 223.3 kB / 415.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.5047, allocations: 0.7043 MB / 416.5 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.5048, allocations: 19.38 kB / 416.5 MB, free: 9.383 MB / 346.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5048, allocations: 0 / 416.5 MB, free: 9.383 MB / 346.7 MB Notification: Performance of Templates: time 0.005207/0.51, allocations: 1.709 MB / 418.2 MB, free: 7.68 MB / 346.7 MB