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.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadModel(ModelicaTest): time 1.898/1.898, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.045e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/0.0927, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3809/0.4737, allocations: 74.46 MB / 401 MB, free: 10.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.4739, allocations: 73 kB / 401.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02024/0.4942, allocations: 5.176 MB / 406.2 MB, free: 7.984 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.987e-06/0.4943, allocations: 0 / 406.2 MB, free: 7.984 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.88e-05/0.4943, allocations: 7.844 kB / 406.2 MB, free: 7.984 MB / 314.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.0008681/0.4952, allocations: 0.5602 MB / 406.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/0.4953, allocations: 15.28 kB / 406.8 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.4955, allocations: 42.28 kB / 406.9 MB, free: 7.434 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008015/0.4963, allocations: 315.7 kB / 407.2 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4963, allocations: 6.859 kB / 407.2 MB, free: 7.176 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.4964, allocations: 7.875 kB / 407.2 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.4966, allocations: 40.89 kB / 407.2 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.4966, allocations: 3.906 kB / 407.2 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.4967, allocations: 0 / 407.2 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.139e-06/0.4967, allocations: 0 / 407.2 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.4968, allocations: 30.52 kB / 407.3 MB, free: 7.133 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.4978, allocations: 427 kB / 407.7 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.4982, allocations: 36.7 kB / 407.7 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.4983, allocations: 15.58 kB / 407.7 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.4983, allocations: 3.844 kB / 407.7 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.4983, allocations: 30.56 kB / 407.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 3.363e-06/0.4984, allocations: 0 / 407.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008916/0.4993, allocations: 197 kB / 408 MB, free: 6.621 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.4993, allocations: 51.41 kB / 408 MB, free: 6.559 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003033/0.5024, allocations: 0.7651 MB / 408.8 MB, free: 6.367 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.5024, allocations: 25.7 kB / 408.8 MB, free: 6.336 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.5027, allocations: 239.6 kB / 409 MB, free: 6.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.5028, allocations: 15.3 kB / 409 MB, free: 6.168 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-06/0.5028, allocations: 0 / 409 MB, free: 6.168 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.5029, allocations: 314.7 kB / 409.3 MB, free: 5.855 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.503, allocations: 17.69 kB / 409.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.5031, allocations: 11.38 kB / 409.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.345e-05/0.5032, allocations: 37.33 kB / 409.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.758e-06/0.5032, allocations: 0 / 409.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002957/0.5035, allocations: 91.52 kB / 409.5 MB, free: 5.754 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.5036, allocations: 33.48 kB / 409.5 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.5036, allocations: 3.875 kB / 409.5 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.5037, allocations: 0 / 409.5 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.5039, allocations: 27.5 kB / 409.6 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.5039, allocations: 0 / 409.6 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.5041, allocations: 15.39 kB / 409.6 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.5042, allocations: 7.688 kB / 409.6 MB, free: 5.691 MB / 314.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 (6): * Single equations (assignments): 5 * 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 7.611e-05/0.5043, allocations: 101 kB / 409.7 MB, free: 5.586 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.5045, allocations: 42.66 kB / 409.7 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.5049, allocations: 114.7 kB / 409.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.086e-06/0.505, allocations: 0 / 409.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.764e-06/0.505, allocations: 3.953 kB / 409.8 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.505, allocations: 7.938 kB / 409.9 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.5065, allocations: 0.5554 MB / 410.4 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.009e-06/0.5066, allocations: 0 / 410.4 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.5068, allocations: 15.7 kB / 410.4 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.638e-06/0.5068, allocations: 0 / 410.4 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.5068, allocations: 7.078 kB / 410.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.077e-06/0.5068, allocations: 3.969 kB / 410.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5069, allocations: 0 / 410.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.5073, allocations: 198.5 kB / 410.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.5076, allocations: 155.5 kB / 410.8 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.5078, allocations: 3.984 kB / 410.8 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.5081, allocations: 11.64 kB / 410.8 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.5082, allocations: 0 / 410.8 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.5082, allocations: 8.016 kB / 410.8 MB, free: 4.828 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001631/0.5099, allocations: 0.6195 MB / 411.4 MB, free: 4.684 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.219e-06/0.5099, allocations: 0 / 411.4 MB, free: 4.684 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009003/0.5108, allocations: 57.78 kB / 411.5 MB, free: 4.68 MB / 314.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 (5): * Single equations (assignments): 5 * 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.001146/0.512, allocations: 239.2 kB / 411.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.5123, allocations: 89.75 kB / 411.8 MB, free: 4.461 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.07e-06/0.5123, allocations: 4 kB / 411.8 MB, free: 4.457 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.5124, allocations: 15 kB / 411.8 MB, free: 4.457 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.513, allocations: 25.14 kB / 411.8 MB, free: 4.449 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.5154, allocations: 0.7333 MB / 412.6 MB, free: 4.168 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.516, allocations: 0.825 MB / 413.4 MB, free: 3.414 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.5162, allocations: 19.41 kB / 413.4 MB, free: 3.402 MB / 314.7 MB Notification: Performance of SimCode: time 3.532e-06/0.5163, allocations: 0 / 413.4 MB, free: 3.402 MB / 314.7 MB Notification: Performance of Templates: time 0.01758/0.5338, allocations: 3.935 MB / 417.4 MB, free: 148 kB / 314.7 MB