Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005917/0.0005918, allocations: 8 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3994, allocations: 48.69 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.5566, allocations: 74.52 MB / 406.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.557, allocations: 79.91 kB / 406.4 MB, free: 3.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0127/0.5697, allocations: 2.997 MB / 409.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5698, allocations: 0 / 409.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.5698, allocations: 12 kB / 409.4 MB, free: 0.8398 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005962/0.5704, allocations: 427.7 kB / 409.8 MB, free: 380 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5705, allocations: 15.95 kB / 409.8 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.5705, allocations: 11.91 kB / 409.9 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.5708, allocations: 202.8 kB / 410.1 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.5709, allocations: 0 / 410.1 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.5709, allocations: 11.98 kB / 410.1 MB, free: 96 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.5711, allocations: 49.69 kB / 410.1 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5711, allocations: 0 / 410.1 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.5712, allocations: 0 / 410.1 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.5712, allocations: 0 / 410.1 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.5713, allocations: 27.98 kB / 410.1 MB, free: 12 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.5718, allocations: 292.8 kB / 410.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.5721, allocations: 50.55 kB / 410.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.5722, allocations: 0 / 410.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.5722, allocations: 34.56 kB / 410.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.5722, allocations: 0 / 410.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008572/0.5731, allocations: 165.3 kB / 410.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.5731, allocations: 51.41 kB / 410.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.5735, allocations: 214.1 kB / 410.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.5735, allocations: 29.7 kB / 411 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.5736, allocations: 162.6 kB / 411.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.5736, allocations: 15.75 kB / 411.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-06/0.5736, allocations: 4 kB / 411.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5738, allocations: 314.8 kB / 411.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.5739, allocations: 23.98 kB / 411.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.5741, allocations: 31.97 kB / 411.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.5742, allocations: 49.7 kB / 411.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5742, allocations: 3.984 kB / 411.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003451/0.5746, allocations: 115.4 kB / 411.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.5746, allocations: 33.7 kB / 411.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.5747, allocations: 0 / 411.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.5747, allocations: 0 / 411.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.5748, allocations: 23.86 kB / 411.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.5748, allocations: 0 / 411.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/0.5749, allocations: 4 kB / 411.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.5749, allocations: 7.938 kB / 411.7 MB, free: 14.28 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001589/0.5751, allocations: 134.7 kB / 411.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.5752, allocations: 11.81 kB / 411.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.5756, allocations: 102.2 kB / 412 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5756, allocations: 4 kB / 412 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5756, allocations: 4.062 kB / 412 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5756, allocations: 7.984 kB / 412 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006724/0.5763, allocations: 374.5 kB / 412.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5763, allocations: 0 / 412.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.5764, allocations: 15.98 kB / 412.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.5765, allocations: 0 / 412.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.5765, allocations: 8 kB / 412.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5765, allocations: 0 / 412.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5765, allocations: 0 / 412.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.5769, allocations: 191.3 kB / 412.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.577, allocations: 100.9 kB / 412.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.577, allocations: 0 / 412.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.5771, allocations: 8 kB / 412.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.5772, allocations: 3.984 kB / 412.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.5772, allocations: 4 kB / 412.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002171/0.5775, allocations: 159.2 kB / 412.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5775, allocations: 0 / 412.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00033/0.5778, allocations: 27.92 kB / 412.9 MB, free: 13.04 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007138/0.5785, allocations: 246.3 kB / 413.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.5789, allocations: 119.3 kB / 413.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.5789, allocations: 0 / 413.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.5791, allocations: 32.05 kB / 413.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.5794, allocations: 8 kB / 413.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006984/0.5801, allocations: 291.3 kB / 413.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.5804, allocations: 0.7004 MB / 414.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.5805, allocations: 19.42 kB / 414.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.5805, allocations: 0 / 414.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of Templates: time 0.004416/0.585, allocations: 1.389 MB / 415.7 MB, free: 10.23 MB / 346.7 MB