Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y|combiTable2D1DT.y|clock1.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.195/2.195, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005934/0.0005936, allocations: 8 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4291, allocations: 48.7 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.5824, allocations: 75.51 MB / 407.3 MB, free: 2.934 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.5827, allocations: 75.91 kB / 407.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02335/0.6061, allocations: 5.267 MB / 412.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6062, allocations: 0 / 412.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.545e-05/0.6062, allocations: 11.94 kB / 412.7 MB, free: 13.58 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009746/0.6072, allocations: 0.677 MB / 413.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.6073, allocations: 8.031 kB / 413.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.6074, allocations: 35.62 kB / 413.4 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005729/0.608, allocations: 294.9 kB / 413.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.608, allocations: 8 kB / 413.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.608, allocations: 12 kB / 413.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.6083, allocations: 81.66 kB / 413.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6084, allocations: 0 / 413.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.6084, allocations: 4 kB / 413.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6084, allocations: 0 / 413.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.6087, allocations: 51.97 kB / 413.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000767/0.6094, allocations: 428.5 kB / 414.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.6097, allocations: 62.5 kB / 414.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.6097, allocations: 4 kB / 414.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.6098, allocations: 34.69 kB / 414.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.6098, allocations: 4 kB / 414.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005272/0.6103, allocations: 133.3 kB / 414.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.6104, allocations: 59.36 kB / 414.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008128/0.6112, allocations: 457.7 kB / 415 MB, free: 11.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.6112, allocations: 29.7 kB / 415 MB, free: 11.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.6114, allocations: 214.3 kB / 415.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.6115, allocations: 23.75 kB / 415.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.6115, allocations: 7.875 kB / 415.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6116, allocations: 318.8 kB / 415.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.6118, allocations: 27.98 kB / 415.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.6119, allocations: 27.97 kB / 415.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.6122, allocations: 160.5 kB / 415.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6122, allocations: 3.938 kB / 415.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004519/0.6126, allocations: 246.1 kB / 416 MB, free: 9.922 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.6128, allocations: 144.4 kB / 416.2 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.6128, allocations: 0 / 416.2 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.6128, allocations: 4 kB / 416.2 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.613, allocations: 12 kB / 416.2 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.613, allocations: 3.953 kB / 416.2 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.6132, allocations: 7.938 kB / 416.2 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.6132, allocations: 15.92 kB / 416.2 MB, free: 9.707 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 (11): * Single equations (assignments): 6 * 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.0002488/0.6135, allocations: 154.4 kB / 416.3 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/0.6136, allocations: 31.61 kB / 416.4 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.6141, allocations: 128.4 kB / 416.5 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.6141, allocations: 4 kB / 416.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6141, allocations: 0 / 416.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.6141, allocations: 11.94 kB / 416.5 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.6145, allocations: 261.5 kB / 416.8 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6146, allocations: 0 / 416.8 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.6147, allocations: 19.86 kB / 416.8 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6147, allocations: 4 kB / 416.8 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.6147, allocations: 4 kB / 416.8 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.6147, allocations: 0 / 416.8 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6148, allocations: 0 / 416.8 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.6152, allocations: 211.1 kB / 417 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.6153, allocations: 116.8 kB / 417.1 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.6154, allocations: 4.375 kB / 417.1 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.6155, allocations: 11.98 kB / 417.1 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.6156, allocations: 4 kB / 417.1 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.6156, allocations: 4 kB / 417.1 MB, free: 8.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005976/0.6162, allocations: 339.1 kB / 417.5 MB, free: 8.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6162, allocations: 4 kB / 417.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004351/0.6167, allocations: 63.78 kB / 417.5 MB, free: 8.254 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 (6): * Single equations (assignments): 6 * 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.001216/0.6179, allocations: 442.4 kB / 418 MB, free: 7.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005065/0.6184, allocations: 333 kB / 418.3 MB, free: 7.516 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6185, allocations: 0 / 418.3 MB, free: 7.516 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.6186, allocations: 35.92 kB / 418.3 MB, free: 7.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.619, allocations: 37.36 kB / 418.4 MB, free: 7.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.6204, allocations: 0.5845 MB / 419 MB, free: 6.828 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.6208, allocations: 0.7709 MB / 419.7 MB, free: 6.031 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.621, allocations: 23.44 kB / 419.7 MB, free: 6.008 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.621, allocations: 0 / 419.7 MB, free: 6.008 MB / 346.7 MB Notification: Performance of Templates: time 0.008561/0.6295, allocations: 3.116 MB / 422.9 MB, free: 2.895 MB / 346.7 MB