Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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 2.074/2.074, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.000451, allocations: 8 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4142, allocations: 48.71 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.5579, allocations: 74.48 MB / 406.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.5582, allocations: 75.97 kB / 406.4 MB, free: 3.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01297/0.5712, allocations: 2.579 MB / 408.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5713, allocations: 0 / 408.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.5713, allocations: 4 kB / 408.9 MB, free: 1.309 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.000623/0.572, allocations: 396.9 kB / 409.3 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.572, allocations: 8.031 kB / 409.3 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.5721, allocations: 7.906 kB / 409.3 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.5724, allocations: 198.7 kB / 409.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.5725, allocations: 0 / 409.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.5725, allocations: 4 kB / 409.5 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.5727, allocations: 49.69 kB / 409.6 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.5728, allocations: 4 kB / 409.6 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.5728, allocations: 0 / 409.6 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5728, allocations: 0 / 409.6 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.573, allocations: 31.97 kB / 409.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.5736, allocations: 280.9 kB / 409.9 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.5739, allocations: 46.56 kB / 409.9 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.574, allocations: 0 / 409.9 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.574, allocations: 34.56 kB / 410 MB, free: 104 kB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/0.574, allocations: 0 / 410 MB, free: 104 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.00104/0.5751, allocations: 161.8 kB / 410.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.5752, allocations: 55.41 kB / 410.2 MB, free: 15.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.5754, allocations: 130.1 kB / 410.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.5754, allocations: 29.7 kB / 410.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.5755, allocations: 166.4 kB / 410.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.5756, allocations: 11.81 kB / 410.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.5756, allocations: 0 / 410.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5758, allocations: 322.8 kB / 410.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.5759, allocations: 27.92 kB / 410.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.5761, allocations: 31.98 kB / 410.9 MB, free: 15.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.5763, allocations: 57.88 kB / 411 MB, free: 15.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5763, allocations: 0 / 411 MB, free: 15.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004104/0.5767, allocations: 119.4 kB / 411.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.5768, allocations: 37.7 kB / 411.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5768, allocations: 0 / 411.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.5769, allocations: 7.969 kB / 411.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.577, allocations: 15.98 kB / 411.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.577, allocations: 3.938 kB / 411.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.5771, allocations: 4 kB / 411.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.5772, allocations: 4 kB / 411.1 MB, free: 14.86 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.0001504/0.5773, allocations: 129.7 kB / 411.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.5774, allocations: 7.906 kB / 411.3 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.5778, allocations: 97.62 kB / 411.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5779, allocations: 4 kB / 411.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.5779, allocations: 0 / 411.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.5779, allocations: 3.984 kB / 411.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.5787, allocations: 366.4 kB / 411.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5787, allocations: 0 / 411.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.5789, allocations: 15.98 kB / 411.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.5789, allocations: 0 / 411.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.5789, allocations: 4 kB / 411.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.5789, allocations: 0 / 411.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.5789, allocations: 4 kB / 411.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.5794, allocations: 195.6 kB / 411.9 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/0.5795, allocations: 93.02 kB / 412 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.5795, allocations: 0 / 412 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.5796, allocations: 7.984 kB / 412 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.5797, allocations: 4 kB / 412.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.5797, allocations: 0 / 412.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.5799, allocations: 103.3 kB / 412.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5799, allocations: 0 / 412.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003316/0.5802, allocations: 23.94 kB / 412.2 MB, free: 13.72 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.00077/0.581, allocations: 250 kB / 412.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000485/0.5815, allocations: 119.4 kB / 412.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5815, allocations: 7.938 kB / 412.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.5817, allocations: 31.92 kB / 412.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.582, allocations: 15.55 kB / 412.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006432/0.5827, allocations: 207 kB / 412.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.5831, allocations: 0.6965 MB / 413.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.5831, allocations: 11.44 kB / 413.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of SimCode: time 1.123e-06/0.5831, allocations: 0 / 413.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of Templates: time 0.005294/0.5885, allocations: 1.188 MB / 414.7 MB, free: 11.18 MB / 346.7 MB