Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test24.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.681e-05/2.709e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.0882, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3364/0.4247, allocations: 74.66 MB / 401.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4249, allocations: 76.23 kB / 401.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01176/0.4367, allocations: 3.224 MB / 404.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.957e-06/0.4367, allocations: 0 / 404.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.4368, allocations: 0 / 404.5 MB, free: 9.117 MB / 314.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.000319/0.4371, allocations: 390.8 kB / 404.9 MB, free: 8.707 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4372, allocations: 11.38 kB / 404.9 MB, free: 8.707 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.4372, allocations: 3.906 kB / 404.9 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.4374, allocations: 182.1 kB / 405.1 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.4374, allocations: 7.531 kB / 405.1 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.4374, allocations: 3.938 kB / 405.1 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.4376, allocations: 62.03 kB / 405.1 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4376, allocations: 0 / 405.1 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4376, allocations: 0 / 405.1 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-06/0.4376, allocations: 3.781 kB / 405.1 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.574e-05/0.4377, allocations: 15.45 kB / 405.2 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.4381, allocations: 282.9 kB / 405.4 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.4383, allocations: 53.45 kB / 405.5 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.4383, allocations: 8.766 kB / 405.5 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.4383, allocations: 0 / 405.5 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.4384, allocations: 37.56 kB / 405.5 MB, free: 8.062 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.933e-06/0.4384, allocations: 3.844 kB / 405.5 MB, free: 8.062 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004389/0.4388, allocations: 109.6 kB / 405.6 MB, free: 8.004 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.4389, allocations: 84.83 kB / 405.7 MB, free: 7.906 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.44e-05/0.439, allocations: 111.6 kB / 405.8 MB, free: 7.812 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.439, allocations: 25.7 kB / 405.9 MB, free: 7.781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.4391, allocations: 154.4 kB / 406 MB, free: 7.633 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.4391, allocations: 27.27 kB / 406 MB, free: 7.613 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-06/0.4391, allocations: 0 / 406 MB, free: 7.613 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.4392, allocations: 314.8 kB / 406.3 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.632e-05/0.4392, allocations: 19.31 kB / 406.4 MB, free: 7.297 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-05/0.4393, allocations: 39.72 kB / 406.4 MB, free: 7.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.549e-05/0.4394, allocations: 45.06 kB / 406.5 MB, free: 7.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-06/0.4394, allocations: 0 / 406.5 MB, free: 7.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001569/0.4395, allocations: 99.98 kB / 406.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.4396, allocations: 33.56 kB / 406.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4396, allocations: 0 / 406.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4396, allocations: 0 / 406.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.4397, allocations: 11.72 kB / 406.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.028e-06/0.4397, allocations: 3.844 kB / 406.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.4398, allocations: 11.98 kB / 406.6 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.4398, allocations: 0 / 406.6 MB, free: 7.121 MB / 314.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 () * 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 5.477e-05/0.4399, allocations: 116.2 kB / 406.7 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.4399, allocations: 3.812 kB / 406.7 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.4401, allocations: 82.56 kB / 406.8 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.876e-06/0.4402, allocations: 0 / 406.8 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.311e-06/0.4402, allocations: 3.844 kB / 406.8 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4402, allocations: 4 kB / 406.8 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.4405, allocations: 333 kB / 407.1 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.348e-06/0.4406, allocations: 384 / 407.1 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.942e-05/0.4407, allocations: 15.45 kB / 407.2 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.334e-06/0.4407, allocations: 3.844 kB / 407.2 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4407, allocations: 4 kB / 407.2 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4407, allocations: 0 / 407.2 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.75e-06/0.4407, allocations: 0 / 407.2 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.4409, allocations: 172.2 kB / 407.3 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.4409, allocations: 81.02 kB / 407.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.441, allocations: 0 / 407.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.4411, allocations: 11.83 kB / 407.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.4411, allocations: 7.438 kB / 407.4 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.042e-06/0.4412, allocations: 3.875 kB / 407.4 MB, free: 6.379 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.134e-05/0.4412, allocations: 97.83 kB / 407.5 MB, free: 6.301 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.4412, allocations: 4 kB / 407.5 MB, free: 6.297 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.4416, allocations: 23.22 kB / 407.6 MB, free: 6.289 MB / 314.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 () * 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.0008722/0.4425, allocations: 317.4 kB / 407.9 MB, free: 6.102 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.4427, allocations: 91.55 kB / 408 MB, free: 6.035 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.724e-06/0.4427, allocations: 3.25 kB / 408 MB, free: 6.035 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.593e-05/0.4428, allocations: 19.03 kB / 408 MB, free: 6.031 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.4431, allocations: 11.25 kB / 408 MB, free: 6.027 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.4434, allocations: 131.6 kB / 408.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.4435, allocations: 0.6915 MB / 408.8 MB, free: 5.203 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.4436, allocations: 11.31 kB / 408.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of SimCode: time 1.505e-06/0.4436, allocations: 0 / 408.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of Templates: time 0.00337/0.447, allocations: 1.468 MB / 410.3 MB, free: 4.453 MB / 314.7 MB