Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test21.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.675/2.675, allocations: 234.9 MB / 251.1 MB, free: 9.691 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.000488, allocations: 20 kB / 314.9 MB, free: 9.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.382, allocations: 54.86 MB / 369.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.5374, allocations: 82.3 MB / 452.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.5378, allocations: 79.94 kB / 452.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02863/0.5664, allocations: 6.61 MB / 458.8 MB, free: 3.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5665, allocations: 3.938 kB / 458.8 MB, free: 3.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.771e-05/0.5665, allocations: 4 kB / 458.8 MB, free: 3.672 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001058/0.5676, allocations: 0.7288 MB / 459.5 MB, free: 2.863 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.5677, allocations: 11.97 kB / 459.5 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.5678, allocations: 35.53 kB / 459.6 MB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006133/0.5684, allocations: 291 kB / 459.9 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.5685, allocations: 8 kB / 459.9 MB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.5685, allocations: 16 kB / 459.9 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.5689, allocations: 109.5 kB / 460 MB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.569, allocations: 11.91 kB / 460 MB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.569, allocations: 4 kB / 460 MB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.569, allocations: 7.938 kB / 460 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.5693, allocations: 71.95 kB / 460.1 MB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009707/0.5703, allocations: 476.3 kB / 460.5 MB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.5706, allocations: 98.47 kB / 460.6 MB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/0.5707, allocations: 7.938 kB / 460.6 MB, free: 1.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.5707, allocations: 34.56 kB / 460.7 MB, free: 1.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 3.085e-06/0.5707, allocations: 0 / 460.7 MB, free: 1.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001571/0.5723, allocations: 396.3 kB / 461.1 MB, free: 1.195 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.5724, allocations: 51.41 kB / 461.1 MB, free: 1.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008598/0.5733, allocations: 465.6 kB / 461.6 MB, free: 0.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.5733, allocations: 29.7 kB / 461.6 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.5735, allocations: 218.9 kB / 461.8 MB, free: 428 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.08e-05/0.5736, allocations: 55.17 kB / 461.9 MB, free: 372 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.5736, allocations: 4 kB / 461.9 MB, free: 368 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5738, allocations: 322.8 kB / 462.2 MB, free: 36 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.5741, allocations: 60.34 kB / 462.2 MB, free: 15.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.5743, allocations: 69.66 kB / 462.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.5747, allocations: 203.1 kB / 462.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5747, allocations: 0 / 462.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007418/0.5754, allocations: 350.6 kB / 462.9 MB, free: 15.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.5756, allocations: 140.5 kB / 463 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5756, allocations: 3.938 kB / 463 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.5756, allocations: 0 / 463 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.5759, allocations: 47.95 kB / 463 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5759, allocations: 0 / 463 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.5761, allocations: 11.94 kB / 463.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.5762, allocations: 11.98 kB / 463.1 MB, free: 15.06 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0003152/0.5765, allocations: 173.7 kB / 463.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.5766, allocations: 27.62 kB / 463.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008709/0.5775, allocations: 254.8 kB / 463.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5775, allocations: 4 kB / 463.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5775, allocations: 0 / 463.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5776, allocations: 4 kB / 463.5 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.579, allocations: 0.6465 MB / 464.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.5791, allocations: 3.984 kB / 464.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.5793, allocations: 39.98 kB / 464.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.5793, allocations: 0 / 464.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.5794, allocations: 0 / 464.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.5794, allocations: 4 kB / 464.2 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5794, allocations: 0 / 464.2 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007242/0.5801, allocations: 312.8 kB / 464.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.5803, allocations: 128.7 kB / 464.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.5804, allocations: 0 / 464.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.5806, allocations: 19.98 kB / 464.7 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.5807, allocations: 11.89 kB / 464.7 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.5807, allocations: 12 kB / 464.7 MB, free: 13.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006276/0.5813, allocations: 339.1 kB / 465 MB, free: 13 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5813, allocations: 0 / 465 MB, free: 13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005486/0.5819, allocations: 95.8 kB / 465.1 MB, free: 12.91 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002368/0.5843, allocations: 0.7823 MB / 465.9 MB, free: 12.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00089/0.5852, allocations: 432.8 kB / 466.3 MB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5853, allocations: 0 / 466.3 MB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.5855, allocations: 79.91 kB / 466.4 MB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.5861, allocations: 45.33 kB / 466.4 MB, free: 11.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.5878, allocations: 0.6963 MB / 467.1 MB, free: 10.87 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.5883, allocations: 0.7868 MB / 467.9 MB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.5885, allocations: 27.42 kB / 468 MB, free: 10.03 MB / 394.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5886, allocations: 4 kB / 468 MB, free: 10.03 MB / 394.7 MB Notification: Performance of Templates: time 0.01088/0.5995, allocations: 4.093 MB / 472 MB, free: 5.926 MB / 394.7 MB