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.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.CombiTable1Ds.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.CombiTable1Ds.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.061/2.061, allocations: 209.3 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006449/0.0006451, allocations: 12 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3841, allocations: 48.7 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.5568, allocations: 74.48 MB / 406.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.5572, allocations: 71.95 kB / 406.3 MB, free: 3.875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01221/0.5694, allocations: 2.564 MB / 408.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5695, allocations: 0 / 408.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.5695, allocations: 4 kB / 408.9 MB, free: 1.305 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.0006427/0.5701, allocations: 396 kB / 409.3 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.5702, allocations: 12.03 kB / 409.3 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.5703, allocations: 3.906 kB / 409.3 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.5706, allocations: 198.8 kB / 409.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5706, allocations: 3.938 kB / 409.5 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.5706, allocations: 7.984 kB / 409.5 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.5709, allocations: 45.69 kB / 409.6 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.5709, allocations: 4 kB / 409.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5709, allocations: 0 / 409.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5709, allocations: 4 kB / 409.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.5711, allocations: 27.97 kB / 409.6 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.5716, allocations: 264.9 kB / 409.9 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.5719, allocations: 50.5 kB / 409.9 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.572, allocations: 0 / 409.9 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.572, allocations: 34.56 kB / 409.9 MB, free: 112 kB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.572, allocations: 0 / 409.9 MB, free: 112 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009574/0.573, allocations: 153.8 kB / 410.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.5731, allocations: 59.39 kB / 410.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.5733, allocations: 126.1 kB / 410.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.5733, allocations: 29.7 kB / 410.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.5734, allocations: 166.4 kB / 410.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.5735, allocations: 11.81 kB / 410.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.5735, allocations: 8 kB / 410.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5737, allocations: 314.8 kB / 410.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.5738, allocations: 23.98 kB / 410.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.574, allocations: 23.98 kB / 410.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.5742, allocations: 57.69 kB / 410.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5742, allocations: 0 / 410.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003917/0.5746, allocations: 119.3 kB / 411 MB, free: 14.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.5746, allocations: 33.7 kB / 411 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5747, allocations: 0 / 411 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.5747, allocations: 0 / 411 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.5748, allocations: 19.98 kB / 411.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.5749, allocations: 256 / 411.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.891e-05/0.575, allocations: 11.94 kB / 411.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.575, allocations: 4 kB / 411.1 MB, free: 14.89 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.0001519/0.5752, allocations: 117.8 kB / 411.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.5752, allocations: 15.83 kB / 411.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.5756, allocations: 109.5 kB / 411.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.5757, allocations: 0 / 411.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5757, allocations: 0 / 411.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5757, allocations: 0 / 411.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007356/0.5764, allocations: 358.5 kB / 411.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.5765, allocations: 0 / 411.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.5766, allocations: 12 kB / 411.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.5766, allocations: 0 / 411.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.5767, allocations: 0 / 411.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.5767, allocations: 3.984 kB / 411.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5767, allocations: 0 / 411.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.5771, allocations: 187.4 kB / 411.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.5772, allocations: 85.02 kB / 412 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.5772, allocations: 0 / 412 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.5774, allocations: 11.98 kB / 412 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.5774, allocations: 8 kB / 412 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.5774, allocations: 0 / 412 MB, free: 13.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.5776, allocations: 107.2 kB / 412.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5776, allocations: 3.938 kB / 412.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003378/0.578, allocations: 19.94 kB / 412.1 MB, free: 13.77 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.0007614/0.5787, allocations: 251 kB / 412.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004374/0.5792, allocations: 115.3 kB / 412.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.5792, allocations: 0 / 412.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.5794, allocations: 39.86 kB / 412.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.5797, allocations: 4 kB / 412.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.5802, allocations: 203 kB / 412.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.5806, allocations: 0.6887 MB / 413.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.5807, allocations: 15.44 kB / 413.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5807, allocations: 0 / 413.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of Templates: time 0.00439/0.5851, allocations: 1.157 MB / 414.6 MB, free: 11.29 MB / 346.7 MB