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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.046/2.046, allocations: 209.3 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004229, allocations: 8 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4158, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.5536, allocations: 74.75 MB / 406.6 MB, free: 3.695 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.554, allocations: 75.95 kB / 406.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0141/0.5681, allocations: 3.389 MB / 410 MB, free: 236 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5682, allocations: 0 / 410 MB, free: 236 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.5682, allocations: 0 / 410 MB, free: 236 kB / 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.0005773/0.5688, allocations: 396.9 kB / 410.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.5688, allocations: 12.03 kB / 410.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.5689, allocations: 3.906 kB / 410.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.5692, allocations: 194.9 kB / 410.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5692, allocations: 3.938 kB / 410.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.5692, allocations: 8 kB / 410.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.5695, allocations: 59.41 kB / 410.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.5695, allocations: 0 / 410.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.5695, allocations: 4 kB / 410.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5695, allocations: 0 / 410.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.5697, allocations: 31.97 kB / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.5702, allocations: 276.7 kB / 411 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.5705, allocations: 46.56 kB / 411 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.5705, allocations: 12.08 kB / 411 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.5705, allocations: 30.56 kB / 411.1 MB, free: 15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.5706, allocations: 0 / 411.1 MB, free: 15 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008379/0.5714, allocations: 149.4 kB / 411.2 MB, free: 14.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.5715, allocations: 81.11 kB / 411.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.5717, allocations: 121.8 kB / 411.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.5717, allocations: 25.7 kB / 411.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.5718, allocations: 154.6 kB / 411.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.5718, allocations: 19.73 kB / 411.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/0.5718, allocations: 0 / 411.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.572, allocations: 326.7 kB / 411.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.5721, allocations: 23.98 kB / 412 MB, free: 14.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.5723, allocations: 45.62 kB / 412 MB, free: 14.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.5724, allocations: 53.73 kB / 412 MB, free: 13.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5725, allocations: 0 / 412 MB, free: 13.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004106/0.5729, allocations: 119.3 kB / 412.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.5729, allocations: 33.7 kB / 412.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5729, allocations: 0 / 412.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.573, allocations: 0 / 412.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.5731, allocations: 19.98 kB / 412.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.5731, allocations: 0 / 412.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.5732, allocations: 8 kB / 412.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.5732, allocations: 4 kB / 412.2 MB, free: 13.76 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.0001175/0.5734, allocations: 121.7 kB / 412.3 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.5734, allocations: 8 kB / 412.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.5738, allocations: 97.61 kB / 412.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.5738, allocations: 4 kB / 412.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.5739, allocations: 0 / 412.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5739, allocations: 0 / 412.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000655/0.5745, allocations: 358.7 kB / 412.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.5746, allocations: 4 kB / 412.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.5747, allocations: 19.98 kB / 412.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.5747, allocations: 0 / 412.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.5747, allocations: 4 kB / 412.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5747, allocations: 4 kB / 412.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5747, allocations: 0 / 412.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.5751, allocations: 183.5 kB / 413 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.5752, allocations: 85 kB / 413.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.5752, allocations: 3.938 kB / 413.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.5753, allocations: 12 kB / 413.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.5754, allocations: 4.266 kB / 413.1 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.5754, allocations: 8 kB / 413.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.5755, allocations: 91.27 kB / 413.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5755, allocations: 3.938 kB / 413.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003605/0.5759, allocations: 24 kB / 413.2 MB, free: 12.64 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.0009744/0.5769, allocations: 334 kB / 413.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.5773, allocations: 115.4 kB / 413.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5773, allocations: 4 kB / 413.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.5775, allocations: 27.92 kB / 413.7 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.5778, allocations: 11.92 kB / 413.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.5783, allocations: 195 kB / 413.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.5786, allocations: 0.6887 MB / 414.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.5787, allocations: 11.44 kB / 414.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/0.5787, allocations: 0 / 414.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of Templates: time 0.004694/0.5834, allocations: 1.431 MB / 416 MB, free: 9.828 MB / 346.7 MB