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.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|.tableR.1, 1..|.tableR.1, 2..|.tableR.1, 3..|.tableR.1, 4..|.tableR.2, 1..|.tableR.2, 2..|.tableR.2, 3..|.tableR.2, 4..|.tableR.3, 1..|.tableR.3, 2..|.tableR.3, 3..|.tableR.3, 4..|.tableR.4, 1..|.tableR.4, 2..|.tableR.4, 3..|.tableR.4, 4..|.tableL.1, 1..|.tableL.1, 2..|.tableL.1, 3..|.tableL.1, 4..|.tableL.2, 1..|.tableL.2, 2..|.tableL.2, 3..|.tableL.2, 4..|.tableL.3, 1..|.tableL.3, 2..|.tableL.3, 3..|.tableL.3, 4..|.tableL.4, 1..|.tableL.4, 2..|.tableL.4, 3..|.tableL.4, 4..|combiTable2D_1R.y|der_1R.y|combiTable2D_2R.y|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y|der_1L.y|combiTable2D_2L.y|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadModel(ModelicaTest): time 1.908/1.908, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.851e-05/1.859e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2615, allocations: 48.69 MB / 320 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.3739, allocations: 74.83 MB / 394.8 MB, free: 5.512 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.3742, allocations: 75.94 kB / 394.9 MB, free: 5.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02405/0.3983, allocations: 6.113 MB / 401 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.878e-06/0.3983, allocations: 0 / 401 MB, free: 15.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.19e-05/0.3984, allocations: 12 kB / 401 MB, free: 15.3 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009886/0.3994, allocations: 0.7296 MB / 401.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3994, allocations: 8.031 kB / 401.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.3995, allocations: 51.39 kB / 401.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008086/0.4004, allocations: 427.2 kB / 402.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4004, allocations: 4 kB / 402.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.4004, allocations: 12 kB / 402.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001782/0.4006, allocations: 55.98 kB / 402.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.4009, allocations: 104.8 kB / 402.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4009, allocations: 0 / 402.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.4009, allocations: 0 / 402.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.401, allocations: 11.95 kB / 402.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.4022, allocations: 0.6452 MB / 403.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.4024, allocations: 93.23 kB / 403.2 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.94e-05/0.4025, allocations: 33.84 kB / 403.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.4026, allocations: 15.94 kB / 403.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.4026, allocations: 30.56 kB / 403.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.73e-06/0.4026, allocations: 0 / 403.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001349/0.404, allocations: 406.7 kB / 403.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.404, allocations: 81.11 kB / 403.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.4052, allocations: 0.6886 MB / 404.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.4053, allocations: 29.7 kB / 404.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.4055, allocations: 246.9 kB / 404.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.4056, allocations: 59.12 kB / 404.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.4056, allocations: 4 kB / 404.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4058, allocations: 318.8 kB / 405.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.4059, allocations: 40 kB / 405.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.406, allocations: 61.7 kB / 405.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.4062, allocations: 55.91 kB / 405.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.448e-06/0.4062, allocations: 0 / 405.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004054/0.4066, allocations: 153.5 kB / 405.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.255e-05/0.4068, allocations: 113.2 kB / 405.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.766e-06/0.4068, allocations: 0 / 405.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4068, allocations: 0 / 405.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.4071, allocations: 47.97 kB / 405.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.4071, allocations: 4.172 kB / 405.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.4074, allocations: 19.89 kB / 405.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.4074, allocations: 11.94 kB / 405.5 MB, free: 10.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001086/0.4075, allocations: 108.9 kB / 405.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.4077, allocations: 47.42 kB / 405.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005884/0.4083, allocations: 221.6 kB / 405.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.427e-06/0.4083, allocations: 0 / 405.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.763e-06/0.4083, allocations: 4 kB / 405.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.666e-06/0.4083, allocations: 3.953 kB / 405.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.4098, allocations: 0.7365 MB / 406.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-06/0.4098, allocations: 0 / 406.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.41, allocations: 43.97 kB / 406.7 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.971e-06/0.4101, allocations: 4 kB / 406.7 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.4101, allocations: 0 / 406.7 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.68e-06/0.4101, allocations: 8.328 kB / 406.7 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.4101, allocations: 3.938 kB / 406.7 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.4107, allocations: 360.9 kB / 407.1 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.411, allocations: 184.4 kB / 407.3 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/0.4111, allocations: 11.95 kB / 407.3 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.4114, allocations: 11.98 kB / 407.3 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.4115, allocations: 11.98 kB / 407.3 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.4115, allocations: 15.92 kB / 407.3 MB, free: 8.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008744/0.4124, allocations: 0.534 MB / 407.8 MB, free: 8.129 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.69e-07/0.4124, allocations: 0 / 407.8 MB, free: 8.129 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000588/0.413, allocations: 91.88 kB / 407.9 MB, free: 8.039 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.00125/0.4143, allocations: 401.5 kB / 408.3 MB, free: 7.707 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005158/0.4148, allocations: 329.5 kB / 408.6 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4148, allocations: 0 / 408.6 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.415, allocations: 59.92 kB / 408.7 MB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.4155, allocations: 49.92 kB / 408.7 MB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.417, allocations: 0.6709 MB / 409.4 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/0.4176, allocations: 0.8419 MB / 410.3 MB, free: 5.656 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.4178, allocations: 39.42 kB / 410.3 MB, free: 5.617 MB / 346.7 MB Notification: Performance of SimCode: time 2.314e-06/0.4178, allocations: 0 / 410.3 MB, free: 5.617 MB / 346.7 MB Notification: Performance of Templates: time 0.01065/0.4285, allocations: 5.342 MB / 415.6 MB, free: 288 kB / 346.7 MB