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.Test24.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test24") Notification: Performance of loadModel(ModelicaTest): time 1.894/1.894, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.214e-05/1.22e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2605, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.3727, allocations: 73.99 MB / 394 MB, free: 6.473 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.3729, allocations: 67.95 kB / 394.1 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01225/0.3852, allocations: 3.094 MB / 397.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.187e-06/0.3853, allocations: 0 / 397.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.3853, allocations: 4 kB / 397.2 MB, free: 3.301 MB / 330.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.0004635/0.3858, allocations: 380.2 kB / 397.5 MB, free: 2.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3858, allocations: 12.03 kB / 397.5 MB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.3859, allocations: 7.906 kB / 397.6 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.3861, allocations: 194.8 kB / 397.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3862, allocations: 4 kB / 397.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3862, allocations: 4 kB / 397.8 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.646e-05/0.3863, allocations: 12 kB / 397.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.3864, allocations: 51.41 kB / 397.8 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3864, allocations: 0 / 397.8 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3865, allocations: 3.938 kB / 397.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.9e-06/0.3865, allocations: 4 kB / 397.8 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.3869, allocations: 249.4 kB / 398.1 MB, free: 2.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.3871, allocations: 38.56 kB / 398.1 MB, free: 2.211 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.3871, allocations: 8.859 kB / 398.1 MB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3871, allocations: 3.984 kB / 398.1 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.3872, allocations: 30.56 kB / 398.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.242e-06/0.3872, allocations: 0 / 398.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004596/0.3877, allocations: 109.4 kB / 398.3 MB, free: 2.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.3877, allocations: 81.11 kB / 398.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3879, allocations: 104.9 kB / 398.4 MB, free: 1.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3879, allocations: 29.7 kB / 398.5 MB, free: 1.801 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.388, allocations: 158.5 kB / 398.6 MB, free: 1.645 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.388, allocations: 19.66 kB / 398.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-06/0.3881, allocations: 0 / 398.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3882, allocations: 318.8 kB / 398.9 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.487e-05/0.3883, allocations: 12 kB / 399 MB, free: 1.293 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.3883, allocations: 29.7 kB / 399 MB, free: 1.258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.3884, allocations: 12 kB / 399 MB, free: 1.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-06/0.3884, allocations: 3.938 kB / 399 MB, free: 1.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001595/0.3886, allocations: 61.69 kB / 399.1 MB, free: 1.176 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.3886, allocations: 29.7 kB / 399.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.3886, allocations: 0 / 399.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3887, allocations: 4 kB / 399.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.3888, allocations: 16.02 kB / 399.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.601e-06/0.3888, allocations: 4 kB / 399.1 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.3889, allocations: 4 kB / 399.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3889, allocations: 4 kB / 399.1 MB, free: 1.109 MB / 330.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 9.479e-05/0.389, allocations: 112 kB / 399.2 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.3891, allocations: 4 kB / 399.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.3892, allocations: 70.17 kB / 399.3 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.753e-06/0.3893, allocations: 11.94 kB / 399.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.977e-06/0.3893, allocations: 4.062 kB / 399.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-06/0.3893, allocations: 0 / 399.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.3898, allocations: 303.1 kB / 399.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-06/0.3898, allocations: 0 / 399.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.3899, allocations: 19.88 kB / 399.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.802e-06/0.3899, allocations: 0 / 399.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3899, allocations: 4 kB / 399.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.702e-06/0.3899, allocations: 0 / 399.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.59e-06/0.3899, allocations: 4 kB / 399.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.3901, allocations: 151.5 kB / 399.8 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.3902, allocations: 85 kB / 399.9 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.3902, allocations: 4 kB / 399.9 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3904, allocations: 4 kB / 399.9 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.3904, allocations: 7.984 kB / 399.9 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-06/0.3904, allocations: 8 kB / 399.9 MB, free: 256 kB / 330.7 MB Notification: Performance of sorting global known variables: time 8.633e-05/0.3905, allocations: 87.28 kB / 400 MB, free: 168 kB / 330.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.3905, allocations: 0 / 400 MB, free: 168 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003661/0.3909, allocations: 27.98 kB / 400 MB, free: 140 kB / 330.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.0008843/0.3918, allocations: 290.8 kB / 400.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.392, allocations: 79.34 kB / 400.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.441e-06/0.392, allocations: 4 kB / 400.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.829e-05/0.3921, allocations: 12 kB / 400.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.3923, allocations: 18.52 kB / 400.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.3927, allocations: 126.7 kB / 400.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.3931, allocations: 0.6846 MB / 401.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.3931, allocations: 19.42 kB / 401.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.589e-06/0.3932, allocations: 0 / 401.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of Templates: time 0.003883/0.397, allocations: 1.441 MB / 402.7 MB, free: 13.45 MB / 346.7 MB