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.CombiTable1D.Test6.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.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadModel(ModelicaTest): time 1.85/1.85, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004391, allocations: 16 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3208, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.4448, allocations: 74.64 MB / 405.9 MB, free: 3.789 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.4451, allocations: 75.95 kB / 406 MB, free: 3.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01313/0.4583, allocations: 3.315 MB / 409.3 MB, free: 408 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.586e-06/0.4583, allocations: 4 kB / 409.3 MB, free: 404 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.4583, allocations: 4 kB / 409.3 MB, free: 400 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005679/0.4589, allocations: 436.5 kB / 409.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.459, allocations: 8.031 kB / 409.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.459, allocations: 11.81 kB / 409.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.4593, allocations: 214.8 kB / 410 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.4594, allocations: 0 / 410 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.4594, allocations: 4 kB / 410 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.4596, allocations: 87.31 kB / 410.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4597, allocations: 0 / 410.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4597, allocations: 0 / 410.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.812e-06/0.4597, allocations: 4 kB / 410.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.4599, allocations: 39.97 kB / 410.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.4605, allocations: 408.9 kB / 410.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.4609, allocations: 97.14 kB / 410.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.4609, allocations: 0 / 410.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.461, allocations: 34.56 kB / 410.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.897e-06/0.461, allocations: 0 / 410.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001019/0.462, allocations: 268.8 kB / 410.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.4621, allocations: 77.11 kB / 411 MB, free: 14.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.4624, allocations: 202.3 kB / 411.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.4624, allocations: 33.7 kB / 411.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/0.4626, allocations: 158.6 kB / 411.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.4626, allocations: 35.55 kB / 411.4 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-06/0.4626, allocations: 4 kB / 411.4 MB, free: 14.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4628, allocations: 318.8 kB / 411.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.463, allocations: 31.98 kB / 411.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.4631, allocations: 43.91 kB / 411.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.4633, allocations: 73.69 kB / 411.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.946e-06/0.4633, allocations: 0 / 411.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003912/0.4637, allocations: 167.1 kB / 412 MB, free: 13.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.4637, allocations: 30.64 kB / 412 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4638, allocations: 0 / 412 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4638, allocations: 4 kB / 412 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.4639, allocations: 27.92 kB / 412.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.796e-06/0.4639, allocations: 0 / 412.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.24e-05/0.464, allocations: 11.98 kB / 412.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.4641, allocations: 7.953 kB / 412.1 MB, free: 13.34 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 (11): * Single equations (assignments): 10 * 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.0001514/0.4642, allocations: 137.8 kB / 412.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.4643, allocations: 7.906 kB / 412.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.4648, allocations: 162.5 kB / 412.4 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.955e-06/0.4648, allocations: 7.938 kB / 412.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.922e-06/0.4648, allocations: 256 / 412.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.4648, allocations: 0 / 412.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009911/0.4658, allocations: 0.5337 MB / 412.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.884e-06/0.4659, allocations: 0 / 412.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.466, allocations: 23.98 kB / 413 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.924e-06/0.466, allocations: 32 / 413 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.466, allocations: 8 kB / 413 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.749e-05/0.4661, allocations: 3.938 kB / 413 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.189e-06/0.4661, allocations: 7.938 kB / 413 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.4666, allocations: 336.2 kB / 413.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.4667, allocations: 96.95 kB / 413.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.4668, allocations: 4 kB / 413.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.4669, allocations: 8 kB / 413.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.467, allocations: 7.984 kB / 413.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.467, allocations: 8 kB / 413.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002067/0.4672, allocations: 163.9 kB / 413.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.921e-06/0.4672, allocations: 0 / 413.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004191/0.4677, allocations: 31.88 kB / 413.6 MB, free: 11.69 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0007525/0.4684, allocations: 247.6 kB / 413.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003846/0.4688, allocations: 147.3 kB / 414 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.22e-06/0.4689, allocations: 0 / 414 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.469, allocations: 51.91 kB / 414.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.4693, allocations: 16.06 kB / 414.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007534/0.4701, allocations: 353.1 kB / 414.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.4706, allocations: 0.716 MB / 415.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.4706, allocations: 15.44 kB / 415.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of SimCode: time 1.359e-06/0.4706, allocations: 0 / 415.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of Templates: time 0.004194/0.4748, allocations: 1.679 MB / 416.8 MB, free: 8.461 MB / 346.7 MB