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.CombiTable1D.Test5.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.CombiTable1D.Test5,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.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.166/2.166, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.144e-05, allocations: 7.938 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2876, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.4627, allocations: 80.23 MB / 438.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.463, allocations: 67.95 kB / 438.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01342/0.4764, allocations: 3.159 MB / 441.5 MB, free: 11.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4764, allocations: 0 / 441.5 MB, free: 11.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.4765, allocations: 4 kB / 441.5 MB, free: 11.37 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.000494/0.477, allocations: 415.9 kB / 441.9 MB, free: 10.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.477, allocations: 8.031 kB / 441.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.4771, allocations: 15.86 kB / 441.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.4774, allocations: 194.9 kB / 442.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.4774, allocations: 0 / 442.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.4775, allocations: 0 / 442.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.725e-05/0.4776, allocations: 16 kB / 442.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.188e-05/0.4777, allocations: 37.69 kB / 442.2 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4777, allocations: 8 kB / 442.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.264e-06/0.4777, allocations: 3.938 kB / 442.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.657e-06/0.4777, allocations: 3.953 kB / 442.2 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.4782, allocations: 265.4 kB / 442.4 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.4784, allocations: 42.5 kB / 442.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.4785, allocations: 16.86 kB / 442.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.4785, allocations: 0 / 442.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.4785, allocations: 36.45 kB / 442.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.889e-06/0.4786, allocations: 0 / 442.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004862/0.479, allocations: 117.2 kB / 442.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.4791, allocations: 55.41 kB / 442.7 MB, free: 9.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.4794, allocations: 185.3 kB / 442.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4794, allocations: 33.69 kB / 442.9 MB, free: 9.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.4796, allocations: 166.5 kB / 443.1 MB, free: 9.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.4796, allocations: 15.75 kB / 443.1 MB, free: 9.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-06/0.4796, allocations: 0 / 443.1 MB, free: 9.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4798, allocations: 310.8 kB / 443.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.4798, allocations: 19.98 kB / 443.4 MB, free: 9.246 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.4799, allocations: 12 kB / 443.4 MB, free: 9.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/0.48, allocations: 15.94 kB / 443.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-06/0.48, allocations: 0 / 443.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001672/0.4801, allocations: 73.67 kB / 443.5 MB, free: 9.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.4802, allocations: 29.7 kB / 443.6 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.793e-06/0.4802, allocations: 144 / 443.6 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4802, allocations: 4 kB / 443.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4803, allocations: 16.19 kB / 443.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.665e-06/0.4804, allocations: 7.984 kB / 443.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.734e-05/0.4804, allocations: 8 kB / 443.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.4805, allocations: 0 / 443.6 MB, free: 9.07 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.945e-05/0.4806, allocations: 109 kB / 443.7 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.4806, allocations: 7.906 kB / 443.7 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.4809, allocations: 89.86 kB / 443.8 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.225e-06/0.4809, allocations: 0 / 443.8 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4809, allocations: 3.953 kB / 443.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.652e-06/0.4809, allocations: 0 / 443.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.4814, allocations: 339.1 kB / 444.1 MB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-06/0.4814, allocations: 4 kB / 444.1 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.2e-05/0.4815, allocations: 15.94 kB / 444.1 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.136e-06/0.4816, allocations: 7.922 kB / 444.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.538e-06/0.4816, allocations: 0 / 444.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.951e-06/0.4816, allocations: 3.953 kB / 444.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4816, allocations: 0 / 444.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.4818, allocations: 159.5 kB / 444.3 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.4819, allocations: 89.02 kB / 444.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.482, allocations: 11.98 kB / 444.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4821, allocations: 4 kB / 444.4 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.4821, allocations: 3.953 kB / 444.4 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.4822, allocations: 4 kB / 444.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001812/0.4823, allocations: 155.2 kB / 444.6 MB, free: 7.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.4824, allocations: 0 / 444.6 MB, free: 7.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003394/0.4827, allocations: 16 kB / 444.6 MB, free: 7.977 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.0008305/0.4835, allocations: 268.2 kB / 444.9 MB, free: 7.742 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.4838, allocations: 87.41 kB / 444.9 MB, free: 7.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.071e-06/0.4838, allocations: 0 / 444.9 MB, free: 7.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.4838, allocations: 19.98 kB / 445 MB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.4841, allocations: 8 kB / 445 MB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.4846, allocations: 201.8 kB / 445.2 MB, free: 7.391 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.4851, allocations: 0.708 MB / 445.9 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.4851, allocations: 15.44 kB / 445.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of SimCode: time 1.826e-06/0.4851, allocations: 0 / 445.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of Templates: time 0.003982/0.4891, allocations: 1.405 MB / 447.3 MB, free: 5.238 MB / 378.7 MB