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.Test16.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.Test16,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.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.155/2.155, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006775/0.0006776, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4096, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.5504, allocations: 74.53 MB / 406.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.5508, allocations: 67.97 kB / 406.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01293/0.5637, allocations: 2.987 MB / 409.4 MB, free: 0.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5638, allocations: 4 kB / 409.4 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.5638, allocations: 0 / 409.4 MB, free: 0.8711 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.0006511/0.5645, allocations: 416.7 kB / 409.8 MB, free: 420 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.5645, allocations: 12.02 kB / 409.8 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.5646, allocations: 7.906 kB / 409.8 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.5649, allocations: 207.3 kB / 410 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.565, allocations: 0 / 410 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.565, allocations: 4 kB / 410 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.5652, allocations: 61.61 kB / 410.1 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.5653, allocations: 0 / 410.1 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.5653, allocations: 0 / 410.1 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.5653, allocations: 0 / 410.1 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.5655, allocations: 27.98 kB / 410.1 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006216/0.5661, allocations: 292.9 kB / 410.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.5664, allocations: 54.48 kB / 410.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.5665, allocations: 0 / 410.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.5665, allocations: 30.56 kB / 410.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.5665, allocations: 0 / 410.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008913/0.5674, allocations: 177.3 kB / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.5675, allocations: 51.41 kB / 410.7 MB, free: 15.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.5678, allocations: 198.3 kB / 410.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.5678, allocations: 25.7 kB / 410.9 MB, free: 15.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.5679, allocations: 166.6 kB / 411.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.568, allocations: 11.8 kB / 411.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.568, allocations: 0 / 411.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5681, allocations: 322.8 kB / 411.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.5683, allocations: 23.98 kB / 411.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.5684, allocations: 31.97 kB / 411.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.5686, allocations: 57.69 kB / 411.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.5686, allocations: 0 / 411.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003679/0.569, allocations: 123.3 kB / 411.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.5691, allocations: 33.69 kB / 411.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5691, allocations: 0 / 411.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.5691, allocations: 0 / 411.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.5692, allocations: 12 kB / 411.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.5693, allocations: 0 / 411.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.5694, allocations: 15.92 kB / 411.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.5694, allocations: 256 / 411.7 MB, free: 14.31 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.0001357/0.5695, allocations: 137.8 kB / 411.8 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.5696, allocations: 11.81 kB / 411.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.57, allocations: 113.9 kB / 412 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.57, allocations: 0 / 412 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5701, allocations: 4 kB / 412 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.5701, allocations: 3.984 kB / 412 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007196/0.5708, allocations: 378.5 kB / 412.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5708, allocations: 0 / 412.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.5709, allocations: 19.98 kB / 412.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.571, allocations: 3.938 kB / 412.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.571, allocations: 4 kB / 412.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.571, allocations: 0 / 412.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.571, allocations: 3.938 kB / 412.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.5714, allocations: 199.4 kB / 412.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.5715, allocations: 85.02 kB / 412.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.5715, allocations: 4 kB / 412.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.5717, allocations: 7.984 kB / 412.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.5717, allocations: 0 / 412.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.5717, allocations: 8 kB / 412.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001878/0.5719, allocations: 141.9 kB / 412.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.572, allocations: 0 / 412.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003153/0.5723, allocations: 27.94 kB / 412.8 MB, free: 13.07 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.0006911/0.573, allocations: 246.7 kB / 413.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003931/0.5734, allocations: 127.3 kB / 413.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5734, allocations: 0 / 413.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.5736, allocations: 31.92 kB / 413.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.5738, allocations: 11.98 kB / 413.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.5745, allocations: 275.5 kB / 413.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.5749, allocations: 0.7043 MB / 414.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.5749, allocations: 15.42 kB / 414.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of SimCode: time 7.12e-07/0.575, allocations: 3.938 kB / 414.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of Templates: time 0.004251/0.5792, allocations: 1.361 MB / 415.6 MB, free: 10.29 MB / 346.7 MB