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.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadModel(ModelicaTest): time 1.928/1.928, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.038e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08699/0.08704, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3911/0.4782, allocations: 74.55 MB / 401.1 MB, free: 9.973 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.4785, allocations: 70.59 kB / 401.1 MB, free: 9.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.012/0.4905, allocations: 3.304 MB / 404.5 MB, free: 8.633 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.273e-06/0.4905, allocations: 4 kB / 404.5 MB, free: 8.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.4906, allocations: 7.656 kB / 404.5 MB, free: 8.625 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003643/0.491, allocations: 410.9 kB / 404.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.491, allocations: 15.34 kB / 404.9 MB, free: 8.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.4911, allocations: 11.75 kB / 404.9 MB, free: 8.195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.4913, allocations: 211.4 kB / 405.1 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.904e-06/0.4913, allocations: 0 / 405.1 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.4913, allocations: 3.844 kB / 405.1 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.4915, allocations: 81.08 kB / 405.2 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4915, allocations: 0 / 405.2 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4915, allocations: 3.625 kB / 405.2 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-06/0.4916, allocations: 0 / 405.2 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.9e-05/0.4916, allocations: 29.92 kB / 405.2 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.4921, allocations: 405.7 kB / 405.6 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.4924, allocations: 81.16 kB / 405.7 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.4925, allocations: 28.06 kB / 405.7 MB, free: 7.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.4925, allocations: 7.938 kB / 405.7 MB, free: 7.445 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.4926, allocations: 39.41 kB / 405.8 MB, free: 7.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.278e-06/0.4926, allocations: 0 / 405.8 MB, free: 7.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006484/0.4932, allocations: 203.9 kB / 406 MB, free: 7.316 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.4933, allocations: 85 kB / 406 MB, free: 7.215 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.4935, allocations: 191.8 kB / 406.2 MB, free: 7.105 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.4935, allocations: 33.02 kB / 406.3 MB, free: 7.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.4936, allocations: 168.8 kB / 406.4 MB, free: 6.918 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.4936, allocations: 30.64 kB / 406.5 MB, free: 6.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-06/0.4936, allocations: 3.5 kB / 406.5 MB, free: 6.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.4937, allocations: 310.8 kB / 406.8 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/0.4938, allocations: 29.2 kB / 406.8 MB, free: 6.578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.4939, allocations: 22.52 kB / 406.8 MB, free: 6.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.292e-05/0.494, allocations: 63.91 kB / 406.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-06/0.494, allocations: 0 / 406.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002231/0.4942, allocations: 135.1 kB / 407 MB, free: 6.457 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.4942, allocations: 29.64 kB / 407 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.797e-06/0.4943, allocations: 0 / 407 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4943, allocations: 11.81 kB / 407.1 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.4944, allocations: 26.88 kB / 407.1 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.177e-06/0.4945, allocations: 3.984 kB / 407.1 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.4945, allocations: 7.703 kB / 407.1 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.4946, allocations: 3.875 kB / 407.1 MB, free: 6.406 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 (11): * Single equations (assignments): 10 * 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.622e-05/0.4946, allocations: 108.3 kB / 407.2 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.4947, allocations: 11.62 kB / 407.2 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.495, allocations: 137.2 kB / 407.3 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.393e-06/0.495, allocations: 3.906 kB / 407.3 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.495, allocations: 0 / 407.3 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.667e-06/0.4951, allocations: 0 / 407.3 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006462/0.4957, allocations: 0.5192 MB / 407.9 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4957, allocations: 0 / 407.9 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.4959, allocations: 23.36 kB / 407.9 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.933e-06/0.4959, allocations: 0 / 407.9 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.4959, allocations: 3.844 kB / 407.9 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.912e-06/0.4959, allocations: 3.953 kB / 407.9 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.853e-06/0.4959, allocations: 3.844 kB / 407.9 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.4962, allocations: 308.9 kB / 408.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.4962, allocations: 100.5 kB / 408.3 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.4963, allocations: 3.562 kB / 408.3 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.4964, allocations: 7.625 kB / 408.3 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.4965, allocations: 11.83 kB / 408.3 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.4965, allocations: 6.281 kB / 408.3 MB, free: 5.398 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.4967, allocations: 169 kB / 408.5 MB, free: 5.305 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.4967, allocations: 0 / 408.5 MB, free: 5.305 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004112/0.4971, allocations: 27.3 kB / 408.5 MB, free: 5.301 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006849/0.4978, allocations: 236.3 kB / 408.8 MB, free: 5.152 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.498, allocations: 129.2 kB / 408.9 MB, free: 5.078 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4981, allocations: 0 / 408.9 MB, free: 5.078 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.407e-05/0.4982, allocations: 38.48 kB / 408.9 MB, free: 5.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.4985, allocations: 11.33 kB / 408.9 MB, free: 5.066 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.499, allocations: 255.1 kB / 409.2 MB, free: 4.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.4992, allocations: 0.7112 MB / 409.9 MB, free: 4.199 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.4992, allocations: 18.66 kB / 409.9 MB, free: 4.191 MB / 314.7 MB Notification: Performance of SimCode: time 1.701e-06/0.4993, allocations: 3.938 kB / 409.9 MB, free: 4.188 MB / 314.7 MB Notification: Performance of Templates: time 0.003703/0.503, allocations: 1.669 MB / 411.6 MB, free: 3.359 MB / 314.7 MB