Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.053/2.053, allocations: 209.3 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004358, allocations: 11.98 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4201, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.5572, allocations: 74.48 MB / 406.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5575, allocations: 67.97 kB / 406.4 MB, free: 3.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01172/0.5692, allocations: 2.65 MB / 409 MB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.489e-06/0.5693, allocations: 0 / 409 MB, free: 1.246 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.5693, allocations: 3.938 kB / 409 MB, free: 1.242 MB / 330.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.0005346/0.5699, allocations: 404.8 kB / 409.4 MB, free: 0.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5699, allocations: 8.031 kB / 409.4 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.57, allocations: 11.84 kB / 409.4 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.5703, allocations: 194.9 kB / 409.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5703, allocations: 3.938 kB / 409.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.5704, allocations: 4 kB / 409.6 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.5706, allocations: 53.67 kB / 409.7 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5706, allocations: 0 / 409.7 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.5706, allocations: 0 / 409.7 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5706, allocations: 0 / 409.7 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.5708, allocations: 31.92 kB / 409.7 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.5713, allocations: 272.9 kB / 410 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.5715, allocations: 42.56 kB / 410 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.5716, allocations: 4 kB / 410 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.5716, allocations: 38.5 kB / 410.1 MB, free: 28 kB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.255e-06/0.5716, allocations: 0 / 410.1 MB, free: 28 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008495/0.5725, allocations: 161.4 kB / 410.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5725, allocations: 55.34 kB / 410.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.5728, allocations: 161 kB / 410.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.5728, allocations: 25.7 kB / 410.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.5729, allocations: 154.6 kB / 410.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.5729, allocations: 23.78 kB / 410.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.5729, allocations: 0 / 410.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5731, allocations: 318.8 kB / 410.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.5732, allocations: 27.98 kB / 411 MB, free: 15.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.5733, allocations: 23.98 kB / 411 MB, free: 15.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.5735, allocations: 49.69 kB / 411 MB, free: 15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5735, allocations: 4 kB / 411 MB, free: 14.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003491/0.5739, allocations: 115.3 kB / 411.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.5739, allocations: 33.7 kB / 411.2 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.574, allocations: 0 / 411.2 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.574, allocations: 3.984 kB / 411.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.5741, allocations: 15.94 kB / 411.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5742, allocations: 4 kB / 411.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/0.5743, allocations: 11.98 kB / 411.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.5743, allocations: 4.281 kB / 411.2 MB, free: 14.79 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 (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.0001215/0.5744, allocations: 121.7 kB / 411.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.5745, allocations: 7.906 kB / 411.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/0.5749, allocations: 106.2 kB / 411.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.5749, allocations: 8 kB / 411.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5749, allocations: 0 / 411.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5749, allocations: 3.984 kB / 411.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006615/0.5756, allocations: 362.5 kB / 411.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.5756, allocations: 0 / 411.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.5757, allocations: 19.92 kB / 411.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5758, allocations: 0 / 411.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.5758, allocations: 0 / 411.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5758, allocations: 0 / 411.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5758, allocations: 0 / 411.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.5762, allocations: 191.3 kB / 412 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.5763, allocations: 93 kB / 412.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.5763, allocations: 4 kB / 412.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.5764, allocations: 4 kB / 412.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.5765, allocations: 3.984 kB / 412.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-06/0.5765, allocations: 8 kB / 412.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001425/0.5767, allocations: 119.2 kB / 412.2 MB, free: 13.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5767, allocations: 0 / 412.2 MB, free: 13.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003304/0.577, allocations: 16 kB / 412.3 MB, free: 13.63 MB / 346.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.0007052/0.5777, allocations: 246.5 kB / 412.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004104/0.5782, allocations: 119.3 kB / 412.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5782, allocations: 0 / 412.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.5783, allocations: 27.98 kB / 412.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.5786, allocations: 15.56 kB / 412.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/0.5791, allocations: 218.8 kB / 412.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.5795, allocations: 0.7004 MB / 413.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.5795, allocations: 15.38 kB / 413.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5796, allocations: 4 kB / 413.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of Templates: time 0.004078/0.5837, allocations: 1.227 MB / 414.8 MB, free: 11.05 MB / 346.7 MB