Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.173/2.173, allocations: 209.2 MB / 225.4 MB, free: 0.7617 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004364, allocations: 12 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1124, allocations: 48.71 MB / 331.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.5368, allocations: 74.64 MB / 406.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.5372, allocations: 79.91 kB / 406.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01309/0.5503, allocations: 2.773 MB / 409.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5503, allocations: 0 / 409.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.5504, allocations: 4 kB / 409.3 MB, free: 7.688 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007731/0.5512, allocations: 442.4 kB / 409.7 MB, free: 7.207 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5512, allocations: 8.031 kB / 409.7 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.5513, allocations: 11.84 kB / 409.8 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.5515, allocations: 190.9 kB / 409.9 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.5516, allocations: 4 kB / 409.9 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.5516, allocations: 8 kB / 410 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.5521, allocations: 99.36 kB / 410.1 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5521, allocations: 4 kB / 410.1 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.5521, allocations: 4 kB / 410.1 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5521, allocations: 3.938 kB / 410.1 MB, free: 6.828 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.5527, allocations: 99.84 kB / 410.2 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/0.5533, allocations: 300.7 kB / 410.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.5537, allocations: 82.53 kB / 410.5 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.5538, allocations: 0 / 410.5 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.5538, allocations: 34.5 kB / 410.6 MB, free: 6.254 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.5538, allocations: 0 / 410.6 MB, free: 6.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.002891/0.5567, allocations: 465.1 kB / 411 MB, free: 5.793 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.5568, allocations: 81.06 kB / 411.1 MB, free: 5.695 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.557, allocations: 129.8 kB / 411.2 MB, free: 5.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.557, allocations: 29.7 kB / 411.3 MB, free: 5.523 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.252e-05/0.5571, allocations: 158.8 kB / 411.4 MB, free: 5.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.5572, allocations: 31.55 kB / 411.4 MB, free: 5.332 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.5573, allocations: 0 / 411.4 MB, free: 5.332 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5574, allocations: 318.8 kB / 411.8 MB, free: 5.012 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005598/0.558, allocations: 87.92 kB / 411.8 MB, free: 4.926 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.5586, allocations: 117.6 kB / 412 MB, free: 4.805 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.5592, allocations: 113.7 kB / 412.1 MB, free: 4.688 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5592, allocations: 0 / 412.1 MB, free: 4.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001257/0.5604, allocations: 259.2 kB / 412.3 MB, free: 4.422 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/0.5605, allocations: 29.7 kB / 412.4 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5605, allocations: 0 / 412.4 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.5606, allocations: 0 / 412.4 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.561, allocations: 55.89 kB / 412.4 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.561, allocations: 4.062 kB / 412.4 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.5613, allocations: 40.3 kB / 412.4 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.5614, allocations: 4 kB / 412.5 MB, free: 4.285 MB / 330.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 (9): * Single equations (assignments): 8 * 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.0001468/0.5615, allocations: 113.8 kB / 412.6 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.5616, allocations: 7.906 kB / 412.6 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.5629, allocations: 253.9 kB / 412.8 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.563, allocations: 0 / 412.8 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.563, allocations: 0 / 412.8 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.563, allocations: 0 / 412.8 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.5646, allocations: 0.506 MB / 413.3 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.5646, allocations: 0 / 413.3 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.565, allocations: 51.95 kB / 413.4 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.565, allocations: 0 / 413.4 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.5651, allocations: 4 kB / 413.4 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.5651, allocations: 0 / 413.4 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.5651, allocations: 3.953 kB / 413.4 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.5664, allocations: 327.3 kB / 413.7 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.5665, allocations: 85.28 kB / 413.8 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.5665, allocations: 4 kB / 413.8 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.5669, allocations: 27.97 kB / 413.8 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.5669, allocations: 19.88 kB / 413.8 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.567, allocations: 4 kB / 413.8 MB, free: 2.793 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.5671, allocations: 108.9 kB / 413.9 MB, free: 2.688 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5671, allocations: 0 / 413.9 MB, free: 2.688 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003741/0.5675, allocations: 35.94 kB / 414 MB, free: 2.652 MB / 330.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 (8): * Single equations (assignments): 8 * 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.0009612/0.5685, allocations: 339.7 kB / 414.3 MB, free: 2.387 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.5698, allocations: 251.2 kB / 414.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5698, allocations: 0 / 414.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005833/0.5704, allocations: 103.9 kB / 414.7 MB, free: 2.027 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.5707, allocations: 20.11 kB / 414.7 MB, free: 2.008 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.5714, allocations: 219.2 kB / 414.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.5717, allocations: 0.6965 MB / 415.6 MB, free: 1.039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.5718, allocations: 19.44 kB / 415.6 MB, free: 1.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5718, allocations: 0 / 415.6 MB, free: 1.02 MB / 330.7 MB Notification: Performance of Templates: time 0.005707/0.5775, allocations: 1.895 MB / 417.5 MB, free: 15.12 MB / 346.7 MB