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.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.852/1.852, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.907e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08656/0.08662, allocations: 48.69 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3281/0.4147, allocations: 74.4 MB / 400.9 MB, free: 10.26 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.4149, allocations: 71.39 kB / 401 MB, free: 10.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009471/0.4244, allocations: 2.561 MB / 403.6 MB, free: 9.238 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.732e-06/0.4245, allocations: 4 kB / 403.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.4245, allocations: 0 / 403.6 MB, free: 9.234 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003044/0.4248, allocations: 387.1 kB / 403.9 MB, free: 8.832 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.4249, allocations: 11.53 kB / 404 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.4249, allocations: 3.906 kB / 404 MB, free: 8.828 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.4251, allocations: 194 kB / 404.2 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4251, allocations: 3.938 kB / 404.2 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.4252, allocations: 3.906 kB / 404.2 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.4253, allocations: 44.91 kB / 404.2 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4253, allocations: 0 / 404.2 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.99e-06/0.4253, allocations: 3.312 kB / 404.2 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-06/0.4253, allocations: 0 / 404.2 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.481e-05/0.4254, allocations: 18.95 kB / 404.2 MB, free: 8.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.4258, allocations: 280.4 kB / 404.5 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.4259, allocations: 48.06 kB / 404.5 MB, free: 8.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.426, allocations: 12.2 kB / 404.6 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.426, allocations: 0 / 404.6 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.234e-05/0.4261, allocations: 30.56 kB / 404.6 MB, free: 8.203 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.927e-06/0.4261, allocations: 0 / 404.6 MB, free: 8.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004187/0.4265, allocations: 114 kB / 404.7 MB, free: 8.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.4265, allocations: 51.41 kB / 404.8 MB, free: 8.082 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.4266, allocations: 129.2 kB / 404.9 MB, free: 7.977 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.4267, allocations: 25.7 kB / 404.9 MB, free: 7.945 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.4267, allocations: 157.6 kB / 405.1 MB, free: 7.797 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.4268, allocations: 19.55 kB / 405.1 MB, free: 7.781 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-06/0.4268, allocations: 3.688 kB / 405.1 MB, free: 7.781 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.4268, allocations: 314.8 kB / 405.4 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/0.4269, allocations: 19.22 kB / 405.4 MB, free: 7.461 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/0.4269, allocations: 17.69 kB / 405.4 MB, free: 7.457 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.401e-05/0.427, allocations: 40.12 kB / 405.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-06/0.427, allocations: 3.938 kB / 405.5 MB, free: 7.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001472/0.4272, allocations: 94.95 kB / 405.6 MB, free: 7.352 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.4272, allocations: 37.05 kB / 405.6 MB, free: 7.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.117e-06/0.4272, allocations: 4 kB / 405.6 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4272, allocations: 0 / 405.6 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.4273, allocations: 15.52 kB / 405.6 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.364e-06/0.4274, allocations: 0 / 405.6 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.4274, allocations: 17.92 kB / 405.6 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4275, allocations: 0 / 405.6 MB, free: 7.301 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 (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 5.024e-05/0.4275, allocations: 112.8 kB / 405.7 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.4276, allocations: 7.719 kB / 405.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.4278, allocations: 77.05 kB / 405.8 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.567e-06/0.4278, allocations: 3.438 kB / 405.8 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.054e-06/0.4278, allocations: 0 / 405.8 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-06/0.4278, allocations: 4 kB / 405.8 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.4282, allocations: 336.8 kB / 406.2 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.482e-06/0.4282, allocations: 0 / 406.2 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/0.4283, allocations: 15.58 kB / 406.2 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4283, allocations: 0 / 406.2 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.4283, allocations: 7.281 kB / 406.2 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.243e-06/0.4283, allocations: 0 / 406.2 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.545e-06/0.4283, allocations: 0 / 406.2 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.4285, allocations: 165.1 kB / 406.3 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/0.4285, allocations: 92.11 kB / 406.4 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4285, allocations: 0 / 406.4 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.4287, allocations: 11.92 kB / 406.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.4287, allocations: 0 / 406.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.4287, allocations: 7.875 kB / 406.5 MB, free: 6.562 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.157e-05/0.4288, allocations: 101 kB / 406.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.4288, allocations: 4 kB / 406.6 MB, free: 6.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003311/0.4292, allocations: 19.28 kB / 406.6 MB, free: 6.477 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 (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.0006446/0.4298, allocations: 236.2 kB / 406.8 MB, free: 6.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.43, allocations: 95.8 kB / 406.9 MB, free: 6.254 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.575e-06/0.43, allocations: 4 kB / 406.9 MB, free: 6.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.941e-05/0.4301, allocations: 19.31 kB / 406.9 MB, free: 6.246 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.4303, allocations: 11.27 kB / 406.9 MB, free: 6.242 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.4306, allocations: 133.5 kB / 407.1 MB, free: 6.125 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.4308, allocations: 0.6955 MB / 407.8 MB, free: 5.422 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.4308, allocations: 15.27 kB / 407.8 MB, free: 5.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.469e-06/0.4308, allocations: 0 / 407.8 MB, free: 5.41 MB / 314.7 MB Notification: Performance of Templates: time 0.002827/0.4337, allocations: 1.203 MB / 409 MB, free: 4.809 MB / 314.7 MB