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.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.46/2.46, allocations: 234.9 MB / 251.1 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006064/0.0006066, allocations: 16 kB / 314.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3724, allocations: 54.86 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.5223, allocations: 80.93 MB / 450.7 MB, free: 11.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.5227, allocations: 79.95 kB / 450.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01994/0.5426, allocations: 5.388 MB / 456.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5427, allocations: 0 / 456.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.146e-05/0.5427, allocations: 4 kB / 456.2 MB, free: 6.277 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001012/0.5437, allocations: 0.6514 MB / 456.8 MB, free: 5.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5438, allocations: 8.031 kB / 456.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.5439, allocations: 39.44 kB / 456.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/0.5446, allocations: 319.4 kB / 457.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.5446, allocations: 4 kB / 457.2 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.5446, allocations: 0 / 457.2 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.5449, allocations: 61.67 kB / 457.3 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5449, allocations: 7.953 kB / 457.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5449, allocations: 3.938 kB / 457.3 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.545, allocations: 4 kB / 457.3 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.5452, allocations: 47.91 kB / 457.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008741/0.5461, allocations: 428.6 kB / 457.8 MB, free: 4.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.5463, allocations: 54.5 kB / 457.8 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.5464, allocations: 4 kB / 457.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.5464, allocations: 38.58 kB / 457.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.244e-06/0.5464, allocations: 0 / 457.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001417/0.5479, allocations: 313.8 kB / 458.2 MB, free: 4.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.5479, allocations: 51.41 kB / 458.2 MB, free: 4.078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.55, allocations: 0.8299 MB / 459 MB, free: 3.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.5501, allocations: 33.69 kB / 459.1 MB, free: 3.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.5503, allocations: 230.6 kB / 459.3 MB, free: 2.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.5504, allocations: 23.66 kB / 459.3 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-06/0.5504, allocations: 0 / 459.3 MB, free: 2.945 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5506, allocations: 318.8 kB / 459.6 MB, free: 2.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.5508, allocations: 43.92 kB / 459.7 MB, free: 2.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.551, allocations: 39.97 kB / 459.7 MB, free: 2.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.5513, allocations: 73.7 kB / 459.8 MB, free: 2.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5513, allocations: 4 kB / 459.8 MB, free: 2.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005566/0.5519, allocations: 155.3 kB / 459.9 MB, free: 2.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.552, allocations: 37.7 kB / 460 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.552, allocations: 0 / 460 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.552, allocations: 0 / 460 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.5522, allocations: 27.92 kB / 460 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.5522, allocations: 3.984 kB / 460 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.5525, allocations: 12 kB / 460 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.5525, allocations: 4 kB / 460 MB, free: 2.207 MB / 378.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 (8): * Single equations (assignments): 7 * 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 0.0003594/0.5529, allocations: 221.7 kB / 460.2 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.553, allocations: 43.44 kB / 460.3 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006787/0.5537, allocations: 181.6 kB / 460.5 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5537, allocations: 0 / 460.5 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5537, allocations: 4 kB / 460.5 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.5538, allocations: 0 / 460.5 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.5553, allocations: 0.635 MB / 461.1 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.5553, allocations: 0 / 461.1 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.5555, allocations: 23.98 kB / 461.1 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.5555, allocations: 0 / 461.1 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.5556, allocations: 4 kB / 461.1 MB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.5556, allocations: 3.938 kB / 461.1 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5556, allocations: 3.984 kB / 461.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.5563, allocations: 258.9 kB / 461.4 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.5566, allocations: 152.6 kB / 461.5 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.771e-05/0.5567, allocations: 8 kB / 461.5 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.5569, allocations: 11.98 kB / 461.5 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.5569, allocations: 7.984 kB / 461.6 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.5569, allocations: 0 / 461.6 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001241/0.5582, allocations: 0.6315 MB / 462.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5582, allocations: 0 / 462.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004981/0.5587, allocations: 63.94 kB / 462.3 MB, free: 15.87 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 (7): * Single equations (assignments): 7 * 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.0008845/0.5596, allocations: 299.3 kB / 462.5 MB, free: 15.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006128/0.5603, allocations: 155.3 kB / 462.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5603, allocations: 0 / 462.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.5605, allocations: 47.97 kB / 462.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.561, allocations: 21.92 kB / 462.8 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.5631, allocations: 0.9559 MB / 463.7 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.5637, allocations: 0.8262 MB / 464.5 MB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.5638, allocations: 15.69 kB / 464.6 MB, free: 13.54 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/0.5639, allocations: 4 kB / 464.6 MB, free: 13.54 MB / 394.7 MB Notification: Performance of Templates: time 0.01193/0.5758, allocations: 4.034 MB / 468.6 MB, free: 9.492 MB / 394.7 MB