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.Test4.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.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 1.961/1.961, allocations: 209.4 MB / 217.3 MB, free: 4.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.597e-05/1.604e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2603, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.3732, allocations: 73.79 MB / 393.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.3734, allocations: 67.97 kB / 393.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01677/0.3902, allocations: 5.139 MB / 399 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.056e-06/0.3903, allocations: 0 / 399 MB, free: 1.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.3903, allocations: 4 kB / 399 MB, free: 1.438 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.0007193/0.391, allocations: 0.5649 MB / 399.6 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3911, allocations: 8.031 kB / 399.6 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.014e-05/0.3912, allocations: 47.44 kB / 399.6 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005636/0.3918, allocations: 323.3 kB / 399.9 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3918, allocations: 4 kB / 399.9 MB, free: 416 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.3918, allocations: 0 / 399.9 MB, free: 416 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.966e-05/0.3919, allocations: 16 kB / 400 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.769e-05/0.392, allocations: 41.69 kB / 400 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3921, allocations: 0 / 400 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3921, allocations: 0 / 400 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.46e-06/0.3921, allocations: 3.984 kB / 400 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006681/0.3928, allocations: 409.2 kB / 400.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.393, allocations: 34.58 kB / 400.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.393, allocations: 12.95 kB / 400.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3931, allocations: 7.922 kB / 400.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3931, allocations: 30.56 kB / 400.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.171e-06/0.3931, allocations: 4 kB / 400.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005325/0.3936, allocations: 180.1 kB / 400.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3937, allocations: 55.41 kB / 400.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.3953, allocations: 0.7355 MB / 401.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.3953, allocations: 25.7 kB / 401.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.3956, allocations: 238.4 kB / 401.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.3956, allocations: 19.8 kB / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-06/0.3956, allocations: 4 kB / 401.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3958, allocations: 310.8 kB / 402 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.524e-05/0.3958, allocations: 12 kB / 402.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.403e-05/0.3959, allocations: 12 kB / 402.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.406e-05/0.3959, allocations: 12.19 kB / 402.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.396, allocations: 0 / 402.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001675/0.3961, allocations: 69.62 kB / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.3962, allocations: 32.05 kB / 402.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3962, allocations: 0 / 402.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3962, allocations: 0 / 402.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3964, allocations: 19.98 kB / 402.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.335e-06/0.3964, allocations: 0 / 402.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3965, allocations: 15.94 kB / 402.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3965, allocations: 0 / 402.2 MB, free: 14.02 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 9.089e-05/0.3966, allocations: 108.9 kB / 402.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.3967, allocations: 35.53 kB / 402.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.397, allocations: 125.1 kB / 402.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.021e-06/0.397, allocations: 0 / 402.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.395e-06/0.397, allocations: 0 / 402.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3971, allocations: 0 / 402.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000903/0.398, allocations: 0.5302 MB / 403 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.321e-06/0.398, allocations: 3.984 kB / 403 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.56e-05/0.3981, allocations: 12 kB / 403 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.628e-06/0.3981, allocations: 0 / 403 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3981, allocations: 4 kB / 403 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.508e-06/0.3981, allocations: 3.938 kB / 403 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3981, allocations: 0 / 403 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.3984, allocations: 195.2 kB / 403.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.3987, allocations: 164.5 kB / 403.4 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.3987, allocations: 4 kB / 403.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.3989, allocations: 7.984 kB / 403.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.399, allocations: 4 kB / 403.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-06/0.399, allocations: 4 kB / 403.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009105/0.3999, allocations: 0.6003 MB / 404 MB, free: 12.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.33e-07/0.3999, allocations: 0 / 404 MB, free: 12.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004106/0.4003, allocations: 51.94 kB / 404.1 MB, free: 12.09 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.0006225/0.401, allocations: 212.2 kB / 404.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.4012, allocations: 91.33 kB / 404.3 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.77e-06/0.4012, allocations: 0 / 404.3 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.752e-05/0.4013, allocations: 16 kB / 404.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.4015, allocations: 18.03 kB / 404.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.403, allocations: 0.7289 MB / 405.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.4036, allocations: 0.8263 MB / 405.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.34e-05/0.4037, allocations: 23.44 kB / 406 MB, free: 10.14 MB / 346.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4038, allocations: 0 / 406 MB, free: 10.14 MB / 346.7 MB Notification: Performance of Templates: time 0.009678/0.4134, allocations: 3.896 MB / 409.9 MB, free: 6.238 MB / 346.7 MB