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.Test23.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.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.11/2.11, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.875e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08811/0.08816, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3365/0.4247, allocations: 74.65 MB / 401.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.425, allocations: 79.44 kB / 401.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0116/0.4366, allocations: 3.227 MB / 404.5 MB, free: 9.133 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.131e-06/0.4366, allocations: 0 / 404.5 MB, free: 9.133 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.4366, allocations: 0 / 404.5 MB, free: 9.133 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.000309/0.437, allocations: 390.1 kB / 404.9 MB, free: 8.727 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.437, allocations: 11.41 kB / 404.9 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.4371, allocations: 3.906 kB / 404.9 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.4372, allocations: 185.8 kB / 405.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.4373, allocations: 6.906 kB / 405.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.4373, allocations: 0 / 405.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.4374, allocations: 69.45 kB / 405.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4374, allocations: 0 / 405.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.4375, allocations: 0 / 405.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.4375, allocations: 3.844 kB / 405.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.596e-05/0.4375, allocations: 11.16 kB / 405.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.4379, allocations: 280.9 kB / 405.4 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.4381, allocations: 52.47 kB / 405.5 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.4381, allocations: 8.766 kB / 405.5 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.4382, allocations: 0 / 405.5 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.4382, allocations: 34.5 kB / 405.5 MB, free: 8.082 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.946e-06/0.4382, allocations: 3.812 kB / 405.5 MB, free: 8.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004325/0.4386, allocations: 109.2 kB / 405.6 MB, free: 8.023 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.4387, allocations: 85.05 kB / 405.7 MB, free: 7.922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.4388, allocations: 121.3 kB / 405.8 MB, free: 7.824 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.4388, allocations: 25.7 kB / 405.9 MB, free: 7.793 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.4389, allocations: 154.1 kB / 406 MB, free: 7.645 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.4389, allocations: 22.94 kB / 406 MB, free: 7.629 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-06/0.4389, allocations: 0 / 406 MB, free: 7.629 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.051e-05/0.439, allocations: 318.8 kB / 406.4 MB, free: 7.309 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.711e-05/0.439, allocations: 15.34 kB / 406.4 MB, free: 7.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.613e-05/0.4391, allocations: 39.91 kB / 406.4 MB, free: 7.281 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.266e-05/0.4392, allocations: 51.81 kB / 406.5 MB, free: 7.242 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-06/0.4392, allocations: 0 / 406.5 MB, free: 7.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000172/0.4394, allocations: 92.08 kB / 406.5 MB, free: 7.176 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.4394, allocations: 33.27 kB / 406.6 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4394, allocations: 0 / 406.6 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.4395, allocations: 0 / 406.6 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.975e-05/0.4396, allocations: 15.48 kB / 406.6 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.4396, allocations: 0 / 406.6 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.213e-05/0.4397, allocations: 19.36 kB / 406.6 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.4397, allocations: 0 / 406.6 MB, free: 7.133 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.32e-05/0.4397, allocations: 108.8 kB / 406.7 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.4398, allocations: 0 / 406.7 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.44, allocations: 89.73 kB / 406.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-06/0.44, allocations: 0 / 406.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.124e-06/0.44, allocations: 0 / 406.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.42e-06/0.44, allocations: 0 / 406.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.4404, allocations: 340 kB / 407.1 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.51e-06/0.4404, allocations: 0 / 407.1 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.368e-05/0.4405, allocations: 15.23 kB / 407.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.249e-06/0.4405, allocations: 3.875 kB / 407.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.4405, allocations: 2.875 kB / 407.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4405, allocations: 0 / 407.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4406, allocations: 320 / 407.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.4407, allocations: 168.5 kB / 407.3 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.4407, allocations: 88.97 kB / 407.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.4408, allocations: 0 / 407.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4409, allocations: 7.062 kB / 407.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.4409, allocations: 3.984 kB / 407.4 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-06/0.441, allocations: 11.59 kB / 407.4 MB, free: 6.395 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.643e-05/0.441, allocations: 90.09 kB / 407.5 MB, free: 6.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.441, allocations: 4 kB / 407.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003501/0.4414, allocations: 29.58 kB / 407.6 MB, free: 6.305 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.000867/0.4423, allocations: 320.5 kB / 407.9 MB, free: 6.113 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.4425, allocations: 87.84 kB / 408 MB, free: 6.051 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.754e-06/0.4425, allocations: 0 / 408 MB, free: 6.051 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.292e-05/0.4425, allocations: 26.33 kB / 408 MB, free: 6.043 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.4428, allocations: 3.812 kB / 408 MB, free: 6.043 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.4431, allocations: 132.1 kB / 408.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.4432, allocations: 0.6884 MB / 408.8 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.4433, allocations: 19.02 kB / 408.8 MB, free: 5.211 MB / 314.7 MB Notification: Performance of SimCode: time 1.582e-06/0.4433, allocations: 0 / 408.8 MB, free: 5.211 MB / 314.7 MB Notification: Performance of Templates: time 0.003283/0.4466, allocations: 1.477 MB / 410.3 MB, free: 4.461 MB / 314.7 MB