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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.951/1.951, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.043e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.331, allocations: 48.69 MB / 320 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.4459, allocations: 74.95 MB / 395 MB, free: 5.516 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.4462, allocations: 67.97 kB / 395 MB, free: 5.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02449/0.4707, allocations: 6.05 MB / 401.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4707, allocations: 0 / 401.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.147e-05/0.4708, allocations: 8 kB / 401.1 MB, free: 15.39 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.0008822/0.4717, allocations: 0.677 MB / 401.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4717, allocations: 12.03 kB / 401.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.4718, allocations: 39.48 kB / 401.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.4724, allocations: 292.1 kB / 402.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.4724, allocations: 11.94 kB / 402.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.4725, allocations: 8 kB / 402.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001908/0.4727, allocations: 56 kB / 402.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.4729, allocations: 94.62 kB / 402.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.4729, allocations: 3.906 kB / 402.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.473, allocations: 0 / 402.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.594e-06/0.473, allocations: 7.938 kB / 402.3 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.4738, allocations: 440.9 kB / 402.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.474, allocations: 78.56 kB / 402.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.699e-05/0.474, allocations: 28.86 kB / 402.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.4741, allocations: 7.984 kB / 402.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.4741, allocations: 34.55 kB / 402.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.543e-06/0.4741, allocations: 4 kB / 402.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009496/0.4751, allocations: 299.3 kB / 403.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.4752, allocations: 55.41 kB / 403.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.4758, allocations: 402.2 kB / 403.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.4758, allocations: 29.7 kB / 403.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.476, allocations: 214.9 kB / 403.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/0.4761, allocations: 63.05 kB / 403.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-06/0.4761, allocations: 4 kB / 403.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4763, allocations: 322.8 kB / 404.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.4764, allocations: 44.36 kB / 404.3 MB, free: 12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.4766, allocations: 48.56 kB / 404.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.4767, allocations: 56.67 kB / 404.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.4767, allocations: 0 / 404.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003923/0.4771, allocations: 167.6 kB / 404.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.4773, allocations: 144.5 kB / 404.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.644e-06/0.4773, allocations: 0 / 404.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4773, allocations: 0 / 404.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.4775, allocations: 39.92 kB / 404.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.549e-06/0.4775, allocations: 4 kB / 404.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.4777, allocations: 7.984 kB / 404.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.4777, allocations: 11.98 kB / 404.7 MB, free: 11.5 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.0001041/0.4778, allocations: 108.9 kB / 404.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/0.4779, allocations: 31.62 kB / 404.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.4785, allocations: 216.6 kB / 405.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.4785, allocations: 3.984 kB / 405.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4785, allocations: 3.938 kB / 405.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.972e-06/0.4785, allocations: 3.984 kB / 405.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.4796, allocations: 0.5808 MB / 405.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.422e-06/0.4796, allocations: 8 kB / 405.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.4798, allocations: 31.98 kB / 405.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.725e-06/0.4798, allocations: 0 / 405.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.4799, allocations: 7.984 kB / 405.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.931e-06/0.4799, allocations: 0 / 405.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.532e-06/0.4799, allocations: 0 / 405.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.4803, allocations: 268.7 kB / 406 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.4805, allocations: 124.7 kB / 406.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.4806, allocations: 7.984 kB / 406.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.4807, allocations: 4 kB / 406.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.4808, allocations: 15.98 kB / 406.1 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.4808, allocations: 4 kB / 406.1 MB, free: 9.992 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000473/0.4813, allocations: 316.5 kB / 406.4 MB, free: 9.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.5e-07/0.4813, allocations: 0 / 406.4 MB, free: 9.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000513/0.4818, allocations: 95.7 kB / 406.5 MB, free: 9.59 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.001577/0.4834, allocations: 0.5009 MB / 407 MB, free: 9.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005378/0.484, allocations: 397 kB / 407.4 MB, free: 8.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.11e-06/0.484, allocations: 0 / 407.4 MB, free: 8.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.4841, allocations: 63.92 kB / 407.5 MB, free: 8.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.4845, allocations: 30.61 kB / 407.5 MB, free: 8.617 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.4856, allocations: 499.8 kB / 408 MB, free: 8.105 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.4862, allocations: 0.7865 MB / 408.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.4863, allocations: 27.44 kB / 408.8 MB, free: 7.266 MB / 346.7 MB Notification: Performance of SimCode: time 1.887e-06/0.4863, allocations: 0 / 408.8 MB, free: 7.266 MB / 346.7 MB Notification: Performance of Templates: time 0.008481/0.4948, allocations: 4.099 MB / 412.9 MB, free: 3.164 MB / 346.7 MB