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.Test3.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.Test3,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.Test3") Notification: Performance of loadModel(ModelicaTest): time 1.805/1.805, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.518e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08583/0.08588, allocations: 48.71 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3829/0.4688, allocations: 74.43 MB / 401 MB, free: 10.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.4691, allocations: 73.22 kB / 401 MB, free: 10.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009979/0.4791, allocations: 2.863 MB / 403.9 MB, free: 9.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.768e-06/0.4791, allocations: 0 / 403.9 MB, free: 9.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.4791, allocations: 3.812 kB / 403.9 MB, free: 9.199 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.0003203/0.4795, allocations: 405.2 kB / 404.3 MB, free: 8.781 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4795, allocations: 7.719 kB / 404.3 MB, free: 8.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.4796, allocations: 11.8 kB / 404.3 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.4798, allocations: 198 kB / 404.5 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.4798, allocations: 0 / 404.5 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.4798, allocations: 3.781 kB / 404.5 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.4799, allocations: 47.86 kB / 404.6 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.48, allocations: 0 / 404.6 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.89e-06/0.48, allocations: 0 / 404.6 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.48, allocations: 0 / 404.6 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.4801, allocations: 18.28 kB / 404.6 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.4804, allocations: 278.6 kB / 404.9 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.4806, allocations: 41.47 kB / 404.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.4806, allocations: 12.33 kB / 404.9 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.4806, allocations: 0 / 404.9 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.4807, allocations: 38.5 kB / 404.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/0.4807, allocations: 0 / 404.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004022/0.4811, allocations: 101.9 kB / 405 MB, free: 8.102 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.4811, allocations: 55.36 kB / 405.1 MB, free: 8.035 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.4813, allocations: 172.6 kB / 405.3 MB, free: 7.926 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.4813, allocations: 25.7 kB / 405.3 MB, free: 7.895 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.4814, allocations: 170.1 kB / 405.5 MB, free: 7.734 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.4814, allocations: 15.34 kB / 405.5 MB, free: 7.727 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-06/0.4814, allocations: 0 / 405.5 MB, free: 7.727 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.54e-05/0.4815, allocations: 318.8 kB / 405.8 MB, free: 7.406 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.806e-05/0.4815, allocations: 11.03 kB / 405.8 MB, free: 7.406 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.209e-05/0.4816, allocations: 11.47 kB / 405.8 MB, free: 7.406 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.614e-05/0.4816, allocations: 40.64 kB / 405.8 MB, free: 7.375 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-06/0.4816, allocations: 3.938 kB / 405.8 MB, free: 7.371 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001372/0.4818, allocations: 89.67 kB / 405.9 MB, free: 7.305 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.4818, allocations: 33.23 kB / 406 MB, free: 7.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.043e-06/0.4818, allocations: 4.062 kB / 406 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.4819, allocations: 4 kB / 406 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.4819, allocations: 15.2 kB / 406 MB, free: 7.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.642e-06/0.482, allocations: 3.938 kB / 406 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.482, allocations: 11.77 kB / 406 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.647e-06/0.4821, allocations: 0 / 406 MB, free: 7.254 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.981e-05/0.4821, allocations: 112.8 kB / 406.1 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.4822, allocations: 11.72 kB / 406.1 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.4823, allocations: 71.59 kB / 406.2 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-06/0.4824, allocations: 0 / 406.2 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.084e-06/0.4824, allocations: 0 / 406.2 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-06/0.4824, allocations: 0 / 406.2 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.4827, allocations: 347.9 kB / 406.5 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.225e-06/0.4828, allocations: 3.844 kB / 406.5 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.253e-05/0.4829, allocations: 19.02 kB / 406.6 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.461e-06/0.4829, allocations: 4 kB / 406.6 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4829, allocations: 0 / 406.6 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.276e-06/0.4829, allocations: 0 / 406.6 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.982e-06/0.4829, allocations: 3.953 kB / 406.6 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.4831, allocations: 161.5 kB / 406.7 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.4831, allocations: 88.83 kB / 406.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.4832, allocations: 0 / 406.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.4833, allocations: 15.55 kB / 406.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.4833, allocations: 3.75 kB / 406.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.4834, allocations: 4.141 kB / 406.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.4835, allocations: 140.4 kB / 407 MB, free: 6.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.4835, allocations: 0 / 407 MB, free: 6.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003295/0.4838, allocations: 22.81 kB / 407 MB, free: 6.422 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.0006942/0.4846, allocations: 253.1 kB / 407.2 MB, free: 6.254 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.4847, allocations: 89.09 kB / 407.3 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.668e-06/0.4847, allocations: 0 / 407.3 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.4848, allocations: 15.28 kB / 407.3 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.4851, allocations: 11.33 kB / 407.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.4854, allocations: 174.4 kB / 407.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.4856, allocations: 0.7037 MB / 408.2 MB, free: 5.344 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.4857, allocations: 11.34 kB / 408.2 MB, free: 5.336 MB / 314.7 MB Notification: Performance of SimCode: time 1.612e-06/0.4857, allocations: 0 / 408.2 MB, free: 5.336 MB / 314.7 MB Notification: Performance of Templates: time 0.003016/0.4887, allocations: 1.288 MB / 409.5 MB, free: 4.699 MB / 314.7 MB