Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.903/1.903, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.937e-05/3.968e-05, allocations: 0 / 277.8 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 48.71 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3818/0.5021, allocations: 74.65 MB / 401.2 MB, free: 10.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.5024, allocations: 73.86 kB / 401.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01144/0.5139, allocations: 3.205 MB / 404.5 MB, free: 9.168 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.241e-06/0.5139, allocations: 0 / 404.5 MB, free: 9.168 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.5139, allocations: 3.75 kB / 404.5 MB, free: 9.168 MB / 314.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.0003601/0.5143, allocations: 389.4 kB / 404.9 MB, free: 8.762 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5144, allocations: 7.719 kB / 404.9 MB, free: 8.762 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.5144, allocations: 7.75 kB / 404.9 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.5146, allocations: 189.2 kB / 405.1 MB, free: 8.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.5146, allocations: 7.375 kB / 405.1 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.5147, allocations: 3.906 kB / 405.1 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.5148, allocations: 53.88 kB / 405.1 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.5148, allocations: 4 kB / 405.1 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.5149, allocations: 3.812 kB / 405.1 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.254e-06/0.5149, allocations: 0 / 405.1 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.5149, allocations: 11.16 kB / 405.1 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.5153, allocations: 273.7 kB / 405.4 MB, free: 8.203 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.5155, allocations: 45.36 kB / 405.5 MB, free: 8.172 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.5155, allocations: 20.02 kB / 405.5 MB, free: 8.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.5155, allocations: 0 / 405.5 MB, free: 8.156 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.5156, allocations: 30.56 kB / 405.5 MB, free: 8.117 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.888e-06/0.5156, allocations: 0 / 405.5 MB, free: 8.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004248/0.516, allocations: 105.4 kB / 405.6 MB, free: 8.062 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.5161, allocations: 77.11 kB / 405.7 MB, free: 7.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.5162, allocations: 118.8 kB / 405.8 MB, free: 7.867 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.5162, allocations: 29.08 kB / 405.8 MB, free: 7.836 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.5162, allocations: 157.2 kB / 406 MB, free: 7.688 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.5163, allocations: 19.64 kB / 406 MB, free: 7.668 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/0.5163, allocations: 3.875 kB / 406 MB, free: 7.668 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.5163, allocations: 318.6 kB / 406.3 MB, free: 7.352 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.5164, allocations: 11.91 kB / 406.3 MB, free: 7.352 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.58e-05/0.5165, allocations: 32.03 kB / 406.4 MB, free: 7.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.127e-05/0.5165, allocations: 45.16 kB / 406.4 MB, free: 7.289 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-06/0.5165, allocations: 0 / 406.4 MB, free: 7.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001514/0.5167, allocations: 94.36 kB / 406.5 MB, free: 7.223 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.5167, allocations: 29.55 kB / 406.5 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.365e-06/0.5168, allocations: 3.844 kB / 406.5 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5168, allocations: 0 / 406.5 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.5169, allocations: 15.48 kB / 406.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.5169, allocations: 0 / 406.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.517, allocations: 11.03 kB / 406.5 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.517, allocations: 3.812 kB / 406.6 MB, free: 7.184 MB / 314.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 5.289e-05/0.5171, allocations: 108.9 kB / 406.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.5171, allocations: 3.812 kB / 406.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.5173, allocations: 77.61 kB / 406.7 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5173, allocations: 0 / 406.7 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5173, allocations: 0 / 406.7 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5173, allocations: 0 / 406.7 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.5177, allocations: 337.6 kB / 407.1 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.113e-06/0.5177, allocations: 384 / 407.1 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.5178, allocations: 11.66 kB / 407.1 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.363e-06/0.5178, allocations: 0 / 407.1 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.886e-06/0.5178, allocations: 4 kB / 407.1 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.388e-06/0.5178, allocations: 3.984 kB / 407.1 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.742e-06/0.5178, allocations: 0 / 407.1 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.518, allocations: 162.7 kB / 407.2 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.518, allocations: 84.73 kB / 407.3 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.5181, allocations: 0 / 407.3 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.5182, allocations: 11.47 kB / 407.3 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.5182, allocations: 7.047 kB / 407.3 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.404e-06/0.5183, allocations: 3.562 kB / 407.3 MB, free: 6.449 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.572e-05/0.5183, allocations: 97.52 kB / 407.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.5183, allocations: 0 / 407.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000359/0.5187, allocations: 27.28 kB / 407.5 MB, free: 6.359 MB / 314.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.0008917/0.5196, allocations: 325.2 kB / 407.8 MB, free: 6.168 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.5198, allocations: 85 kB / 407.9 MB, free: 6.105 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.5198, allocations: 3.938 kB / 407.9 MB, free: 6.102 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.5199, allocations: 15.38 kB / 407.9 MB, free: 6.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.5201, allocations: 15.08 kB / 407.9 MB, free: 6.094 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.5204, allocations: 120.1 kB / 408 MB, free: 5.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.5206, allocations: 0.6883 MB / 408.7 MB, free: 5.277 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.5206, allocations: 15.27 kB / 408.7 MB, free: 5.266 MB / 314.7 MB Notification: Performance of SimCode: time 1.537e-06/0.5207, allocations: 0 / 408.7 MB, free: 5.266 MB / 314.7 MB Notification: Performance of Templates: time 0.003371/0.524, allocations: 1.44 MB / 410.2 MB, free: 4.535 MB / 314.7 MB