Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test19.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.CombiTable1D.Test19,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.CombiTable1D.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.124/2.124, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004282/0.0004283, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3603, allocations: 48.7 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1597/0.5201, allocations: 74.76 MB / 406.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.5204, allocations: 75.97 kB / 406.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0137/0.5342, allocations: 3.404 MB / 410 MB, free: 212 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5342, allocations: 3.938 kB / 410 MB, free: 208 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.5342, allocations: 4 kB / 410 MB, free: 204 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.0005252/0.5348, allocations: 392.9 kB / 410.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5348, allocations: 12.03 kB / 410.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.5349, allocations: 7.906 kB / 410.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.5352, allocations: 187 kB / 410.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.5352, allocations: 0 / 410.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.5352, allocations: 0 / 410.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.5355, allocations: 67.34 kB / 410.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.5355, allocations: 0 / 410.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.5355, allocations: 7.984 kB / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5355, allocations: 4 kB / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.5357, allocations: 23.98 kB / 410.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.5362, allocations: 284.8 kB / 411 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.5365, allocations: 58.48 kB / 411.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.5366, allocations: 0 / 411.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.5366, allocations: 34.56 kB / 411.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.5366, allocations: 0 / 411.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008948/0.5375, allocations: 161.5 kB / 411.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.5376, allocations: 81.11 kB / 411.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.5378, allocations: 121.8 kB / 411.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.5378, allocations: 25.7 kB / 411.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.5379, allocations: 158.6 kB / 411.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.538, allocations: 23.73 kB / 411.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.538, allocations: 3.938 kB / 411.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5381, allocations: 318.7 kB / 412 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.5383, allocations: 23.98 kB / 412 MB, free: 14.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.5385, allocations: 49.69 kB / 412 MB, free: 13.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.5387, allocations: 57.69 kB / 412.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5387, allocations: 0 / 412.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004028/0.5391, allocations: 131.2 kB / 412.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.5392, allocations: 33.7 kB / 412.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.5392, allocations: 0 / 412.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.5392, allocations: 0 / 412.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.5393, allocations: 16.25 kB / 412.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.5394, allocations: 3.984 kB / 412.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.153e-05/0.5395, allocations: 8 kB / 412.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.5395, allocations: 4 kB / 412.3 MB, free: 13.69 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.0001246/0.5396, allocations: 121.8 kB / 412.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.5397, allocations: 4 kB / 412.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/0.5401, allocations: 105.5 kB / 412.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5401, allocations: 0 / 412.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5401, allocations: 0 / 412.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5401, allocations: 8 kB / 412.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/0.5408, allocations: 358.4 kB / 412.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5408, allocations: 0 / 412.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.5409, allocations: 15.94 kB / 412.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.541, allocations: 0 / 412.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.541, allocations: 11.98 kB / 412.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.541, allocations: 0 / 412.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.541, allocations: 0 / 412.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.5414, allocations: 179.5 kB / 413.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.154e-05/0.5415, allocations: 97 kB / 413.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.5415, allocations: 0 / 413.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.5416, allocations: 4 kB / 413.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.5417, allocations: 7.984 kB / 413.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.5417, allocations: 0 / 413.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.5418, allocations: 99.27 kB / 413.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5418, allocations: 3.938 kB / 413.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.5422, allocations: 27.98 kB / 413.3 MB, free: 12.56 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.000918/0.5431, allocations: 343.5 kB / 413.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004394/0.5436, allocations: 115.4 kB / 413.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5436, allocations: 0 / 413.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.5438, allocations: 31.98 kB / 413.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.5441, allocations: 11.98 kB / 413.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.5446, allocations: 199 kB / 414 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.5449, allocations: 0.6887 MB / 414.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.545, allocations: 19.42 kB / 414.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.545, allocations: 0 / 414.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of Templates: time 0.005851/0.5509, allocations: 1.473 MB / 416.2 MB, free: 9.691 MB / 346.7 MB