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.Test8.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.Test8,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.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.131/2.131, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004451, allocations: 16 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2728, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.002183/0.2751, allocations: 1.227 MB / 370.4 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006109/0.2757, allocations: 237.3 kB / 370.6 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.2758, allocations: 4 kB / 370.6 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.2759, allocations: 19.91 kB / 370.7 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.2761, allocations: 19.91 kB / 370.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.2762, allocations: 39.84 kB / 370.7 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.2764, allocations: 39.95 kB / 370.8 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.862e-05/0.2765, allocations: 8 kB / 370.8 MB, free: 9.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/0.2765, allocations: 19.92 kB / 370.8 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.2766, allocations: 15.86 kB / 370.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.2766, allocations: 0 / 370.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.434e-05/0.2767, allocations: 19.98 kB / 370.8 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.2768, allocations: 7.984 kB / 370.8 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.2768, allocations: 37.64 kB / 370.9 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.2769, allocations: 47.92 kB / 370.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.417e-06/0.277, allocations: 0 / 370.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.277, allocations: 0 / 370.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.48e-06/0.277, allocations: 0 / 370.9 MB, free: 8.945 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.0005037/0.2775, allocations: 393.5 kB / 371.3 MB, free: 8.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2775, allocations: 8.031 kB / 371.3 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.2776, allocations: 15.86 kB / 371.3 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.2778, allocations: 178.9 kB / 371.5 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2779, allocations: 4 kB / 371.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.2779, allocations: 4 kB / 371.5 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.2781, allocations: 53.62 kB / 371.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2781, allocations: 3.938 kB / 371.6 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2781, allocations: 7.984 kB / 371.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2781, allocations: 0 / 371.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.2783, allocations: 27.94 kB / 371.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.2787, allocations: 277 kB / 371.9 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.279, allocations: 46.5 kB / 371.9 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.279, allocations: 4 kB / 371.9 MB, free: 7.785 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.2791, allocations: 38.64 kB / 372 MB, free: 7.738 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.077e-06/0.2791, allocations: 4 kB / 372 MB, free: 7.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007185/0.2798, allocations: 165.3 kB / 372.1 MB, free: 7.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.2799, allocations: 51.41 kB / 372.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.2801, allocations: 153.8 kB / 372.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.2801, allocations: 25.7 kB / 372.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2802, allocations: 162.5 kB / 372.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.2802, allocations: 15.8 kB / 372.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-06/0.2803, allocations: 0 / 372.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2804, allocations: 314.8 kB / 372.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.2805, allocations: 31.97 kB / 372.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-05/0.2807, allocations: 27.98 kB / 372.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.2808, allocations: 53.69 kB / 372.9 MB, free: 6.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-06/0.2808, allocations: 0 / 372.9 MB, free: 6.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003231/0.2811, allocations: 127.3 kB / 373.1 MB, free: 6.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.2812, allocations: 33.7 kB / 373.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.592e-06/0.2812, allocations: 0 / 373.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2812, allocations: 3.953 kB / 373.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.588e-05/0.2814, allocations: 15.98 kB / 373.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.724e-06/0.2814, allocations: 3.938 kB / 373.1 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.2815, allocations: 8 kB / 373.1 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.2815, allocations: 4 kB / 373.1 MB, free: 6.496 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.0001187/0.2816, allocations: 117.8 kB / 373.2 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.2817, allocations: 7.906 kB / 373.3 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.282, allocations: 113.8 kB / 373.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.2821, allocations: 4.266 kB / 373.4 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.967e-06/0.2821, allocations: 3.984 kB / 373.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.019e-06/0.2821, allocations: 0 / 373.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.2827, allocations: 362.5 kB / 373.7 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-06/0.2827, allocations: 4 kB / 373.7 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.2828, allocations: 15.98 kB / 373.7 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.458e-06/0.2828, allocations: 3.953 kB / 373.8 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2829, allocations: 4 kB / 373.8 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.454e-06/0.2829, allocations: 0 / 373.8 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.642e-06/0.2829, allocations: 3.938 kB / 373.8 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.2832, allocations: 191.5 kB / 373.9 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.2833, allocations: 85.02 kB / 374 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.2833, allocations: 3.953 kB / 374 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.2835, allocations: 4 kB / 374 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.2835, allocations: 11.98 kB / 374 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-06/0.2835, allocations: 0 / 374 MB, free: 5.473 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.2837, allocations: 119.2 kB / 374.2 MB, free: 5.355 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.2837, allocations: 0 / 374.2 MB, free: 5.355 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003207/0.284, allocations: 8 kB / 374.2 MB, free: 5.348 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.0009498/0.285, allocations: 302.5 kB / 374.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.2853, allocations: 119.3 kB / 374.6 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2853, allocations: 0 / 374.6 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.2855, allocations: 39.92 kB / 374.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.2857, allocations: 10.83 kB / 374.6 MB, free: 4.941 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.2862, allocations: 210.2 kB / 374.8 MB, free: 4.703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.2866, allocations: 0.7004 MB / 375.5 MB, free: 3.977 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.2867, allocations: 11.44 kB / 375.6 MB, free: 3.965 MB / 298.7 MB Notification: Performance of SimCode: time 1.265e-06/0.2867, allocations: 0 / 375.6 MB, free: 3.965 MB / 298.7 MB Notification: Performance of Templates: time 0.003366/0.2901, allocations: 1.206 MB / 376.8 MB, free: 2.758 MB / 298.7 MB