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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.257/2.257, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006405/0.0006407, allocations: 11.98 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4412, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.5961, allocations: 74.49 MB / 406.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.5965, allocations: 71.97 kB / 406.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0116/0.6081, allocations: 2.583 MB / 408.9 MB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6081, allocations: 0 / 408.9 MB, free: 1.281 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.6082, allocations: 4 kB / 408.9 MB, free: 1.277 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.0006041/0.6088, allocations: 403.8 kB / 409.3 MB, free: 0.832 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.6088, allocations: 12.03 kB / 409.4 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.6089, allocations: 3.906 kB / 409.4 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.6092, allocations: 194.7 kB / 409.5 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.6092, allocations: 4 kB / 409.6 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.6093, allocations: 0 / 409.6 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.6095, allocations: 53.67 kB / 409.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.6095, allocations: 0 / 409.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.6095, allocations: 4 kB / 409.6 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.6095, allocations: 0 / 409.6 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.6097, allocations: 23.98 kB / 409.6 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.6102, allocations: 284.9 kB / 409.9 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.6106, allocations: 58.55 kB / 410 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.6106, allocations: 0 / 410 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.6106, allocations: 30.56 kB / 410 MB, free: 64 kB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.6107, allocations: 0 / 410 MB, free: 64 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009273/0.6116, allocations: 161.5 kB / 410.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.6117, allocations: 55.39 kB / 410.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.6119, allocations: 126.1 kB / 410.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.6119, allocations: 29.7 kB / 410.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.915e-05/0.612, allocations: 170.4 kB / 410.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.612, allocations: 15.8 kB / 410.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.6121, allocations: 4 kB / 410.5 MB, free: 15.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6122, allocations: 314.8 kB / 410.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.6124, allocations: 23.98 kB / 410.9 MB, free: 15.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.6125, allocations: 35.97 kB / 410.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.6127, allocations: 57.62 kB / 411 MB, free: 15.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6127, allocations: 3.938 kB / 411 MB, free: 15.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000396/0.6131, allocations: 119.4 kB / 411.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.6132, allocations: 29.7 kB / 411.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6132, allocations: 4 kB / 411.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.6133, allocations: 4 kB / 411.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.6134, allocations: 15.98 kB / 411.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.6134, allocations: 0 / 411.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.6135, allocations: 11.94 kB / 411.2 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.6135, allocations: 0 / 411.2 MB, free: 14.83 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.0001265/0.6137, allocations: 121.8 kB / 411.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.6137, allocations: 11.89 kB / 411.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.6142, allocations: 105.6 kB / 411.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6142, allocations: 0 / 411.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6142, allocations: 0 / 411.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6142, allocations: 0 / 411.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006853/0.6149, allocations: 362.5 kB / 411.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6149, allocations: 4 kB / 411.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.6151, allocations: 12.38 kB / 411.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6151, allocations: 4 kB / 411.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.6151, allocations: 4 kB / 411.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.6151, allocations: 4 kB / 411.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.6151, allocations: 7.969 kB / 411.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.6155, allocations: 187.4 kB / 412 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.6156, allocations: 85 kB / 412 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.6157, allocations: 12.28 kB / 412.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.6158, allocations: 4 kB / 412.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.6158, allocations: 3.984 kB / 412.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.6159, allocations: 7.938 kB / 412.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.616, allocations: 99.27 kB / 412.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.616, allocations: 0 / 412.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003227/0.6163, allocations: 19.94 kB / 412.2 MB, free: 13.69 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.0007783/0.6171, allocations: 254.7 kB / 412.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000401/0.6175, allocations: 111.4 kB / 412.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.6176, allocations: 4 kB / 412.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.6177, allocations: 43.84 kB / 412.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.618, allocations: 4 kB / 412.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.6185, allocations: 211 kB / 412.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.6189, allocations: 0.6926 MB / 413.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.619, allocations: 11.44 kB / 413.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of SimCode: time 7.92e-07/0.619, allocations: 4 kB / 413.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of Templates: time 0.004025/0.623, allocations: 1.191 MB / 414.7 MB, free: 11.15 MB / 346.7 MB