Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test23.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.152/2.152, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.274e-05, allocations: 8 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3222, allocations: 54.86 MB / 364.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4479, allocations: 81.87 MB / 446.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4482, allocations: 71.95 kB / 446.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02777/0.476, allocations: 6.765 MB / 453.2 MB, free: 7.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.476, allocations: 0 / 453.2 MB, free: 7.699 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.317e-05/0.4761, allocations: 8 kB / 453.3 MB, free: 7.691 MB / 378.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.001102/0.4772, allocations: 0.742 MB / 454 MB, free: 6.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4772, allocations: 12.03 kB / 454 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.4774, allocations: 51.34 kB / 454.1 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008267/0.4782, allocations: 439.1 kB / 454.5 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.4783, allocations: 7.953 kB / 454.5 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.4783, allocations: 19.94 kB / 454.5 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.4786, allocations: 123.4 kB / 454.6 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.4787, allocations: 3.938 kB / 454.6 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.4787, allocations: 4 kB / 454.6 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.4787, allocations: 4 kB / 454.6 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.479, allocations: 67.97 kB / 454.7 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.4803, allocations: 0.6917 MB / 455.4 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.4806, allocations: 109.2 kB / 455.5 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.4808, allocations: 45.84 kB / 455.6 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.4808, allocations: 11.98 kB / 455.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.4809, allocations: 30.56 kB / 455.6 MB, free: 5.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.889e-06/0.4809, allocations: 0 / 455.6 MB, free: 5.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001881/0.4828, allocations: 0.5378 MB / 456.1 MB, free: 4.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.4828, allocations: 81.11 kB / 456.2 MB, free: 4.488 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.4841, allocations: 0.7193 MB / 456.9 MB, free: 3.762 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.4842, allocations: 33.7 kB / 457 MB, free: 3.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.4844, allocations: 251 kB / 457.2 MB, free: 3.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.4845, allocations: 70.94 kB / 457.3 MB, free: 3.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.4845, allocations: 4 kB / 457.3 MB, free: 3.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4847, allocations: 322.8 kB / 457.6 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.4849, allocations: 63.98 kB / 457.7 MB, free: 3.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.4852, allocations: 92.75 kB / 457.8 MB, free: 2.922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.4855, allocations: 173 kB / 457.9 MB, free: 2.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.398e-06/0.4855, allocations: 0 / 457.9 MB, free: 2.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006724/0.4862, allocations: 329 kB / 458.2 MB, free: 2.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.055e-05/0.4863, allocations: 114.8 kB / 458.4 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4863, allocations: 3.984 kB / 458.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4863, allocations: 0 / 458.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006163/0.487, allocations: 67.95 kB / 458.4 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.487, allocations: 0 / 458.4 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.4873, allocations: 39.97 kB / 458.5 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.4874, allocations: 4 kB / 458.5 MB, free: 2.129 MB / 378.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 (24): * Single equations (assignments): 20 * 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.0001257/0.4875, allocations: 116.9 kB / 458.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.4877, allocations: 59.23 kB / 458.6 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008043/0.4885, allocations: 285.6 kB / 458.9 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.496e-06/0.4885, allocations: 0 / 458.9 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.4886, allocations: 7.984 kB / 458.9 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.4886, allocations: 0 / 458.9 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.4903, allocations: 0.8607 MB / 459.8 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.249e-06/0.4903, allocations: 0 / 459.8 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.4908, allocations: 63.95 kB / 459.8 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.559e-06/0.4908, allocations: 0 / 459.8 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.4908, allocations: 7.984 kB / 459.9 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.244e-06/0.4908, allocations: 0 / 459.9 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.077e-06/0.4909, allocations: 0 / 459.9 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007091/0.4916, allocations: 434.8 kB / 460.3 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.4918, allocations: 168.4 kB / 460.4 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.4919, allocations: 4 kB / 460.4 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.4923, allocations: 31.97 kB / 460.5 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.4924, allocations: 23.97 kB / 460.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.4925, allocations: 4 kB / 460.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009853/0.4935, allocations: 0.5678 MB / 461.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.027e-06/0.4935, allocations: 0 / 461.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006138/0.4941, allocations: 103.9 kB / 461.2 MB, free: 15.31 MB / 394.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 (20): * Single equations (assignments): 20 * 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.001933/0.4961, allocations: 0.544 MB / 461.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006874/0.4968, allocations: 393.4 kB / 462.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.655e-06/0.4968, allocations: 0 / 462.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.4971, allocations: 91.92 kB / 462.2 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.4976, allocations: 42.08 kB / 462.2 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.4993, allocations: 0.7379 MB / 463 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.4999, allocations: 0.8465 MB / 463.8 MB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.5002, allocations: 51.34 kB / 463.9 MB, free: 12.58 MB / 394.7 MB Notification: Performance of SimCode: time 2.12e-06/0.5002, allocations: 4 kB / 463.9 MB, free: 12.57 MB / 394.7 MB Notification: Performance of Templates: time 0.01181/0.512, allocations: 5.81 MB / 469.7 MB, free: 6.754 MB / 394.7 MB