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.CombiTable2D.Test9.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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadModel(ModelicaTest): time 1.892/1.892, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.618e-05/1.631e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2596, allocations: 48.68 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.3695, allocations: 73.59 MB / 393.6 MB, free: 6.848 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.3698, allocations: 67.97 kB / 393.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01608/0.3859, allocations: 5.062 MB / 398.7 MB, free: 1.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.887e-06/0.3859, allocations: 0 / 398.7 MB, free: 1.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.437e-05/0.3859, allocations: 4 kB / 398.7 MB, free: 1.703 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.0006937/0.3866, allocations: 0.5655 MB / 399.3 MB, free: 1.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3867, allocations: 8.031 kB / 399.3 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.3868, allocations: 39.44 kB / 399.3 MB, free: 1.039 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.3873, allocations: 323.3 kB / 399.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3874, allocations: 4 kB / 399.7 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.3874, allocations: 0 / 399.7 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.176e-05/0.3875, allocations: 15.94 kB / 399.7 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.714e-05/0.3876, allocations: 45.62 kB / 399.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.39e-06/0.3876, allocations: 4 kB / 399.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3876, allocations: 0 / 399.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-06/0.3876, allocations: 0 / 399.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.3882, allocations: 389.4 kB / 400.1 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/0.3883, allocations: 26.58 kB / 400.1 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.3884, allocations: 28.81 kB / 400.2 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.3884, allocations: 4 kB / 400.2 MB, free: 120 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3885, allocations: 30.56 kB / 400.2 MB, free: 80 kB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.052e-06/0.3885, allocations: 0 / 400.2 MB, free: 80 kB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002445/0.3887, allocations: 81.14 kB / 400.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.3888, allocations: 51.41 kB / 400.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.3903, allocations: 0.7355 MB / 401.1 MB, free: 15.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.3904, allocations: 29.69 kB / 401.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.3906, allocations: 238.6 kB / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.3906, allocations: 7.844 kB / 401.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-06/0.3906, allocations: 0 / 401.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3908, allocations: 318.8 kB / 401.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.13e-05/0.3908, allocations: 8 kB / 401.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.3909, allocations: 8 kB / 401.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.3909, allocations: 12.06 kB / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-06/0.3909, allocations: 0 / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001286/0.3911, allocations: 49.69 kB / 401.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.3911, allocations: 38.47 kB / 401.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.281e-06/0.3911, allocations: 4 kB / 401.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3912, allocations: 0 / 401.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3913, allocations: 8 kB / 401.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.144e-06/0.3913, allocations: 0 / 401.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3914, allocations: 19.89 kB / 401.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.3914, allocations: 0 / 401.8 MB, free: 14.43 MB / 346.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 (4): * Single equations (assignments): 3 * 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 8.524e-05/0.3915, allocations: 108 kB / 401.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.3916, allocations: 43.53 kB / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.3919, allocations: 105.1 kB / 402 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-06/0.3919, allocations: 0 / 402 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.277e-06/0.3919, allocations: 0 / 402 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.268e-06/0.3919, allocations: 0 / 402 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.3923, allocations: 294 kB / 402.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-06/0.3923, allocations: 0 / 402.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.665e-05/0.3924, allocations: 11.98 kB / 402.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.231e-06/0.3924, allocations: 0 / 402.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.492e-06/0.3925, allocations: 4 kB / 402.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.328e-06/0.3925, allocations: 4 kB / 402.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.608e-06/0.3925, allocations: 7.875 kB / 402.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.3927, allocations: 179 kB / 402.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.393, allocations: 160.6 kB / 402.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.393, allocations: 0 / 402.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.3932, allocations: 7.938 kB / 402.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.3932, allocations: 11.98 kB / 402.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-06/0.3933, allocations: 0 / 402.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008811/0.3942, allocations: 0.5926 MB / 403.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.33e-07/0.3942, allocations: 4 kB / 403.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003911/0.3946, allocations: 44 kB / 403.3 MB, free: 12.79 MB / 346.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 (3): * Single equations (assignments): 3 * 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.0005179/0.3951, allocations: 188.6 kB / 403.5 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.3953, allocations: 71.41 kB / 403.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.572e-06/0.3953, allocations: 0 / 403.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.3953, allocations: 19.94 kB / 403.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.3956, allocations: 18.08 kB / 403.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.397, allocations: 0.7165 MB / 404.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.3976, allocations: 0.8224 MB / 405.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.3978, allocations: 19.44 kB / 405.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of SimCode: time 1.539e-06/0.3978, allocations: 0 / 405.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of Templates: time 0.009333/0.4071, allocations: 3.722 MB / 408.9 MB, free: 7.168 MB / 346.7 MB