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.Test8.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.Test8,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.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.023/2.023, allocations: 209.2 MB / 225.4 MB, free: 0.6328 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004432, allocations: 12 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1189, allocations: 48.71 MB / 331.8 MB, free: 8.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5469, allocations: 74.47 MB / 406.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5473, allocations: 75.97 kB / 406.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.5587, allocations: 2.599 MB / 409 MB, free: 8.043 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5587, allocations: 0 / 409 MB, free: 8.043 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.5588, allocations: 7.938 kB / 409 MB, free: 8.035 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.0005273/0.5593, allocations: 404.8 kB / 409.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5593, allocations: 8.031 kB / 409.4 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.5594, allocations: 4.875 kB / 409.4 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.5597, allocations: 194.8 kB / 409.6 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.5597, allocations: 0 / 409.6 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.5597, allocations: 4 kB / 409.6 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.5599, allocations: 49.69 kB / 409.6 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.56, allocations: 0 / 409.6 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.56, allocations: 4 kB / 409.6 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.56, allocations: 3.984 kB / 409.6 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.5602, allocations: 32.67 kB / 409.6 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.5606, allocations: 268.8 kB / 409.9 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.5609, allocations: 50.56 kB / 410 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.5609, allocations: 4.078 kB / 410 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.5609, allocations: 38.5 kB / 410 MB, free: 6.824 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/0.561, allocations: 0 / 410 MB, free: 6.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008497/0.5618, allocations: 145.4 kB / 410.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.5619, allocations: 59.34 kB / 410.2 MB, free: 6.605 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.5621, allocations: 145.8 kB / 410.3 MB, free: 6.453 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.5621, allocations: 29.7 kB / 410.4 MB, free: 6.418 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.5622, allocations: 154.6 kB / 410.5 MB, free: 6.266 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.5622, allocations: 27.64 kB / 410.6 MB, free: 6.238 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.5622, allocations: 0 / 410.6 MB, free: 6.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5624, allocations: 314.8 kB / 410.9 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.5625, allocations: 23.98 kB / 410.9 MB, free: 5.898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.5627, allocations: 32.05 kB / 410.9 MB, free: 5.867 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.5628, allocations: 53.69 kB / 411 MB, free: 5.809 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5628, allocations: 0 / 411 MB, free: 5.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003635/0.5632, allocations: 111.4 kB / 411.1 MB, free: 5.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.5633, allocations: 41.69 kB / 411.1 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5633, allocations: 0 / 411.1 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5633, allocations: 0 / 411.1 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.5635, allocations: 15.94 kB / 411.1 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.5635, allocations: 0 / 411.1 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.189e-05/0.5636, allocations: 7.984 kB / 411.1 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.5636, allocations: 4 kB / 411.1 MB, free: 5.613 MB / 330.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.0001245/0.5637, allocations: 129.7 kB / 411.3 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.5638, allocations: 7.906 kB / 411.3 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.5642, allocations: 97.62 kB / 411.4 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.5642, allocations: 0 / 411.4 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5642, allocations: 288 / 411.4 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5642, allocations: 3.984 kB / 411.4 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/0.5649, allocations: 358.5 kB / 411.7 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5649, allocations: 0 / 411.7 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.565, allocations: 15.98 kB / 411.7 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.565, allocations: 0 / 411.7 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.5651, allocations: 7.984 kB / 411.8 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.5651, allocations: 0 / 411.8 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5651, allocations: 320 / 411.8 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.5655, allocations: 195.3 kB / 411.9 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.5656, allocations: 89.02 kB / 412 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.5656, allocations: 0 / 412 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.5657, allocations: 7.984 kB / 412 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.5658, allocations: 4 kB / 412 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.5658, allocations: 0 / 412 MB, free: 4.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.5659, allocations: 116.8 kB / 412.2 MB, free: 4.496 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5659, allocations: 0 / 412.2 MB, free: 4.496 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000319/0.5663, allocations: 12 kB / 412.2 MB, free: 4.484 MB / 330.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.0006781/0.5669, allocations: 268.8 kB / 412.4 MB, free: 4.266 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003659/0.5673, allocations: 111.3 kB / 412.5 MB, free: 4.145 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5673, allocations: 4 kB / 412.5 MB, free: 4.141 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.5675, allocations: 27.98 kB / 412.6 MB, free: 4.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.5677, allocations: 11.98 kB / 412.6 MB, free: 4.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.5683, allocations: 215.1 kB / 412.8 MB, free: 3.859 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.5686, allocations: 0.6926 MB / 413.5 MB, free: 3.141 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.5687, allocations: 11.44 kB / 413.5 MB, free: 3.129 MB / 330.7 MB Notification: Performance of SimCode: time 1.143e-06/0.5687, allocations: 0 / 413.5 MB, free: 3.129 MB / 330.7 MB Notification: Performance of Templates: time 0.003993/0.5727, allocations: 1.191 MB / 414.7 MB, free: 1.945 MB / 330.7 MB