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.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.851/1.851, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.219e-05, allocations: 7.984 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.087/0.08706, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.4501, allocations: 74.39 MB / 400.9 MB, free: 9.906 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.4505, allocations: 67.2 kB / 401 MB, free: 9.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.4662, allocations: 2.552 MB / 403.5 MB, free: 8.906 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.994e-06/0.4663, allocations: 0 / 403.5 MB, free: 8.906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.4663, allocations: 0 / 403.5 MB, free: 8.906 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.0004848/0.4668, allocations: 390.3 kB / 403.9 MB, free: 8.496 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.4669, allocations: 7.625 kB / 403.9 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.467, allocations: 7.812 kB / 403.9 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.4673, allocations: 187.3 kB / 404.1 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.4673, allocations: 3.906 kB / 404.1 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.4674, allocations: 0 / 404.1 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.4676, allocations: 40.2 kB / 404.2 MB, free: 8.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.4676, allocations: 3.812 kB / 404.2 MB, free: 8.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.4677, allocations: 4 kB / 404.2 MB, free: 8.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4677, allocations: 0 / 404.2 MB, free: 8.246 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.4678, allocations: 19.02 kB / 404.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.4684, allocations: 274.2 kB / 404.5 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.4688, allocations: 40.78 kB / 404.5 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.845e-05/0.4688, allocations: 12.48 kB / 404.5 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.4689, allocations: 4 kB / 404.5 MB, free: 7.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.469, allocations: 34.5 kB / 404.6 MB, free: 7.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 3.755e-06/0.469, allocations: 0 / 404.6 MB, free: 7.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007932/0.4698, allocations: 96.98 kB / 404.6 MB, free: 7.828 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.4699, allocations: 55.34 kB / 404.7 MB, free: 7.762 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.4701, allocations: 130.8 kB / 404.8 MB, free: 7.652 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.4701, allocations: 33.08 kB / 404.9 MB, free: 7.617 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.4702, allocations: 153.9 kB / 405 MB, free: 7.469 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.4703, allocations: 19.5 kB / 405 MB, free: 7.457 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.4703, allocations: 0 / 405 MB, free: 7.457 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.4704, allocations: 314.8 kB / 405.3 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.4705, allocations: 11.44 kB / 405.4 MB, free: 7.141 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.4706, allocations: 15.19 kB / 405.4 MB, free: 7.137 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.4708, allocations: 48.03 kB / 405.4 MB, free: 7.098 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.783e-06/0.4708, allocations: 0 / 405.4 MB, free: 7.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003064/0.4711, allocations: 92.83 kB / 405.5 MB, free: 7.027 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/0.4712, allocations: 33.39 kB / 405.5 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.173e-06/0.4712, allocations: 0 / 405.5 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.4713, allocations: 0 / 405.5 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.4715, allocations: 19.7 kB / 405.6 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.941e-06/0.4715, allocations: 0 / 405.6 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.4716, allocations: 11.69 kB / 405.6 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.4716, allocations: 0 / 405.6 MB, free: 6.984 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 4.908e-05/0.4717, allocations: 116 kB / 405.7 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.4717, allocations: 3.906 kB / 405.7 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.4719, allocations: 72.14 kB / 405.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.141e-06/0.4719, allocations: 0 / 405.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4719, allocations: 0 / 405.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.4719, allocations: 3.844 kB / 405.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.4723, allocations: 321.3 kB / 406.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.93e-06/0.4723, allocations: 3.984 kB / 406.1 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.4724, allocations: 19.06 kB / 406.1 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4724, allocations: 144 / 406.1 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.032e-06/0.4724, allocations: 0 / 406.1 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.209e-06/0.4724, allocations: 0 / 406.1 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.621e-06/0.4725, allocations: 0 / 406.1 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.4726, allocations: 172.1 kB / 406.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.4727, allocations: 88.81 kB / 406.4 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.4727, allocations: 4 kB / 406.4 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4728, allocations: 3.875 kB / 406.4 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.4728, allocations: 7.734 kB / 406.4 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.952e-06/0.4729, allocations: 3.438 kB / 406.4 MB, free: 6.246 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.823e-05/0.4729, allocations: 98.03 kB / 406.5 MB, free: 6.172 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.473, allocations: 0 / 406.5 MB, free: 6.172 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003233/0.4733, allocations: 19.52 kB / 406.5 MB, free: 6.164 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.000674/0.474, allocations: 245.9 kB / 406.7 MB, free: 6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.4741, allocations: 94.61 kB / 406.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.138e-06/0.4742, allocations: 0 / 406.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.297e-05/0.4742, allocations: 15.25 kB / 406.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.4745, allocations: 7.188 kB / 406.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.4748, allocations: 129.8 kB / 407 MB, free: 5.812 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.4749, allocations: 0.6884 MB / 407.7 MB, free: 5.109 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.475, allocations: 15.27 kB / 407.7 MB, free: 5.098 MB / 314.7 MB Notification: Performance of SimCode: time 2.001e-06/0.475, allocations: 0 / 407.7 MB, free: 5.098 MB / 314.7 MB Notification: Performance of Templates: time 0.002831/0.4778, allocations: 1.175 MB / 408.8 MB, free: 4.508 MB / 314.7 MB