Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test21.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y|combiTable2D1DT.y|clock1.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.2 MB / 225.4 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004417, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.356, allocations: 48.69 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1444/0.5005, allocations: 75.83 MB / 407.6 MB, free: 2.633 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.5008, allocations: 75.97 kB / 407.7 MB, free: 2.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02787/0.5287, allocations: 6.273 MB / 414 MB, free: 12.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.691e-06/0.5288, allocations: 0 / 414 MB, free: 12.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.736e-05/0.5288, allocations: 11.94 kB / 414 MB, free: 12.27 MB / 346.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.001084/0.5299, allocations: 0.7208 MB / 414.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.53, allocations: 8.031 kB / 414.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.5301, allocations: 43.42 kB / 414.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/0.5307, allocations: 295.1 kB / 415 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.5308, allocations: 12 kB / 415.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.5308, allocations: 15.91 kB / 415.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.5312, allocations: 113.5 kB / 415.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.5313, allocations: 0 / 415.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.5313, allocations: 4 kB / 415.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5313, allocations: 4 kB / 415.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.5316, allocations: 71.95 kB / 415.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009488/0.5326, allocations: 480.9 kB / 415.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.5329, allocations: 102.5 kB / 415.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.533, allocations: 3.984 kB / 415.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.533, allocations: 38.56 kB / 415.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.875e-06/0.533, allocations: 0 / 415.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001608/0.5346, allocations: 396.4 kB / 416.3 MB, free: 9.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.5347, allocations: 51.41 kB / 416.3 MB, free: 9.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008698/0.5356, allocations: 465.5 kB / 416.8 MB, free: 9.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.5357, allocations: 33.7 kB / 416.8 MB, free: 9.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.5358, allocations: 210.9 kB / 417 MB, free: 9.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.242e-05/0.5359, allocations: 55.25 kB / 417.1 MB, free: 8.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.5359, allocations: 4 kB / 417.1 MB, free: 8.961 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5361, allocations: 326.8 kB / 417.4 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.5363, allocations: 64.34 kB / 417.4 MB, free: 8.566 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.5366, allocations: 72.58 kB / 417.5 MB, free: 8.496 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.5369, allocations: 212.2 kB / 417.7 MB, free: 8.262 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.537, allocations: 0 / 417.7 MB, free: 8.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007735/0.5377, allocations: 339.9 kB / 418.1 MB, free: 7.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.5379, allocations: 144.2 kB / 418.2 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5379, allocations: 0 / 418.2 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.5379, allocations: 0 / 418.2 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.5382, allocations: 39.98 kB / 418.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.5382, allocations: 3.938 kB / 418.2 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.5384, allocations: 19.92 kB / 418.3 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.5385, allocations: 4 kB / 418.3 MB, free: 7.66 MB / 346.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.0002829/0.5388, allocations: 169.8 kB / 418.4 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.5389, allocations: 27.62 kB / 418.5 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008298/0.5397, allocations: 256.8 kB / 418.7 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.5397, allocations: 4 kB / 418.7 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5398, allocations: 0 / 418.7 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.5398, allocations: 0 / 418.7 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.5412, allocations: 0.6505 MB / 419.4 MB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-06/0.5413, allocations: 0 / 419.4 MB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.5415, allocations: 31.98 kB / 419.4 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.5415, allocations: 4 kB / 419.4 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.5416, allocations: 8 kB / 419.4 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.5416, allocations: 7.938 kB / 419.4 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5416, allocations: 0 / 419.4 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.5423, allocations: 310.9 kB / 419.7 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.5425, allocations: 120.7 kB / 419.8 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.5426, allocations: 8 kB / 419.8 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.5427, allocations: 4 kB / 419.8 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.5428, allocations: 23.92 kB / 419.9 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.5429, allocations: 4 kB / 419.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006295/0.5435, allocations: 335.1 kB / 420.2 MB, free: 5.609 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.554e-06/0.5435, allocations: 0 / 420.2 MB, free: 5.609 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005383/0.5441, allocations: 99.73 kB / 420.3 MB, free: 5.512 MB / 346.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.001827/0.5459, allocations: 0.6208 MB / 420.9 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008471/0.5468, allocations: 428 kB / 421.3 MB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5468, allocations: 4 kB / 421.3 MB, free: 4.508 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.5471, allocations: 83.81 kB / 421.4 MB, free: 4.426 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.5476, allocations: 41.41 kB / 421.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.5492, allocations: 0.6969 MB / 422.2 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.5497, allocations: 0.7867 MB / 422.9 MB, free: 2.844 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.5499, allocations: 31.42 kB / 423 MB, free: 2.812 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5499, allocations: 0 / 423 MB, free: 2.812 MB / 346.7 MB Notification: Performance of Templates: time 0.0109/0.5608, allocations: 4.111 MB / 427.1 MB, free: 14.7 MB / 362.7 MB