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.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadModel(ModelicaTest): time 1.94/1.94, allocations: 209.4 MB / 217.3 MB, free: 4.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.967e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2582, allocations: 48.69 MB / 320 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.3683, allocations: 73.66 MB / 393.7 MB, free: 6.695 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.3685, allocations: 67.97 kB / 393.7 MB, free: 6.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01584/0.3844, allocations: 4.995 MB / 398.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.29e-06/0.3844, allocations: 0 / 398.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.624e-05/0.3845, allocations: 4 kB / 398.7 MB, free: 1.617 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.0006743/0.3852, allocations: 0.5615 MB / 399.3 MB, free: 1.004 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3852, allocations: 12.03 kB / 399.3 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.3853, allocations: 39.53 kB / 399.4 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/0.3859, allocations: 319.3 kB / 399.7 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.3859, allocations: 0 / 399.7 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.3859, allocations: 4 kB / 399.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.36e-05/0.386, allocations: 12 kB / 399.7 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.771e-05/0.3861, allocations: 37.69 kB / 399.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3861, allocations: 3.984 kB / 399.7 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3861, allocations: 4 kB / 399.7 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.745e-06/0.3862, allocations: 0 / 399.7 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.3868, allocations: 397.3 kB / 400.1 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.3869, allocations: 26.52 kB / 400.1 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.3869, allocations: 12.92 kB / 400.2 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3869, allocations: 0 / 400.2 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.387, allocations: 34.56 kB / 400.2 MB, free: 12 kB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.841e-06/0.387, allocations: 7.938 kB / 400.2 MB, free: 4 kB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002319/0.3872, allocations: 77.16 kB / 400.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.3873, allocations: 55.41 kB / 400.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.3888, allocations: 0.7393 MB / 401.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3889, allocations: 25.7 kB / 401.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.3891, allocations: 230.6 kB / 401.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.3891, allocations: 3.906 kB / 401.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-06/0.3891, allocations: 0 / 401.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3893, allocations: 322.8 kB / 401.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.3894, allocations: 4 kB / 401.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.3894, allocations: 8 kB / 401.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.3894, allocations: 7.984 kB / 401.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.3894, allocations: 0 / 401.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001195/0.3896, allocations: 37.7 kB / 401.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.3896, allocations: 40.03 kB / 401.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.974e-06/0.3896, allocations: 0 / 401.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3897, allocations: 3.938 kB / 401.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.3898, allocations: 8 kB / 401.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.179e-06/0.3898, allocations: 4 kB / 401.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.3899, allocations: 0 / 401.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.3899, allocations: 4 kB / 401.7 MB, free: 14.4 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 (3): * Single equations (assignments): 2 * 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.613e-05/0.39, allocations: 108.9 kB / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.3901, allocations: 35.53 kB / 401.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.3903, allocations: 96.73 kB / 402 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.914e-06/0.3904, allocations: 4 kB / 402 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.494e-06/0.3904, allocations: 4.031 kB / 402 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-06/0.3904, allocations: 0 / 402 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.3908, allocations: 302 kB / 402.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-06/0.3908, allocations: 0 / 402.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.3909, allocations: 7.984 kB / 402.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.3909, allocations: 0 / 402.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.639e-06/0.3909, allocations: 3.938 kB / 402.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.022e-06/0.3909, allocations: 0 / 402.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.329e-06/0.3909, allocations: 0 / 402.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.3912, allocations: 171.1 kB / 402.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.3914, allocations: 160.6 kB / 402.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.3915, allocations: 3.938 kB / 402.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3916, allocations: 4 kB / 402.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.3916, allocations: 7.922 kB / 402.6 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3917, allocations: 8 kB / 402.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008625/0.3925, allocations: 0.5887 MB / 403.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.3926, allocations: 0 / 403.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003926/0.393, allocations: 48.03 kB / 403.3 MB, free: 12.78 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 (2): * Single equations (assignments): 2 * 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.0005559/0.3935, allocations: 184.4 kB / 403.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.3937, allocations: 71.34 kB / 403.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3937, allocations: 0 / 403.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-05/0.3937, allocations: 4 kB / 403.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.394, allocations: 15.5 kB / 403.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.3954, allocations: 0.7243 MB / 404.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.396, allocations: 0.8224 MB / 405.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.3961, allocations: 15.44 kB / 405.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of SimCode: time 2.116e-06/0.3961, allocations: 4 kB / 405.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of Templates: time 0.009271/0.4054, allocations: 3.646 MB / 408.8 MB, free: 7.246 MB / 346.7 MB