Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test7.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004379, allocations: 12 kB / 314.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2747, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.002056/0.2768, allocations: 1.223 MB / 370.4 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005992/0.2775, allocations: 253.2 kB / 370.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.2776, allocations: 0 / 370.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.2777, allocations: 11.97 kB / 370.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.2779, allocations: 27.8 kB / 370.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.278, allocations: 35.89 kB / 370.7 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.2782, allocations: 31.97 kB / 370.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.2783, allocations: 15.98 kB / 370.8 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.448e-05/0.2783, allocations: 19.92 kB / 370.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.2784, allocations: 7.938 kB / 370.8 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2784, allocations: 0 / 370.8 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.968e-05/0.2785, allocations: 31.84 kB / 370.8 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.2786, allocations: 4 kB / 370.8 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.2786, allocations: 37.64 kB / 370.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.2787, allocations: 43.92 kB / 370.9 MB, free: 8.965 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.621e-06/0.2788, allocations: 0 / 370.9 MB, free: 8.965 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.917e-06/0.2788, allocations: 4 kB / 370.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.2788, allocations: 0 / 370.9 MB, free: 8.961 MB / 298.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.0004905/0.2793, allocations: 389.6 kB / 371.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2793, allocations: 8.031 kB / 371.3 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.2794, allocations: 11.86 kB / 371.3 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.2796, allocations: 186.9 kB / 371.5 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.2797, allocations: 0 / 371.5 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.2797, allocations: 0 / 371.5 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.2799, allocations: 57.69 kB / 371.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2799, allocations: 0 / 371.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-06/0.2799, allocations: 0 / 371.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.117e-06/0.2799, allocations: 0 / 371.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.2801, allocations: 35.86 kB / 371.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.2805, allocations: 277 kB / 371.9 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.2808, allocations: 46.56 kB / 371.9 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.2808, allocations: 7.938 kB / 371.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.2809, allocations: 34.5 kB / 372 MB, free: 7.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.238e-06/0.2809, allocations: 0 / 372 MB, free: 7.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007224/0.2816, allocations: 173.5 kB / 372.1 MB, free: 7.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.2817, allocations: 51.41 kB / 372.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.2819, allocations: 153.4 kB / 372.3 MB, free: 7.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.2819, allocations: 25.7 kB / 372.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.282, allocations: 162.5 kB / 372.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.282, allocations: 19.78 kB / 372.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-06/0.2821, allocations: 0 / 372.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2822, allocations: 314.8 kB / 372.8 MB, free: 6.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.2824, allocations: 31.98 kB / 372.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.2825, allocations: 23.98 kB / 372.9 MB, free: 6.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.2826, allocations: 61.86 kB / 373 MB, free: 6.719 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-06/0.2826, allocations: 0 / 373 MB, free: 6.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003212/0.283, allocations: 127.3 kB / 373.1 MB, free: 6.582 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.283, allocations: 29.7 kB / 373.1 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.961e-06/0.283, allocations: 3.984 kB / 373.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2831, allocations: 3.953 kB / 373.1 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.2832, allocations: 15.94 kB / 373.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.89e-06/0.2832, allocations: 0 / 373.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.2833, allocations: 11.98 kB / 373.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.2833, allocations: 4 kB / 373.1 MB, free: 6.508 MB / 298.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.000118/0.2834, allocations: 117.8 kB / 373.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.2835, allocations: 3.906 kB / 373.3 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.2838, allocations: 109.6 kB / 373.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.443e-06/0.2838, allocations: 3.953 kB / 373.4 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.095e-06/0.2838, allocations: 4 kB / 373.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.745e-06/0.2839, allocations: 4 kB / 373.4 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005927/0.2845, allocations: 354.4 kB / 373.7 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.924e-06/0.2845, allocations: 4 kB / 373.7 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.941e-05/0.2846, allocations: 15.98 kB / 373.7 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.113e-06/0.2846, allocations: 7.953 kB / 373.8 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2846, allocations: 0 / 373.8 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.363e-06/0.2846, allocations: 3.938 kB / 373.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.942e-06/0.2846, allocations: 0 / 373.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.285, allocations: 195.6 kB / 373.9 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.2851, allocations: 81.08 kB / 374 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.2852, allocations: 11.94 kB / 374 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2853, allocations: 12 kB / 374.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.2853, allocations: 0 / 374.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.2853, allocations: 7.984 kB / 374.1 MB, free: 5.484 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.2855, allocations: 107.3 kB / 374.2 MB, free: 5.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.2855, allocations: 0 / 374.2 MB, free: 5.379 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003241/0.2858, allocations: 16 kB / 374.2 MB, free: 5.363 MB / 298.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.0009438/0.2868, allocations: 296.4 kB / 374.5 MB, free: 5.137 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.2871, allocations: 123.3 kB / 374.6 MB, free: 5.004 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.041e-06/0.2871, allocations: 0 / 374.6 MB, free: 5.004 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.2873, allocations: 31.98 kB / 374.6 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.2875, allocations: 4 kB / 374.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.288, allocations: 218.1 kB / 374.8 MB, free: 4.723 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.2884, allocations: 0.6926 MB / 375.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.2885, allocations: 19.44 kB / 375.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of SimCode: time 1.307e-06/0.2885, allocations: 0 / 375.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of Templates: time 0.003415/0.2919, allocations: 1.211 MB / 376.8 MB, free: 2.773 MB / 298.7 MB