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.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y|combiTable2D1DT.y|clock1.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.935/1.935, allocations: 209.4 MB / 217.3 MB, free: 4.145 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.816e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2636, allocations: 48.7 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.3771, allocations: 75.08 MB / 395.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.3774, allocations: 63.97 kB / 395.2 MB, free: 5.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0244/0.4018, allocations: 6.195 MB / 401.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.935e-06/0.4018, allocations: 0 / 401.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.927e-05/0.4019, allocations: 4 kB / 401.4 MB, free: 15.09 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008604/0.4027, allocations: 0.6815 MB / 402 MB, free: 14.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4028, allocations: 8.031 kB / 402 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.659e-05/0.4029, allocations: 43.48 kB / 402.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.4034, allocations: 288.1 kB / 402.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.4035, allocations: 7.984 kB / 402.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.4035, allocations: 11.94 kB / 402.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001835/0.4037, allocations: 52 kB / 402.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.4039, allocations: 98.62 kB / 402.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.404, allocations: 7.906 kB / 402.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.404, allocations: 0 / 402.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.814e-06/0.404, allocations: 4 kB / 402.5 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.4048, allocations: 432.9 kB / 403 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.405, allocations: 90.5 kB / 403.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.805e-05/0.4051, allocations: 28.86 kB / 403.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.4052, allocations: 3.984 kB / 403.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.4052, allocations: 38.56 kB / 403.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.598e-06/0.4052, allocations: 0 / 403.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009755/0.4062, allocations: 303.3 kB / 403.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.4063, allocations: 51.41 kB / 403.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.4069, allocations: 410.2 kB / 403.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.4069, allocations: 25.7 kB / 403.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.4071, allocations: 222.9 kB / 404.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/0.4072, allocations: 55.11 kB / 404.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.4072, allocations: 0 / 404.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4074, allocations: 322.8 kB / 404.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.4075, allocations: 48.36 kB / 404.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.4076, allocations: 44.56 kB / 404.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.4078, allocations: 60.48 kB / 404.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.14e-06/0.4078, allocations: 0 / 404.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003876/0.4082, allocations: 171.5 kB / 404.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.4083, allocations: 140.5 kB / 404.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4083, allocations: 4 kB / 404.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.4084, allocations: 0 / 404.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.4086, allocations: 31.98 kB / 405 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.418e-06/0.4086, allocations: 4 kB / 405 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.4087, allocations: 4 kB / 405 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.4088, allocations: 15.98 kB / 405 MB, free: 11.2 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0001076/0.4089, allocations: 120 kB / 405.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.409, allocations: 31.62 kB / 405.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005076/0.4095, allocations: 208.6 kB / 405.4 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.764e-06/0.4095, allocations: 0 / 405.4 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.522e-06/0.4096, allocations: 0 / 405.4 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.379e-06/0.4096, allocations: 7.922 kB / 405.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.4106, allocations: 0.5808 MB / 405.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.41e-06/0.4106, allocations: 0 / 405.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.4108, allocations: 39.92 kB / 406 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.4108, allocations: 0 / 406 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4108, allocations: 3.984 kB / 406 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.79e-06/0.4109, allocations: 8 kB / 406 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.502e-06/0.4109, allocations: 0 / 406 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.4113, allocations: 264.7 kB / 406.2 MB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.4115, allocations: 124.7 kB / 406.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.4115, allocations: 0 / 406.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.4117, allocations: 7.984 kB / 406.4 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.4117, allocations: 19.92 kB / 406.4 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.4118, allocations: 8 kB / 406.4 MB, free: 9.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004631/0.4122, allocations: 316.5 kB / 406.7 MB, free: 9.387 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.4123, allocations: 0 / 406.7 MB, free: 9.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004938/0.4128, allocations: 95.7 kB / 406.8 MB, free: 9.293 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 (17): * Single equations (assignments): 17 * 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.001563/0.4143, allocations: 0.4983 MB / 407.3 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.4148, allocations: 389 kB / 407.7 MB, free: 8.426 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.693e-06/0.4149, allocations: 4 kB / 407.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.415, allocations: 63.92 kB / 407.8 MB, free: 8.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.4154, allocations: 30.62 kB / 407.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.4165, allocations: 499.8 kB / 408.3 MB, free: 7.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.417, allocations: 0.7904 MB / 409.1 MB, free: 7.004 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.4171, allocations: 23.44 kB / 409.1 MB, free: 6.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.654e-06/0.4172, allocations: 0 / 409.1 MB, free: 6.98 MB / 346.7 MB Notification: Performance of Templates: time 0.008619/0.4258, allocations: 4.108 MB / 413.2 MB, free: 2.867 MB / 346.7 MB