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.Test8.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadModel(ModelicaTest): time 1.867/1.867, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004402, allocations: 11.98 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2876, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.4006, allocations: 74.42 MB / 405.7 MB, free: 3.992 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.4008, allocations: 67.97 kB / 405.8 MB, free: 3.926 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01636/0.4172, allocations: 5.052 MB / 410.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4173, allocations: 0 / 410.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.356e-05/0.4173, allocations: 12 kB / 410.8 MB, free: 14.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008315/0.4181, allocations: 0.6238 MB / 411.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4182, allocations: 8.031 kB / 411.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.297e-05/0.4183, allocations: 43.44 kB / 411.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.4189, allocations: 327.3 kB / 411.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.4189, allocations: 0 / 411.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.4189, allocations: 7.938 kB / 411.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.4191, allocations: 49.69 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.4191, allocations: 0 / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.4192, allocations: 4 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-06/0.4192, allocations: 0 / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.4193, allocations: 23.98 kB / 411.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007519/0.4201, allocations: 424.7 kB / 412.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.4202, allocations: 30.58 kB / 412.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.4202, allocations: 0 / 412.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.4203, allocations: 34.61 kB / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.622e-06/0.4203, allocations: 4 kB / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003479/0.4206, allocations: 101.2 kB / 412.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.4207, allocations: 51.41 kB / 412.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.4224, allocations: 0.7706 MB / 413.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.4224, allocations: 25.7 kB / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.4227, allocations: 234.5 kB / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.4227, allocations: 11.84 kB / 413.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-06/0.4227, allocations: 0 / 413.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4229, allocations: 318.9 kB / 413.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.423, allocations: 8 kB / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-05/0.4231, allocations: 19.92 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.356e-05/0.4232, allocations: 41.69 kB / 414 MB, free: 11.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-06/0.4232, allocations: 0 / 414 MB, free: 11.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000227/0.4234, allocations: 87.39 kB / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.4235, allocations: 29.7 kB / 414.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.827e-06/0.4235, allocations: 0 / 414.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/0.4235, allocations: 4 kB / 414.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.4236, allocations: 15.92 kB / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4237, allocations: 0 / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.4238, allocations: 7.906 kB / 414.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.4238, allocations: 0 / 414.1 MB, free: 11.35 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * 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 0.0002807/0.4241, allocations: 221.7 kB / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.4242, allocations: 35.53 kB / 414.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.4245, allocations: 100.5 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-06/0.4245, allocations: 4.141 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.128e-06/0.4245, allocations: 0 / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.356e-06/0.4246, allocations: 7.922 kB / 414.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.425, allocations: 317.4 kB / 414.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-06/0.425, allocations: 0 / 414.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.4251, allocations: 15.95 kB / 414.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.4251, allocations: 0 / 414.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-06/0.4251, allocations: 0 / 414.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.126e-06/0.4251, allocations: 0 / 414.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.896e-06/0.4252, allocations: 4 kB / 414.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.4255, allocations: 191 kB / 415 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.4257, allocations: 160.5 kB / 415.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.4258, allocations: 0 / 415.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.4259, allocations: 4 kB / 415.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.426, allocations: 3.984 kB / 415.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-06/0.426, allocations: 0 / 415.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009857/0.427, allocations: 0.6237 MB / 415.8 MB, free: 9.582 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.427, allocations: 0 / 415.8 MB, free: 9.582 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004026/0.4274, allocations: 44 kB / 415.8 MB, free: 9.539 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006633/0.4281, allocations: 221.2 kB / 416 MB, free: 9.352 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.4283, allocations: 83.33 kB / 416.1 MB, free: 9.258 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.782e-06/0.4283, allocations: 4 kB / 416.1 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.4284, allocations: 11.98 kB / 416.1 MB, free: 9.242 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.4287, allocations: 19.48 kB / 416.1 MB, free: 9.227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.4305, allocations: 0.9047 MB / 417 MB, free: 8.289 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.4311, allocations: 0.8223 MB / 417.9 MB, free: 7.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.4312, allocations: 19.69 kB / 417.9 MB, free: 7.422 MB / 346.7 MB Notification: Performance of SimCode: time 1.68e-06/0.4312, allocations: 0 / 417.9 MB, free: 7.422 MB / 346.7 MB Notification: Performance of Templates: time 0.009707/0.4409, allocations: 3.68 MB / 421.6 MB, free: 3.73 MB / 346.7 MB