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.29/2.29, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.000437, allocations: 12 kB / 314.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3194, allocations: 54.87 MB / 369.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.4575, allocations: 81.95 MB / 451.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4578, allocations: 67.97 kB / 451.3 MB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02719/0.485, allocations: 6.789 MB / 458.1 MB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.122e-06/0.4851, allocations: 0 / 458.1 MB, free: 3.816 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.423e-05/0.4851, allocations: 8 kB / 458.1 MB, free: 3.809 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.001323/0.4864, allocations: 0.8547 MB / 458.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4865, allocations: 8.031 kB / 458.9 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.4866, allocations: 51.34 kB / 459 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008516/0.4875, allocations: 435.1 kB / 459.4 MB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.4875, allocations: 11.95 kB / 459.4 MB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.4876, allocations: 12 kB / 459.4 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.488, allocations: 155.3 kB / 459.6 MB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.4881, allocations: 7.938 kB / 459.6 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.4881, allocations: 4 kB / 459.6 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.893e-06/0.4881, allocations: 0 / 459.6 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.4885, allocations: 123.9 kB / 459.7 MB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.4899, allocations: 0.6958 MB / 460.4 MB, free: 1.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.4903, allocations: 133.2 kB / 460.6 MB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.4904, allocations: 11.92 kB / 460.6 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.4904, allocations: 30.56 kB / 460.6 MB, free: 1.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.405e-06/0.4905, allocations: 0 / 460.6 MB, free: 1.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0028/0.4933, allocations: 0.7443 MB / 461.3 MB, free: 340 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.4933, allocations: 77.11 kB / 461.4 MB, free: 244 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.4947, allocations: 0.7284 MB / 462.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.4947, allocations: 29.7 kB / 462.2 MB, free: 15.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.495, allocations: 255 kB / 462.4 MB, free: 15.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.573e-05/0.4951, allocations: 67 kB / 462.5 MB, free: 15.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.4951, allocations: 4 kB / 462.5 MB, free: 15.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4953, allocations: 323 kB / 462.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.4957, allocations: 119.9 kB / 462.9 MB, free: 14.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.4961, allocations: 137.6 kB / 463.1 MB, free: 14.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.4967, allocations: 226.8 kB / 463.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.698e-06/0.4967, allocations: 0 / 463.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001084/0.4978, allocations: 436 kB / 463.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.4979, allocations: 114.8 kB / 463.8 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.2e-06/0.4979, allocations: 0.75 kB / 463.8 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4979, allocations: 0 / 463.8 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.4983, allocations: 71.88 kB / 463.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.211e-06/0.4984, allocations: 0 / 463.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.4987, allocations: 31.98 kB / 463.9 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.4987, allocations: 7.984 kB / 463.9 MB, free: 13.61 MB / 394.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.0003434/0.4991, allocations: 205.7 kB / 464.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.4993, allocations: 59.28 kB / 464.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.5005, allocations: 401.5 kB / 464.6 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.5005, allocations: 0 / 464.6 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.001e-06/0.5005, allocations: 0 / 464.6 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.115e-06/0.5005, allocations: 4 kB / 464.6 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.5027, allocations: 0.9581 MB / 465.5 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.295e-06/0.5027, allocations: 3.984 kB / 465.5 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.5031, allocations: 59.95 kB / 465.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-06/0.5031, allocations: 3.938 kB / 465.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.5031, allocations: 15.98 kB / 465.6 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.135e-06/0.5032, allocations: 0 / 465.6 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.591e-06/0.5032, allocations: 3.938 kB / 465.6 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.5043, allocations: 0.5153 MB / 466.1 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.5046, allocations: 164.4 kB / 466.3 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.839e-05/0.5047, allocations: 4 kB / 466.3 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.5051, allocations: 27.97 kB / 466.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.5052, allocations: 23.97 kB / 466.4 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.5052, allocations: 4 kB / 466.4 MB, free: 11.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000991/0.5062, allocations: 0.5769 MB / 466.9 MB, free: 10.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.5062, allocations: 0 / 466.9 MB, free: 10.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006124/0.5068, allocations: 107.9 kB / 467 MB, free: 10.38 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 () * 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.002106/0.509, allocations: 0.5951 MB / 467.6 MB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.5101, allocations: 497.3 kB / 468.1 MB, free: 9.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.31e-06/0.5101, allocations: 0 / 468.1 MB, free: 9.336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.5106, allocations: 147.8 kB / 468.3 MB, free: 9.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.5111, allocations: 46.62 kB / 468.3 MB, free: 9.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.5131, allocations: 1.005 MB / 469.3 MB, free: 8.098 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/0.5138, allocations: 0.8498 MB / 470.2 MB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.514, allocations: 51.34 kB / 470.2 MB, free: 7.168 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/0.514, allocations: 4 kB / 470.2 MB, free: 7.164 MB / 394.7 MB Notification: Performance of Templates: time 0.01158/0.5256, allocations: 5.811 MB / 476 MB, free: 1.355 MB / 394.7 MB