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.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadModel(ModelicaTest): time 2.01/2.01, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.44e-05/1.448e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2614, allocations: 48.68 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.3721, allocations: 73.76 MB / 393.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.3724, allocations: 67.97 kB / 393.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01689/0.3893, allocations: 5.288 MB / 399.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3893, allocations: 0 / 399.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.308e-05/0.3894, allocations: 8 kB / 399.1 MB, free: 1.312 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006975/0.3901, allocations: 0.5694 MB / 399.7 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3901, allocations: 12.03 kB / 399.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.005e-05/0.3903, allocations: 39.44 kB / 399.8 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.3908, allocations: 319.4 kB / 400.1 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3908, allocations: 0 / 400.1 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.3909, allocations: 7.938 kB / 400.1 MB, free: 284 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.548e-05/0.391, allocations: 16 kB / 400.1 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.793e-05/0.3911, allocations: 45.69 kB / 400.1 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3911, allocations: 0 / 400.1 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-06/0.3911, allocations: 0 / 400.1 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.382e-06/0.3911, allocations: 0 / 400.1 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006662/0.3918, allocations: 409.1 kB / 400.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.448e-05/0.3919, allocations: 46.5 kB / 400.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.848e-05/0.392, allocations: 16.86 kB / 400.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.392, allocations: 0 / 400.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.392, allocations: 34.64 kB / 400.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.796e-06/0.3921, allocations: 0 / 400.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000641/0.3927, allocations: 212 kB / 400.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3928, allocations: 59.41 kB / 400.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.3943, allocations: 0.7355 MB / 401.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.3944, allocations: 25.7 kB / 401.7 MB, free: 14.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.3946, allocations: 234.5 kB / 401.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.3946, allocations: 23.64 kB / 401.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/0.3946, allocations: 4 kB / 401.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3948, allocations: 310.8 kB / 402.2 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.3948, allocations: 16 kB / 402.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.083e-05/0.3949, allocations: 16 kB / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.529e-05/0.395, allocations: 19.98 kB / 402.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-06/0.395, allocations: 0 / 402.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001809/0.3952, allocations: 73.75 kB / 402.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.3952, allocations: 34.48 kB / 402.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3953, allocations: 0 / 402.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3953, allocations: 3.938 kB / 402.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.3954, allocations: 23.98 kB / 402.4 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.743e-06/0.3955, allocations: 7.953 kB / 402.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.3956, allocations: 11.98 kB / 402.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.3956, allocations: 8 kB / 402.4 MB, free: 13.8 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 (8): * Single equations (assignments): 7 * 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.529e-05/0.3957, allocations: 101 kB / 402.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.3958, allocations: 43.44 kB / 402.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.3961, allocations: 129.7 kB / 402.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.757e-06/0.3961, allocations: 4 kB / 402.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.26e-06/0.3962, allocations: 7.984 kB / 402.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.133e-06/0.3962, allocations: 3.953 kB / 402.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009201/0.3971, allocations: 0.5459 MB / 403.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.252e-06/0.3971, allocations: 3.938 kB / 403.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.3973, allocations: 23.98 kB / 403.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.165e-06/0.3973, allocations: 0 / 403.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.825e-06/0.3973, allocations: 0 / 403.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.453e-06/0.3973, allocations: 4 kB / 403.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.873e-06/0.3973, allocations: 7.953 kB / 403.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.3976, allocations: 198.9 kB / 403.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.3979, allocations: 156.6 kB / 403.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.3979, allocations: 0 / 403.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.3981, allocations: 15.98 kB / 403.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.3982, allocations: 11.98 kB / 403.7 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3982, allocations: 7.953 kB / 403.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008634/0.399, allocations: 0.5887 MB / 404.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.3991, allocations: 4 kB / 404.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004157/0.3995, allocations: 59.98 kB / 404.3 MB, free: 11.81 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 (7): * Single equations (assignments): 7 * 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.0006304/0.4001, allocations: 217.1 kB / 404.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.4004, allocations: 103.3 kB / 404.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.92e-06/0.4004, allocations: 0 / 404.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.377e-05/0.4004, allocations: 24 kB / 404.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.4007, allocations: 14.09 kB / 404.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.4022, allocations: 0.7445 MB / 405.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.4028, allocations: 0.8301 MB / 406.2 MB, free: 9.852 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.4029, allocations: 23.44 kB / 406.3 MB, free: 9.828 MB / 346.7 MB Notification: Performance of SimCode: time 1.561e-06/0.4029, allocations: 0 / 406.3 MB, free: 9.828 MB / 346.7 MB Notification: Performance of Templates: time 0.009899/0.4128, allocations: 4.028 MB / 410.3 MB, free: 5.789 MB / 346.7 MB