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.CombiTable2D.Test7.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.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.15/2.15, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.141e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2769, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.4029, allocations: 80.11 MB / 438.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.4032, allocations: 67.97 kB / 438.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01687/0.42, allocations: 5.15 MB / 443.4 MB, free: 9.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4201, allocations: 0 / 443.4 MB, free: 9.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.4201, allocations: 4 kB / 443.4 MB, free: 9.465 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.0007144/0.4208, allocations: 0.5659 MB / 443.9 MB, free: 8.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4209, allocations: 12.03 kB / 444 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.986e-05/0.421, allocations: 35.53 kB / 444 MB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.4216, allocations: 315.4 kB / 444.3 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.4216, allocations: 0 / 444.3 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.4216, allocations: 8 kB / 444.3 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.941e-05/0.4217, allocations: 8 kB / 444.3 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.286e-05/0.4218, allocations: 41.64 kB / 444.4 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4219, allocations: 3.953 kB / 444.4 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.691e-06/0.4219, allocations: 0 / 444.4 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-06/0.4219, allocations: 0 / 444.4 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.4225, allocations: 397.3 kB / 444.7 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.803e-05/0.4226, allocations: 26.58 kB / 444.8 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.4227, allocations: 8.922 kB / 444.8 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.4227, allocations: 0 / 444.8 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.4227, allocations: 34.52 kB / 444.8 MB, free: 7.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 4.098e-06/0.4228, allocations: 3.938 kB / 444.8 MB, free: 7.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002204/0.423, allocations: 77.17 kB / 444.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.423, allocations: 55.44 kB / 444.9 MB, free: 7.715 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.4246, allocations: 0.7355 MB / 445.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.4247, allocations: 29.7 kB / 445.7 MB, free: 6.938 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.4249, allocations: 238.5 kB / 445.9 MB, free: 6.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.425, allocations: 7.906 kB / 446 MB, free: 6.695 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-06/0.425, allocations: 0 / 446 MB, free: 6.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4251, allocations: 312.6 kB / 446.3 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.4252, allocations: 8 kB / 446.3 MB, free: 6.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.822e-05/0.4252, allocations: 0 / 446.3 MB, free: 6.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.4253, allocations: 12 kB / 446.3 MB, free: 6.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.032e-06/0.4253, allocations: 0 / 446.3 MB, free: 6.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001353/0.4254, allocations: 49.62 kB / 446.3 MB, free: 6.309 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.183e-05/0.4255, allocations: 33.7 kB / 446.4 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4255, allocations: 0 / 446.4 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4255, allocations: 3.953 kB / 446.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.4257, allocations: 7.984 kB / 446.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.457e-06/0.4257, allocations: 0 / 446.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.936e-05/0.4258, allocations: 4.141 kB / 446.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4258, allocations: 3.938 kB / 446.4 MB, free: 6.25 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 (3): * Single equations (assignments): 2 * 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.0001018/0.4259, allocations: 112.9 kB / 446.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.426, allocations: 39.52 kB / 446.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.4263, allocations: 96.78 kB / 446.6 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4263, allocations: 3.953 kB / 446.6 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.286e-06/0.4263, allocations: 0 / 446.6 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-06/0.4263, allocations: 4 kB / 446.6 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.4267, allocations: 294 kB / 446.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.4268, allocations: 3.938 kB / 446.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.4268, allocations: 12.03 kB / 446.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.92e-06/0.4268, allocations: 0 / 446.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.745e-06/0.4269, allocations: 0 / 446.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.188e-06/0.4269, allocations: 0 / 446.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.731e-06/0.4269, allocations: 3.984 kB / 446.9 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.4271, allocations: 175 kB / 447.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.4274, allocations: 156.6 kB / 447.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.4274, allocations: 4.031 kB / 447.3 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.4276, allocations: 7.938 kB / 447.3 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.4276, allocations: 0 / 447.3 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-06/0.4276, allocations: 0 / 447.3 MB, free: 5.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009019/0.4286, allocations: 0.5965 MB / 447.9 MB, free: 4.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.4286, allocations: 0 / 447.9 MB, free: 4.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004109/0.429, allocations: 55.95 kB / 447.9 MB, free: 4.621 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 (2): * Single equations (assignments): 2 * 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.0006997/0.4297, allocations: 219.5 kB / 448.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.4299, allocations: 67.41 kB / 448.2 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4299, allocations: 0 / 448.2 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.866e-05/0.4299, allocations: 8 kB / 448.2 MB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.4302, allocations: 14.09 kB / 448.2 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.4317, allocations: 0.7271 MB / 449 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.4324, allocations: 0.8185 MB / 449.8 MB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.4325, allocations: 19.44 kB / 449.8 MB, free: 2.703 MB / 378.7 MB Notification: Performance of SimCode: time 1.83e-06/0.4325, allocations: 0 / 449.8 MB, free: 2.703 MB / 378.7 MB Notification: Performance of Templates: time 0.009508/0.442, allocations: 3.649 MB / 453.4 MB, free: 15.05 MB / 394.7 MB