Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test16.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test16,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.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.639/2.639, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004619, allocations: 12 kB / 314.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3592, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.5187, allocations: 80.97 MB / 450.8 MB, free: 9.664 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/0.5191, allocations: 75.97 kB / 450.8 MB, free: 9.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01381/0.5329, allocations: 3.15 MB / 454 MB, free: 6.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.533, allocations: 0 / 454 MB, free: 6.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.533, allocations: 0 / 454 MB, free: 6.426 MB / 378.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.0006123/0.5336, allocations: 420.8 kB / 454.4 MB, free: 5.961 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.5337, allocations: 8.031 kB / 454.4 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.5337, allocations: 15.77 kB / 454.4 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.5341, allocations: 195.5 kB / 454.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.5341, allocations: 3.938 kB / 454.6 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.5341, allocations: 4 kB / 454.6 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.5344, allocations: 61.61 kB / 454.7 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5344, allocations: 0 / 454.7 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.5344, allocations: 0 / 454.7 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5344, allocations: 4 kB / 454.7 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.5346, allocations: 31.94 kB / 454.7 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.5351, allocations: 281 kB / 455 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.5354, allocations: 58.5 kB / 455 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.5355, allocations: 0 / 455 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.5355, allocations: 32.38 kB / 455.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.5355, allocations: 0 / 455.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009046/0.5364, allocations: 177.3 kB / 455.3 MB, free: 4.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.5365, allocations: 51.41 kB / 455.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.5368, allocations: 193.9 kB / 455.5 MB, free: 4.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.5368, allocations: 25.7 kB / 455.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.931e-05/0.5369, allocations: 162.5 kB / 455.7 MB, free: 4.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.537, allocations: 23.8 kB / 455.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.537, allocations: 0 / 455.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5372, allocations: 314.8 kB / 456 MB, free: 4.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.5373, allocations: 31.98 kB / 456 MB, free: 4.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.5375, allocations: 23.98 kB / 456.1 MB, free: 4.137 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.5377, allocations: 57.69 kB / 456.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5377, allocations: 0 / 456.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003942/0.5381, allocations: 123.3 kB / 456.2 MB, free: 3.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.5381, allocations: 33.7 kB / 456.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5382, allocations: 3.953 kB / 456.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.5382, allocations: 4 kB / 456.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.5383, allocations: 15.98 kB / 456.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5384, allocations: 3.938 kB / 456.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.085e-05/0.5385, allocations: 7.984 kB / 456.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.5385, allocations: 4 kB / 456.3 MB, free: 3.863 MB / 378.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.0001441/0.5386, allocations: 121.8 kB / 456.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.5387, allocations: 7.906 kB / 456.4 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.5391, allocations: 125.7 kB / 456.6 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5392, allocations: 4.234 kB / 456.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5392, allocations: 0 / 456.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.5392, allocations: 3.984 kB / 456.6 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007346/0.5399, allocations: 378.9 kB / 456.9 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.54, allocations: 4.062 kB / 456.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.5401, allocations: 19.92 kB / 457 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.5401, allocations: 3.953 kB / 457 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.5401, allocations: 0 / 457 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.5401, allocations: 0 / 457 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5401, allocations: 8 kB / 457 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.5406, allocations: 187.4 kB / 457.2 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.5407, allocations: 89.02 kB / 457.2 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.5407, allocations: 3.953 kB / 457.2 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.5408, allocations: 15.98 kB / 457.3 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.5409, allocations: 0 / 457.3 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.5409, allocations: 4 kB / 457.3 MB, free: 2.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001971/0.5411, allocations: 147.1 kB / 457.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5411, allocations: 0 / 457.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003688/0.5415, allocations: 27.94 kB / 457.4 MB, free: 2.633 MB / 378.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.0009308/0.5424, allocations: 304.8 kB / 457.7 MB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.5429, allocations: 123.4 kB / 457.9 MB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5429, allocations: 0 / 457.9 MB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.5431, allocations: 27.98 kB / 457.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.5434, allocations: 8 kB / 457.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006799/0.544, allocations: 270.7 kB / 458.2 MB, free: 1.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.5444, allocations: 0.7043 MB / 458.9 MB, free: 1.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.5445, allocations: 11.44 kB / 458.9 MB, free: 1.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/0.5445, allocations: 0 / 458.9 MB, free: 1.18 MB / 378.7 MB Notification: Performance of Templates: time 0.004556/0.5491, allocations: 1.369 MB / 460.2 MB, free: 15.81 MB / 394.7 MB