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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.801/1.801, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.114e-05, allocations: 7.984 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08348/0.08354, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.4639, allocations: 74.65 MB / 401.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/0.4643, allocations: 78.61 kB / 401.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01511/0.4795, allocations: 3.208 MB / 404.5 MB, free: 9.125 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.163e-06/0.4795, allocations: 0 / 404.5 MB, free: 9.125 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4795, allocations: 0 / 404.5 MB, free: 9.125 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.0003041/0.4798, allocations: 389.8 kB / 404.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.4799, allocations: 11.5 kB / 404.9 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.4799, allocations: 3.906 kB / 404.9 MB, free: 8.715 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.4801, allocations: 186.3 kB / 405 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4801, allocations: 3.781 kB / 405 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.4802, allocations: 3.938 kB / 405.1 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.4803, allocations: 66.69 kB / 405.1 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4803, allocations: 0 / 405.1 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4804, allocations: 0 / 405.1 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-06/0.4804, allocations: 3.969 kB / 405.1 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.274e-05/0.4804, allocations: 11.66 kB / 405.1 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.4807, allocations: 271.5 kB / 405.4 MB, free: 8.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.4809, allocations: 37.92 kB / 405.4 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.481, allocations: 15.77 kB / 405.5 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.481, allocations: 3.844 kB / 405.5 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.481, allocations: 34.64 kB / 405.5 MB, free: 8.078 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.098e-06/0.481, allocations: 0 / 405.5 MB, free: 8.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004035/0.4814, allocations: 107.5 kB / 405.6 MB, free: 8.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.4815, allocations: 80.95 kB / 405.7 MB, free: 7.926 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.4816, allocations: 119.3 kB / 405.8 MB, free: 7.824 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.4816, allocations: 29.33 kB / 405.8 MB, free: 7.793 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.4817, allocations: 150.6 kB / 406 MB, free: 7.645 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.4817, allocations: 22.56 kB / 406 MB, free: 7.629 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-06/0.4817, allocations: 0 / 406 MB, free: 7.629 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.4818, allocations: 321.9 kB / 406.3 MB, free: 7.309 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-05/0.4818, allocations: 12.38 kB / 406.3 MB, free: 7.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.282e-05/0.4819, allocations: 32.34 kB / 406.3 MB, free: 7.289 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.964e-05/0.4819, allocations: 49.36 kB / 406.4 MB, free: 7.246 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-06/0.4819, allocations: 0 / 406.4 MB, free: 7.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001439/0.4821, allocations: 90.17 kB / 406.5 MB, free: 7.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.4821, allocations: 37.38 kB / 406.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.321e-06/0.4822, allocations: 0 / 406.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.4822, allocations: 0 / 406.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.4823, allocations: 11.69 kB / 406.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4823, allocations: 0 / 406.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.4824, allocations: 19.05 kB / 406.5 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4824, allocations: 0 / 406.5 MB, free: 7.137 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.079e-05/0.4824, allocations: 108.8 kB / 406.7 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.4825, allocations: 0 / 406.7 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.4827, allocations: 86.56 kB / 406.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.632e-06/0.4827, allocations: 0 / 406.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4827, allocations: 0 / 406.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4827, allocations: 3.844 kB / 406.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.483, allocations: 325.3 kB / 407.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4831, allocations: 0 / 407.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-05/0.4832, allocations: 15.52 kB / 407.1 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.583e-06/0.4832, allocations: 0 / 407.1 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.274e-06/0.4832, allocations: 3.938 kB / 407.1 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.004e-06/0.4832, allocations: 3.844 kB / 407.1 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.508e-06/0.4832, allocations: 0 / 407.1 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.4834, allocations: 165 kB / 407.2 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.4834, allocations: 88.81 kB / 407.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.4834, allocations: 0 / 407.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.4836, allocations: 7.656 kB / 407.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.4836, allocations: 3.984 kB / 407.3 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-06/0.4836, allocations: 10.84 kB / 407.4 MB, free: 6.395 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.538e-05/0.4837, allocations: 90.12 kB / 407.4 MB, free: 6.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.54e-07/0.4837, allocations: 0 / 407.4 MB, free: 6.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003442/0.4841, allocations: 29.64 kB / 407.5 MB, free: 6.309 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.0008505/0.4849, allocations: 316.8 kB / 407.8 MB, free: 6.125 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.4851, allocations: 92.75 kB / 407.9 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4851, allocations: 0 / 407.9 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.4852, allocations: 18.88 kB / 407.9 MB, free: 6.051 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.4854, allocations: 7.781 kB / 407.9 MB, free: 6.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.4857, allocations: 121.2 kB / 408 MB, free: 5.934 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.4858, allocations: 0.6881 MB / 408.7 MB, free: 5.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.4859, allocations: 18.36 kB / 408.7 MB, free: 5.219 MB / 314.7 MB Notification: Performance of SimCode: time 1.438e-06/0.4859, allocations: 0 / 408.7 MB, free: 5.219 MB / 314.7 MB Notification: Performance of Templates: time 0.003214/0.4891, allocations: 1.439 MB / 410.2 MB, free: 4.488 MB / 314.7 MB