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.CombiTable2D.Test2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.942/1.942, allocations: 209.4 MB / 217.3 MB, free: 4.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.915e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3083, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4228, allocations: 73.82 MB / 393.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4231, allocations: 75.89 kB / 393.9 MB, free: 6.551 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01723/0.4404, allocations: 5.229 MB / 399.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4404, allocations: 0 / 399.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.379e-05/0.4404, allocations: 4 kB / 399.1 MB, free: 1.305 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007152/0.4412, allocations: 0.5693 MB / 399.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4412, allocations: 8.031 kB / 399.7 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.4413, allocations: 43.44 kB / 399.8 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.4419, allocations: 323.3 kB / 400.1 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4419, allocations: 0 / 400.1 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.4419, allocations: 4 kB / 400.1 MB, free: 276 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.114e-05/0.442, allocations: 12 kB / 400.1 MB, free: 264 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.78e-05/0.4421, allocations: 45.62 kB / 400.1 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4422, allocations: 3.938 kB / 400.1 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-06/0.4422, allocations: 0 / 400.1 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-06/0.4422, allocations: 8 kB / 400.1 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006758/0.4429, allocations: 401.2 kB / 400.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.4431, allocations: 30.58 kB / 400.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.4431, allocations: 12.86 kB / 400.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.4432, allocations: 7.969 kB / 400.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.4432, allocations: 42.55 kB / 400.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.245e-06/0.4432, allocations: 0 / 400.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005396/0.4438, allocations: 176.1 kB / 400.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.4438, allocations: 51.41 kB / 400.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.4454, allocations: 0.7355 MB / 401.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.4455, allocations: 29.64 kB / 401.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.4457, allocations: 246.4 kB / 401.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.4457, allocations: 15.8 kB / 401.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.4457, allocations: 0 / 401.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4459, allocations: 314.8 kB / 402.2 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.446, allocations: 8 kB / 402.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.446, allocations: 12 kB / 402.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.4461, allocations: 12 kB / 402.2 MB, free: 14.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-06/0.4461, allocations: 0 / 402.2 MB, free: 14.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001595/0.4463, allocations: 61.69 kB / 402.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.4463, allocations: 29.7 kB / 402.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.507e-06/0.4463, allocations: 8 kB / 402.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4464, allocations: 0 / 402.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.4465, allocations: 15.98 kB / 402.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.635e-06/0.4465, allocations: 0 / 402.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.4466, allocations: 11.94 kB / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.4466, allocations: 4 kB / 402.3 MB, free: 13.89 MB / 346.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.911e-05/0.4467, allocations: 104.9 kB / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.4469, allocations: 43.53 kB / 402.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.4471, allocations: 113.2 kB / 402.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.111e-06/0.4472, allocations: 320 / 402.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4472, allocations: 4 kB / 402.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4472, allocations: 0 / 402.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009099/0.4481, allocations: 0.5341 MB / 403.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4481, allocations: 0 / 403.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.4482, allocations: 19.98 kB / 403.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.615e-06/0.4483, allocations: 0 / 403.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.4483, allocations: 0 / 403.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.357e-06/0.4483, allocations: 7.938 kB / 403.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4483, allocations: 0 / 403.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.4486, allocations: 195 kB / 403.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.4488, allocations: 160.5 kB / 403.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.4489, allocations: 0 / 403.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.449, allocations: 8 kB / 403.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.4491, allocations: 8.125 kB / 403.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-06/0.4491, allocations: 3.938 kB / 403.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008961/0.45, allocations: 0.6003 MB / 404.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.36e-07/0.45, allocations: 0 / 404.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004246/0.4505, allocations: 55.94 kB / 404.2 MB, free: 11.95 MB / 346.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.0006127/0.4511, allocations: 210 kB / 404.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.4513, allocations: 91.39 kB / 404.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.513e-06/0.4513, allocations: 0 / 404.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.632e-05/0.4514, allocations: 15.94 kB / 404.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.4517, allocations: 14.09 kB / 404.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.4531, allocations: 0.7327 MB / 405.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.4537, allocations: 0.834 MB / 406.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.4538, allocations: 19.44 kB / 406.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.685e-06/0.4539, allocations: 4 kB / 406.1 MB, free: 10 MB / 346.7 MB Notification: Performance of Templates: time 0.009836/0.4637, allocations: 3.891 MB / 410 MB, free: 6.102 MB / 346.7 MB