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.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadModel(ModelicaTest): time 1.808/1.808, allocations: 209.3 MB / 222.4 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.482e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1537, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3742/0.528, allocations: 74.65 MB / 401.2 MB, free: 9.898 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/0.5283, allocations: 74.48 kB / 401.3 MB, free: 9.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01345/0.5418, allocations: 3.194 MB / 404.5 MB, free: 8.734 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5419, allocations: 0 / 404.5 MB, free: 8.734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.947e-06/0.5419, allocations: 0 / 404.5 MB, free: 8.734 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.0003235/0.5422, allocations: 390.5 kB / 404.8 MB, free: 8.332 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5423, allocations: 11.38 kB / 404.8 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.5423, allocations: 15.77 kB / 404.9 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.5425, allocations: 187.7 kB / 405 MB, free: 8.109 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.5425, allocations: 0 / 405 MB, free: 8.109 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.5426, allocations: 3.844 kB / 405.1 MB, free: 8.109 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.5427, allocations: 64.12 kB / 405.1 MB, free: 8.055 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5427, allocations: 3.906 kB / 405.1 MB, free: 8.051 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.5427, allocations: 7.797 kB / 405.1 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-06/0.5427, allocations: 0 / 405.1 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.457e-05/0.5428, allocations: 18.66 kB / 405.1 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.5431, allocations: 281.7 kB / 405.4 MB, free: 7.758 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.76e-05/0.5432, allocations: 36.27 kB / 405.5 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.5433, allocations: 15.67 kB / 405.5 MB, free: 7.723 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.5433, allocations: 0 / 405.5 MB, free: 7.723 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.5433, allocations: 38.44 kB / 405.5 MB, free: 7.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.242e-06/0.5434, allocations: 3.844 kB / 405.5 MB, free: 7.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005224/0.5439, allocations: 139.9 kB / 405.6 MB, free: 7.617 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.5439, allocations: 84.88 kB / 405.7 MB, free: 7.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.544, allocations: 115.5 kB / 405.8 MB, free: 7.422 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.5441, allocations: 25.7 kB / 405.9 MB, free: 7.391 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.5441, allocations: 161.2 kB / 406 MB, free: 7.234 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.5441, allocations: 22.91 kB / 406 MB, free: 7.219 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.271e-06/0.5442, allocations: 3.688 kB / 406.1 MB, free: 7.219 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.5442, allocations: 314.8 kB / 406.4 MB, free: 6.902 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.112e-05/0.5443, allocations: 17.06 kB / 406.4 MB, free: 6.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.596e-05/0.5443, allocations: 35.59 kB / 406.4 MB, free: 6.883 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.032e-05/0.5444, allocations: 47.38 kB / 406.5 MB, free: 6.848 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-06/0.5444, allocations: 32 / 406.5 MB, free: 6.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001743/0.5446, allocations: 115.8 kB / 406.6 MB, free: 6.773 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.5447, allocations: 29.64 kB / 406.6 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.594e-06/0.5447, allocations: 0 / 406.6 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5447, allocations: 7.875 kB / 406.6 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.5448, allocations: 18.83 kB / 406.6 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5449, allocations: 7.797 kB / 406.6 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.545, allocations: 15.64 kB / 406.6 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.545, allocations: 7.344 kB / 406.7 MB, free: 6.723 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 (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 5.209e-05/0.545, allocations: 101 kB / 406.8 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.5451, allocations: 11.56 kB / 406.8 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.5453, allocations: 95.69 kB / 406.9 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.581e-06/0.5453, allocations: 0 / 406.9 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.964e-06/0.5453, allocations: 0 / 406.9 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.5453, allocations: 3.953 kB / 406.9 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.5457, allocations: 351 kB / 407.2 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-06/0.5457, allocations: 3.812 kB / 407.2 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.5458, allocations: 22.8 kB / 407.2 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.46e-06/0.5459, allocations: 3.906 kB / 407.2 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.525e-06/0.5459, allocations: 0 / 407.2 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.335e-06/0.5459, allocations: 3.953 kB / 407.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.528e-06/0.5459, allocations: 0 / 407.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.5461, allocations: 176.5 kB / 407.4 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.5461, allocations: 81.02 kB / 407.5 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.5461, allocations: 7.188 kB / 407.5 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.5463, allocations: 11.7 kB / 407.5 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.5463, allocations: 15.78 kB / 407.5 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.928e-06/0.5463, allocations: 0 / 407.5 MB, free: 5.965 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.15e-05/0.5464, allocations: 97.53 kB / 407.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.88e-07/0.5464, allocations: 0 / 407.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.5468, allocations: 34.95 kB / 407.7 MB, free: 5.875 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 (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.0008779/0.5477, allocations: 314.1 kB / 408 MB, free: 5.691 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.5479, allocations: 105.3 kB / 408.1 MB, free: 5.625 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.599e-06/0.5479, allocations: 0 / 408.1 MB, free: 5.625 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.748e-05/0.5479, allocations: 25.84 kB / 408.1 MB, free: 5.625 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.5482, allocations: 11.53 kB / 408.1 MB, free: 5.621 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.5485, allocations: 133.3 kB / 408.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.5486, allocations: 0.6882 MB / 408.9 MB, free: 4.801 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.5487, allocations: 18.95 kB / 408.9 MB, free: 4.789 MB / 314.7 MB Notification: Performance of SimCode: time 1.482e-06/0.5487, allocations: 0 / 408.9 MB, free: 4.789 MB / 314.7 MB Notification: Performance of Templates: time 0.003248/0.552, allocations: 1.545 MB / 410.5 MB, free: 4.004 MB / 314.7 MB