Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.503/2.503, allocations: 234.9 MB / 251.1 MB, free: 9.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004298, allocations: 15.98 kB / 314.9 MB, free: 9.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3744, allocations: 54.86 MB / 369.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.5342, allocations: 80.97 MB / 450.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/0.5346, allocations: 71.97 kB / 450.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.5518, allocations: 3.131 MB / 454 MB, free: 8.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5519, allocations: 0 / 454 MB, free: 8.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.5519, allocations: 0 / 454 MB, free: 8.492 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006888/0.5526, allocations: 412.8 kB / 454.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.5527, allocations: 8.031 kB / 454.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.463e-05/0.5527, allocations: 19.7 kB / 454.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.5531, allocations: 195.5 kB / 454.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.5532, allocations: 4 kB / 454.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.5532, allocations: 4 kB / 454.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.5534, allocations: 53.66 kB / 454.7 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5535, allocations: 0 / 454.7 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.5535, allocations: 4 kB / 454.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5535, allocations: 0 / 454.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.5537, allocations: 31.88 kB / 454.7 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.5543, allocations: 277 kB / 455 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.5547, allocations: 42.56 kB / 455 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.5548, allocations: 0 / 455 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.5548, allocations: 48.39 kB / 455 MB, free: 7.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.5549, allocations: 4 kB / 455.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001103/0.556, allocations: 157.2 kB / 455.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.556, allocations: 55.41 kB / 455.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.5565, allocations: 193.9 kB / 455.5 MB, free: 6.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.5565, allocations: 25.7 kB / 455.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.5566, allocations: 166.5 kB / 455.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.5567, allocations: 11.81 kB / 455.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-06/0.5567, allocations: 0 / 455.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.5569, allocations: 318.8 kB / 456 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.5571, allocations: 31.98 kB / 456 MB, free: 6.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.5573, allocations: 19.98 kB / 456 MB, free: 6.238 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.5575, allocations: 53.69 kB / 456.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5575, allocations: 0 / 456.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004863/0.558, allocations: 115.4 kB / 456.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.5581, allocations: 29.7 kB / 456.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.5581, allocations: 3.953 kB / 456.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5582, allocations: 0 / 456.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.5583, allocations: 19.92 kB / 456.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.5584, allocations: 3.938 kB / 456.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.5585, allocations: 16.25 kB / 456.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.5585, allocations: 4 kB / 456.3 MB, free: 5.973 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 (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 0.0002043/0.5588, allocations: 129.8 kB / 456.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/0.5588, allocations: 7.906 kB / 456.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005053/0.5594, allocations: 105.9 kB / 456.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.5594, allocations: 3.953 kB / 456.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.5594, allocations: 4 kB / 456.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.5594, allocations: 3.984 kB / 456.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009181/0.5604, allocations: 366.5 kB / 456.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5604, allocations: 0 / 456.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.5605, allocations: 16 kB / 456.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/0.5606, allocations: 3.953 kB / 456.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.5606, allocations: 7.984 kB / 456.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5606, allocations: 0 / 456.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5606, allocations: 0 / 456.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.5611, allocations: 187.4 kB / 457.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.5612, allocations: 97 kB / 457.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.5613, allocations: 3.953 kB / 457.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.5615, allocations: 4 kB / 457.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.5615, allocations: 7.984 kB / 457.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.5616, allocations: 0 / 457.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002635/0.5618, allocations: 147.1 kB / 457.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5619, allocations: 4 kB / 457.3 MB, free: 4.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005391/0.5624, allocations: 23.92 kB / 457.4 MB, free: 4.77 MB / 378.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 (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.001198/0.5636, allocations: 302.8 kB / 457.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005111/0.5642, allocations: 115.3 kB / 457.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5642, allocations: 0 / 457.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.5644, allocations: 31.98 kB / 457.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.5648, allocations: 8 kB / 457.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007983/0.5656, allocations: 250.7 kB / 458 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.5661, allocations: 0.7083 MB / 458.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.5662, allocations: 15.42 kB / 458.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5662, allocations: 0 / 458.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of Templates: time 0.005688/0.5719, allocations: 1.342 MB / 460.1 MB, free: 2 MB / 378.7 MB