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.Test12.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.Test12,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.Test12") Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.678e-05/4.693e-05, allocations: 0 / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1159, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.386/0.5019, allocations: 74.39 MB / 400.9 MB, free: 10.31 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.5021, allocations: 73.42 kB / 401 MB, free: 10.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0104/0.5126, allocations: 2.632 MB / 403.6 MB, free: 9.254 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.767e-06/0.5126, allocations: 0 / 403.6 MB, free: 9.254 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.5126, allocations: 0 / 403.6 MB, free: 9.254 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.0003208/0.513, allocations: 395 kB / 404 MB, free: 8.844 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.513, allocations: 11.53 kB / 404 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.5131, allocations: 15.73 kB / 404 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.5133, allocations: 190 kB / 404.2 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.5133, allocations: 0 / 404.2 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.5133, allocations: 7.797 kB / 404.2 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.99e-05/0.5134, allocations: 43.78 kB / 404.3 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5135, allocations: 3.938 kB / 404.3 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.5135, allocations: 0 / 404.3 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.5135, allocations: 0 / 404.3 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/0.5135, allocations: 14.69 kB / 404.3 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.5139, allocations: 281.7 kB / 404.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.514, allocations: 37.61 kB / 404.6 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.5141, allocations: 8.641 kB / 404.6 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.5141, allocations: 7.453 kB / 404.6 MB, free: 8.254 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.5141, allocations: 34.38 kB / 404.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.073e-06/0.5142, allocations: 4 kB / 404.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004128/0.5146, allocations: 96.77 kB / 404.8 MB, free: 8.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.5146, allocations: 55.28 kB / 404.8 MB, free: 8.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.5148, allocations: 147 kB / 405 MB, free: 7.988 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.5148, allocations: 29.45 kB / 405 MB, free: 7.957 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.5148, allocations: 161.1 kB / 405.1 MB, free: 7.805 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.5149, allocations: 14.97 kB / 405.2 MB, free: 7.797 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-06/0.5149, allocations: 4 kB / 405.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.627e-05/0.5149, allocations: 318.8 kB / 405.5 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.515, allocations: 14.97 kB / 405.5 MB, free: 7.469 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.201e-05/0.515, allocations: 14.62 kB / 405.5 MB, free: 7.469 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/0.5151, allocations: 41.42 kB / 405.5 MB, free: 7.434 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.677e-06/0.5151, allocations: 0 / 405.5 MB, free: 7.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001366/0.5152, allocations: 88.55 kB / 405.6 MB, free: 7.367 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.5153, allocations: 33.39 kB / 405.7 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.5153, allocations: 7.875 kB / 405.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5153, allocations: 0 / 405.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.5154, allocations: 19.58 kB / 405.7 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.736e-06/0.5154, allocations: 0 / 405.7 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.5155, allocations: 7.688 kB / 405.7 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.5155, allocations: 3.984 kB / 405.7 MB, free: 7.316 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 4.63e-05/0.5156, allocations: 107.6 kB / 405.8 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.5156, allocations: 7.75 kB / 405.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.5158, allocations: 78.66 kB / 405.9 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5158, allocations: 3.938 kB / 405.9 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.653e-06/0.5158, allocations: 3.844 kB / 405.9 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.647e-06/0.5159, allocations: 3.984 kB / 405.9 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.5162, allocations: 330.1 kB / 406.2 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.496e-06/0.5162, allocations: 0 / 406.2 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.033e-05/0.5163, allocations: 15.17 kB / 406.2 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5163, allocations: 0 / 406.2 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.5163, allocations: 4 kB / 406.2 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.223e-06/0.5164, allocations: 0 / 406.2 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.347e-06/0.5164, allocations: 3.656 kB / 406.2 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.5165, allocations: 168.5 kB / 406.4 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.5166, allocations: 84.84 kB / 406.5 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.5166, allocations: 4.062 kB / 406.5 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.5167, allocations: 3.812 kB / 406.5 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.5168, allocations: 11.83 kB / 406.5 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-06/0.5168, allocations: 0 / 406.5 MB, free: 6.578 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.13e-05/0.5169, allocations: 127.5 kB / 406.6 MB, free: 6.496 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.5169, allocations: 0 / 406.6 MB, free: 6.496 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.5172, allocations: 19.5 kB / 406.7 MB, free: 6.488 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.0006535/0.5179, allocations: 248.8 kB / 406.9 MB, free: 6.324 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.5181, allocations: 87.16 kB / 407 MB, free: 6.258 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.5181, allocations: 0 / 407 MB, free: 6.258 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.5181, allocations: 19.5 kB / 407 MB, free: 6.254 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.5184, allocations: 11.55 kB / 407 MB, free: 6.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.5187, allocations: 147.2 kB / 407.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.5189, allocations: 0.7037 MB / 407.9 MB, free: 5.418 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.5189, allocations: 11.28 kB / 407.9 MB, free: 5.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.408e-06/0.5189, allocations: 0 / 407.9 MB, free: 5.41 MB / 314.7 MB Notification: Performance of Templates: time 0.002881/0.5218, allocations: 1.223 MB / 409.1 MB, free: 4.805 MB / 314.7 MB