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.Test23.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test23,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|cosine_R.y|sine_R.y|combiTable2D_1L.y|der_1L.y|combiTable2D_2L.y|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadModel(ModelicaTest): time 1.928/1.928, allocations: 209.3 MB / 224.9 MB, free: 1.199 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004574, allocations: 24 kB / 282.6 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09235, allocations: 48.7 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.377/0.4694, allocations: 75.51 MB / 406.8 MB, free: 9.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.4697, allocations: 71.95 kB / 406.9 MB, free: 9.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02801/0.4977, allocations: 6.568 MB / 413.4 MB, free: 2.941 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.73e-06/0.4978, allocations: 0 / 413.4 MB, free: 2.941 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.833e-05/0.4978, allocations: 8 kB / 413.4 MB, free: 2.934 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001393/0.4992, allocations: 0.8546 MB / 414.3 MB, free: 2.004 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4993, allocations: 8.031 kB / 414.3 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.4995, allocations: 55.34 kB / 414.3 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008633/0.5003, allocations: 435.1 kB / 414.8 MB, free: 1.473 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.5004, allocations: 8 kB / 414.8 MB, free: 1.465 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.5004, allocations: 15.98 kB / 414.8 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.5009, allocations: 151.3 kB / 414.9 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5009, allocations: 0 / 414.9 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.5009, allocations: 11.95 kB / 415 MB, free: 1.277 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.807e-06/0.5009, allocations: 3.938 kB / 415 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.5014, allocations: 115.9 kB / 415.1 MB, free: 1.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.5029, allocations: 0.7034 MB / 415.8 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.5033, allocations: 133.2 kB / 415.9 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.5033, allocations: 4 kB / 415.9 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.5034, allocations: 34.69 kB / 415.9 MB, free: 212 kB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.557e-06/0.5034, allocations: 0 / 415.9 MB, free: 212 kB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.002856/0.5063, allocations: 0.7562 MB / 416.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.5064, allocations: 81.11 kB / 416.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.5077, allocations: 0.7285 MB / 417.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.5078, allocations: 29.91 kB / 417.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.5081, allocations: 258.9 kB / 417.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/0.5082, allocations: 66.94 kB / 417.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.5082, allocations: 12 kB / 417.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5084, allocations: 314.8 kB / 418.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.5088, allocations: 119.9 kB / 418.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.5092, allocations: 137.4 kB / 418.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.5097, allocations: 235.2 kB / 418.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.773e-06/0.5098, allocations: 4 kB / 418.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00108/0.5109, allocations: 416.2 kB / 419.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.511, allocations: 118.8 kB / 419.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.511, allocations: 0 / 419.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5111, allocations: 4 kB / 419.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.5114, allocations: 63.89 kB / 419.2 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.5115, allocations: 7.953 kB / 419.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.5118, allocations: 31.97 kB / 419.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.5119, allocations: 12 kB / 419.3 MB, free: 12.71 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 () * Number of clocked 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.0003653/0.5123, allocations: 201.7 kB / 419.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.5125, allocations: 51.34 kB / 419.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.5138, allocations: 397.6 kB / 419.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5138, allocations: 4.094 kB / 419.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5139, allocations: 3.938 kB / 419.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.486e-06/0.5139, allocations: 3.953 kB / 419.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/0.5162, allocations: 0.9662 MB / 420.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.656e-06/0.5162, allocations: 3.984 kB / 420.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.5166, allocations: 63.89 kB / 421 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.5166, allocations: 7.953 kB / 421 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.5167, allocations: 8 kB / 421 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.5167, allocations: 0 / 421 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.35e-06/0.5167, allocations: 0 / 421 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.5179, allocations: 0.5148 MB / 421.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.5183, allocations: 192.4 kB / 421.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/0.5184, allocations: 7.953 kB / 421.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.5188, allocations: 31.97 kB / 421.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/0.5189, allocations: 23.91 kB / 421.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.5189, allocations: 8 kB / 421.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001049/0.52, allocations: 0.5769 MB / 422.3 MB, free: 9.547 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.68e-07/0.52, allocations: 0 / 422.3 MB, free: 9.547 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006664/0.5207, allocations: 107.9 kB / 422.4 MB, free: 9.441 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 () * Number of clocked 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.001637/0.5223, allocations: 497.2 kB / 422.9 MB, free: 9.043 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.5235, allocations: 489.3 kB / 423.4 MB, free: 8.516 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.962e-06/0.5235, allocations: 4 kB / 423.4 MB, free: 8.512 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.524, allocations: 143.8 kB / 423.6 MB, free: 8.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.5246, allocations: 46.3 kB / 423.6 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.5268, allocations: 1.017 MB / 424.6 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/0.5275, allocations: 0.8496 MB / 425.5 MB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.5278, allocations: 47.41 kB / 425.5 MB, free: 6.352 MB / 346.7 MB Notification: Performance of SimCode: time 1.91e-06/0.5278, allocations: 0 / 425.5 MB, free: 6.352 MB / 346.7 MB Notification: Performance of Templates: time 0.01279/0.5406, allocations: 5.806 MB / 431.3 MB, free: 0.5586 MB / 346.7 MB