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.Test11.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.Test11,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.Test11") Notification: Performance of loadModel(ModelicaTest): time 2.162/2.162, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.000435, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2773, allocations: 54.87 MB / 369.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.002057/0.2794, allocations: 1.223 MB / 370.4 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006395/0.28, allocations: 257.1 kB / 370.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.2801, allocations: 4 kB / 370.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.2803, allocations: 11.92 kB / 370.7 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.2804, allocations: 23.91 kB / 370.7 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.2806, allocations: 27.92 kB / 370.7 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.2807, allocations: 35.95 kB / 370.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.2808, allocations: 19.97 kB / 370.8 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.035e-05/0.2809, allocations: 15.94 kB / 370.8 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.281, allocations: 15.86 kB / 370.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.281, allocations: 4 kB / 370.8 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.237e-05/0.2811, allocations: 19.92 kB / 370.8 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.2811, allocations: 11.98 kB / 370.9 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.2812, allocations: 33.64 kB / 370.9 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.2813, allocations: 43.94 kB / 370.9 MB, free: 8.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.921e-06/0.2813, allocations: 0 / 370.9 MB, free: 8.836 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.802e-06/0.2813, allocations: 0 / 370.9 MB, free: 8.836 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.883e-06/0.2813, allocations: 4 kB / 370.9 MB, free: 8.832 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.0005092/0.2819, allocations: 397.5 kB / 371.3 MB, free: 8.391 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2819, allocations: 12.02 kB / 371.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.282, allocations: 11.86 kB / 371.3 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.2822, allocations: 178.9 kB / 371.5 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.2822, allocations: 3.938 kB / 371.5 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.2822, allocations: 4 kB / 371.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.2824, allocations: 53.69 kB / 371.6 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2824, allocations: 0 / 371.6 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.718e-06/0.2825, allocations: 0 / 371.6 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.516e-06/0.2825, allocations: 0 / 371.6 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.2826, allocations: 31.92 kB / 371.6 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.2831, allocations: 281 kB / 371.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.2833, allocations: 50.5 kB / 371.9 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.2834, allocations: 7.875 kB / 371.9 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2834, allocations: 34.56 kB / 372 MB, free: 7.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.108e-06/0.2834, allocations: 0 / 372 MB, free: 7.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007495/0.2842, allocations: 177.2 kB / 372.1 MB, free: 7.441 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.2842, allocations: 55.41 kB / 372.2 MB, free: 7.375 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.2844, allocations: 162 kB / 372.4 MB, free: 7.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.2845, allocations: 25.7 kB / 372.4 MB, free: 7.176 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2846, allocations: 162.5 kB / 372.5 MB, free: 7.016 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.2846, allocations: 11.81 kB / 372.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-06/0.2847, allocations: 0 / 372.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2848, allocations: 318.8 kB / 372.9 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.2849, allocations: 23.98 kB / 372.9 MB, free: 6.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.2851, allocations: 31.98 kB / 372.9 MB, free: 6.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.2852, allocations: 53.69 kB / 373 MB, free: 6.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.88e-06/0.2852, allocations: 0 / 373 MB, free: 6.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003255/0.2856, allocations: 127.3 kB / 373.1 MB, free: 6.434 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/0.2856, allocations: 29.7 kB / 373.1 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2856, allocations: 0 / 373.1 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2857, allocations: 7.953 kB / 373.1 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.873e-05/0.2858, allocations: 15.98 kB / 373.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.184e-06/0.2858, allocations: 0 / 373.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.2858, allocations: 4 kB / 373.2 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.2859, allocations: 3.984 kB / 373.2 MB, free: 6.367 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.0001176/0.286, allocations: 125.8 kB / 373.3 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.286, allocations: 7.906 kB / 373.3 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.2864, allocations: 109.9 kB / 373.4 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.457e-06/0.2864, allocations: 3.953 kB / 373.4 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.002e-06/0.2864, allocations: 4 kB / 373.4 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.604e-06/0.2864, allocations: 288 / 373.4 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/0.287, allocations: 358.5 kB / 373.8 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.232e-06/0.2871, allocations: 7.938 kB / 373.8 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.968e-05/0.2872, allocations: 11.98 kB / 373.8 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.934e-06/0.2872, allocations: 12.33 kB / 373.8 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.2872, allocations: 3.984 kB / 373.8 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2872, allocations: 7.938 kB / 373.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-06/0.2872, allocations: 0 / 373.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.2876, allocations: 191.4 kB / 374 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.2877, allocations: 85.02 kB / 374.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.2877, allocations: 3.953 kB / 374.1 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.2878, allocations: 11.98 kB / 374.1 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.2879, allocations: 0 / 374.1 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2879, allocations: 4 kB / 374.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.288, allocations: 128.3 kB / 374.2 MB, free: 5.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.997e-06/0.288, allocations: 0 / 374.2 MB, free: 5.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.2884, allocations: 19.92 kB / 374.2 MB, free: 5.191 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.0009534/0.2893, allocations: 292 kB / 374.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003282/0.2897, allocations: 119.4 kB / 374.6 MB, free: 4.844 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.781e-06/0.2897, allocations: 0 / 374.6 MB, free: 4.844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.2898, allocations: 35.92 kB / 374.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.2901, allocations: 9.078 kB / 374.7 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.2906, allocations: 226.3 kB / 374.9 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.291, allocations: 0.6965 MB / 375.6 MB, free: 3.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.2911, allocations: 19.42 kB / 375.6 MB, free: 3.801 MB / 298.7 MB Notification: Performance of SimCode: time 1.668e-06/0.2911, allocations: 3.938 kB / 375.6 MB, free: 3.797 MB / 298.7 MB Notification: Performance of Templates: time 0.003364/0.2945, allocations: 1.225 MB / 376.8 MB, free: 2.57 MB / 298.7 MB