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.CombiTable1Ds.Test1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.184/2.184, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.51e-05/1.527e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2731, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.3951, allocations: 80.18 MB / 438.2 MB, free: 14.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3954, allocations: 71.91 kB / 438.3 MB, free: 14.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01072/0.4061, allocations: 2.692 MB / 441 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.279e-06/0.4062, allocations: 0 / 441 MB, free: 11.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.4062, allocations: 8 kB / 441 MB, free: 11.88 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.000445/0.4067, allocations: 380.9 kB / 441.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4067, allocations: 8.031 kB / 441.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.4068, allocations: 19.78 kB / 441.4 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.407, allocations: 183 kB / 441.6 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.407, allocations: 0 / 441.6 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.4071, allocations: 0 / 441.6 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.448e-05/0.4072, allocations: 12 kB / 441.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.215e-05/0.4073, allocations: 45.69 kB / 441.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4073, allocations: 0 / 441.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.4073, allocations: 0 / 441.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.4073, allocations: 7.953 kB / 441.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.4077, allocations: 245.4 kB / 441.9 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.4079, allocations: 38.5 kB / 441.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.408, allocations: 16.86 kB / 441.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.408, allocations: 0 / 441.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.408, allocations: 34.56 kB / 442 MB, free: 10.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.819e-06/0.408, allocations: 0 / 442 MB, free: 10.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004428/0.4085, allocations: 99.28 kB / 442.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.4085, allocations: 55.39 kB / 442.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.4087, allocations: 121.2 kB / 442.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.4087, allocations: 29.7 kB / 442.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.4089, allocations: 162.5 kB / 442.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.4089, allocations: 15.75 kB / 442.4 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-06/0.4089, allocations: 0 / 442.4 MB, free: 10.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4091, allocations: 310.8 kB / 442.7 MB, free: 9.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.84e-05/0.4091, allocations: 12 kB / 442.7 MB, free: 9.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.4092, allocations: 11.98 kB / 442.8 MB, free: 9.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.344e-05/0.4092, allocations: 16 kB / 442.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-06/0.4092, allocations: 0 / 442.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001562/0.4094, allocations: 69.81 kB / 442.8 MB, free: 9.816 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.4094, allocations: 29.7 kB / 442.9 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.548e-06/0.4095, allocations: 4 kB / 442.9 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4095, allocations: 0 / 442.9 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.4096, allocations: 19.94 kB / 442.9 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.4e-06/0.4096, allocations: 3.938 kB / 442.9 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.4097, allocations: 4 kB / 442.9 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.4097, allocations: 4 kB / 442.9 MB, free: 9.746 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 () * 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 8.29e-05/0.4098, allocations: 105 kB / 443 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.4099, allocations: 7.906 kB / 443 MB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.41, allocations: 74.02 kB / 443.1 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.066e-06/0.4101, allocations: 0 / 443.1 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.207e-06/0.4101, allocations: 3.953 kB / 443.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4101, allocations: 0 / 443.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.4105, allocations: 295.2 kB / 443.4 MB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-06/0.4105, allocations: 4 kB / 443.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.018e-05/0.4106, allocations: 15.98 kB / 443.4 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.525e-06/0.4107, allocations: 3.938 kB / 443.4 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.819e-06/0.4107, allocations: 0 / 443.4 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.813e-06/0.4107, allocations: 3.953 kB / 443.4 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.476e-06/0.4107, allocations: 3.938 kB / 443.4 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.4109, allocations: 155.5 kB / 443.6 MB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.411, allocations: 89.02 kB / 443.7 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.411, allocations: 0 / 443.7 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4111, allocations: 12.23 kB / 443.7 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.4112, allocations: 3.953 kB / 443.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.969e-06/0.4112, allocations: 4 kB / 443.7 MB, free: 8.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.452e-05/0.4113, allocations: 103.8 kB / 443.8 MB, free: 8.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.47e-07/0.4113, allocations: 0 / 443.8 MB, free: 8.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.4116, allocations: 12 kB / 443.8 MB, free: 8.781 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 () * 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.0008206/0.4125, allocations: 255 kB / 444 MB, free: 8.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.4127, allocations: 87.34 kB / 444.1 MB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.824e-06/0.4127, allocations: 0 / 444.1 MB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.714e-05/0.4127, allocations: 16 kB / 444.1 MB, free: 8.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.413, allocations: 11.98 kB / 444.1 MB, free: 8.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.4134, allocations: 125.7 kB / 444.3 MB, free: 8.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.4138, allocations: 0.7002 MB / 445 MB, free: 7.551 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.4138, allocations: 15.38 kB / 445 MB, free: 7.535 MB / 378.7 MB Notification: Performance of SimCode: time 1.552e-06/0.4138, allocations: 0 / 445 MB, free: 7.535 MB / 378.7 MB Notification: Performance of Templates: time 0.003328/0.4172, allocations: 1.146 MB / 446.1 MB, free: 6.395 MB / 378.7 MB